Greetings,
I've used this forum for years, but just signed up.
I need help counting the number of staff within a time period. Unfortunately the schedule structure does not allow application of the simple solutions I've found regarding this which results in this being more complicated. My example is attached. My start and end time are in the same cell. I have used the Left() and Right() functions to manipulate the times. I am unable to count the number of occurrences of between the start/stop times of all my employees in the array. The formula also needs to take into account a manually entered time on the actual day.
Basically:
00:00 if F9:F42 = time is TRUE and I9:I42 = "" then count occurrences of 00:00 in scheduled times F9:F42 + if F9:F42 = time is FALSE, then if I9:I42 = time is TRUE then count occurrences of 00:00 in scheduled times I9:I42
01:00
02:00
"
"
Sorry this is confusing. Even when I think I've gotten close the midnight time crossover keeps throwing me off. Let me know how I can clarify. I'd be ecstatic if I could get this to work.
Thanks!
jpickralSchd_05_TEST.xlsx
Bookmarks