Hi
I need to work out how many staff I have on site per 15 minutes, problem i an having is when the clock ticks over midnight.
No need to worry about breaks as my staff are still on site.
So I have in column B start times, column C finish times and column F times running every 15 minutes: 07:00, 07:15 and so on.
In column G in line with column F times I have my formula: =SUMPRODUCT(($B$7:$B$20<=F18)*(MOD($C$7:$C$20-$B$7:$B$20,1)>MOD(($C$7:$C$20-TIME(,,1))-F18,1)))
Work great until midnight then nothing.
Any help here would be great.
Edit for now is all seems to be fine except I am loosing the last 15 minutes of the shift.
Thanks
Bookmarks