Hi All - somewhat of a newbie and I get most of my learnings reading forums to solve complex (to me) problems. I have been searching and cannot find a solution and most that I find or much more advanced than I am.
Based on a set of employee schedules, I have to figure out how many total hours are scheduled each hour. The shifts may cross midnight and they may not. The date is not relevant for this. I can figure out how to count number of employees in each hour of the day, but I would like to know how many 'hours' fall into each hour of the day.
Row 1 = hours of the day
Column A = Start Time
Column B = Stop Time
10:30p - 7a
5:00a - 1:30pm
10Pm hour should give me 30 minutes
11pm hour should give me 60 minutes
6am hour should give me 120 minutes
ETC...
I think I have a sourced a formula that will work but it only works for times that do not cross midnight, and even those results look incorrect but at least there is data.
Can this be done? What is the obvious that I am overlooking? Or am I overthinking this and it can be done simply by headcount in each hour?
Bookmarks