Looking for help with the following:-
i have the following formula which looks at a colleagues start and finish times and calculates how many hours he/she has worked within different time/pay brackets. The formula works as it should however if no times are entered into shift start and finish times it is still returning a number instead of blank.
i have uploaded the sheet for you to play around with.
example:-
=MAX((MIN($R$5+($R$5<$R$4),F5+(F5<=E5))-MAX($R$4,E5))*24,0) (this formula is in cell h5 - it looks at the shift band time zone within cells R4&R5 and then looks at the colleague start and finish times in cells E5&F5 then calculates how many hours colleague has worked between those times.)
as you can tell by the attached sheet, Tue through to Sat is displaying data in cells H,I&J (day,late&night prem) when it should be blank.
this appears to be something to do with the first part of the search in column R?
Thanks
Phil
Bookmarks