If you have a workspan over a period of time, how do you know if the individual did work on a specific holiday or weekend?
You could use in cell 'K2' (and pull down) something like this:
Formula:
=IF(COUNTIFS('Weekends and Holidays'!$A$2:$A$20,">="&Time!A2,'Weekends and Holidays'!$A$2:$A$20,"<="&Time!C2)>0,"Yes","No")
This will tell you IF there is at least one of the listed public holidays in the time span for each row.
Or use the formula below to check how many holidays fall into the period;
Formula:
=COUNTIFS('Weekends and Holidays'!$A$2:$A$20,">="&Time!A2,'Weekends and Holidays'!$A$2:$A$20,"<="&Time!C2)
Bookmarks