Hello everyone,
I hope you can help, as I've exhausted both the limit of my knowledge of arrays, and endless searching to solve this.
I have created a major spreadsheet to track staff sickness absences (I have attached a very basic example here.) Counting the numbers of days is the easiest thing. I also need to capture the number of occurences within a year (so, if sick for an entire week, or fortnight, that's one occurrence - fairly standard Absence Management, I think.)
I've finally managed to get a formula that counts the number of occurences for full-time staff, and to ignore weekends that fall within a period of absence (i.e if someone is sickness on a Friday and trhe following Monday.) None of the staff works weekends. I've included that formula in the example.
The difficulty I face is that some staff have days within the week that they don't work, so cannot be included as a day sick. Some staff don't work Monday each week, some Thursday etc. There are a few that don't work for 2 days each week, and those days will also vary. I need the formula to ignore these days as it would the weekends but in addition to the weekends. I hope that makes sense.
I've also included a little matrix within the example that illustrates this. I have tried using this matrix to assist with the formula, but I'm failing.
I'm hoping someone may be able to help with a standard formula I can use without tailoring it for each person.
Many thanks
Steve
Bookmarks