I have a massive data file containing employee hours. They log specific charge numbers that determine the type of work they were doing/if they are absent
Since COVID hit, we have had more employees absent. This is a problem because some of them will have to get re-certified if they exceed a certain amount of absent days (including weekends).
There are around 10 different charge numbers that mean 'absent from facility'. Our task is to determine all the consecutive days that they charged any of those 10 numbers. As soon as an employee reaches 20 consecutive days, we would record it(doesn't really matter how/where we record the names, as long as we have a list of everyone who exceeds 20 days). If the employee shows up for at least one day, then the count would reset. The problem is that we don't log charge numbers for the weekends(Saturday and Sunday) and they have to be included in the count.
I am trying to do this in excel, but have no idea how to include the weekends, when there is no specific record for them. I'm an experienced programmer, I just have no idea where to start or what resources to look at to achieve this. Maybe excel might not be the right place to do this, but any direction is appreciated. (let me know if I am not clear, created an example file below)
Bookmarks