Hi,
Hope you can help, I've been looking for a solution for a while.
So I've got a rota:
I have a string of dates in columns, row 1 & under those will be shifts and/or a code to indicate what that user is doing that day i.e. "Sick".
I need a formula that can be tacked onto the end of the rota in each row for 400+ rows (once per user so it cannot be too heavy) that displays the occurrences of these codes.
By occurrences I mean blocks of sickness, if the user was sick once in week 1 & then 3 days sick in week 2 that'll be 2 occurrences but 4 days sickness.
Example:
01/02/2016 Sick
02/02/2016 0700-1530
03/02/2016 0700-1530
04/02/2016 Sick
05/02/2016 Sick
06/02/2016 Sick
07/02/2016 0700-1530
08/02/2016 0700-1530
09/02/2016 0700-1530
10/02/2016 Sick
This user has 3 occurrences of being off sick, however they've had 5 sick days.
Thanks
Bookmarks