Sam Longstaff
Member
Hi,
I have an absence monitor spreadsheet that calculates the number of days that a person has been off work taking in to consideration any days they do not work. I had been tackling this by having a table of all Mon-Fri dates for a number of years (off days). Then for each part time staff member I would make a table that had the same number of columns as days of the week they don't work. This would then be populated via a lookup with the dates for these off days. This would then form the list of holiday dates when using a networkdays formula to calculate the number of work days off during a period of absence.
The issue with this is it a bit labour intensive as I have to make bespoke tables for each part time member of staff and then if they change the days they work I have to revisit it an amend accordingly. What I am aiming to have is a set template for my workbook that uses the same section in each staff members own worksheet to populate with off days that act as the [Holidays] list.
I am struggling with the array formula that would look up the staff info table (N.B. off days are zero in this table) and find the off day(s) for each staff member. Then once I have this I can use the position(s) to pull in the dates from the off days table.
Can anyone help please?
I have an absence monitor spreadsheet that calculates the number of days that a person has been off work taking in to consideration any days they do not work. I had been tackling this by having a table of all Mon-Fri dates for a number of years (off days). Then for each part time staff member I would make a table that had the same number of columns as days of the week they don't work. This would then be populated via a lookup with the dates for these off days. This would then form the list of holiday dates when using a networkdays formula to calculate the number of work days off during a period of absence.
The issue with this is it a bit labour intensive as I have to make bespoke tables for each part time member of staff and then if they change the days they work I have to revisit it an amend accordingly. What I am aiming to have is a set template for my workbook that uses the same section in each staff members own worksheet to populate with off days that act as the [Holidays] list.
I am struggling with the array formula that would look up the staff info table (N.B. off days are zero in this table) and find the off day(s) for each staff member. Then once I have this I can use the position(s) to pull in the dates from the off days table.
Can anyone help please?