Hi
I'm using the formula below as part of a labour time sheet calculator
This particular formula gives me additional wrap overtime above and beyond the working day
C48 is the contracted hours in a day
E48 is an allowance that reduces wrap overtime
F48 is the start time
G48 is the finish time
K48 is an overtime payment that can reduced the wrap overtime if paid
Cells are formatted as 00\:00_-
Formula cell is formatted as hh:mm_-
=CEILING(TEXT(G48,"00\:00")-TEXT(F48+C48+E48,"00\:00")-K48/24,0.5/24),0)
The problem I'm having is that for certain values of F48 i get a #value error
(eg if the value is 12.30 no problem but if the value is 14.30 then i get the value error)
I should add that this is only happening because of night work when the start and finish times span midnight
I hope that all makes sense and that someone can help
I'm using the formula below as part of a labour time sheet calculator
This particular formula gives me additional wrap overtime above and beyond the working day
C48 is the contracted hours in a day
E48 is an allowance that reduces wrap overtime
F48 is the start time
G48 is the finish time
K48 is an overtime payment that can reduced the wrap overtime if paid
Cells are formatted as 00\:00_-
Formula cell is formatted as hh:mm_-
=CEILING(TEXT(G48,"00\:00")-TEXT(F48+C48+E48,"00\:00")-K48/24,0.5/24),0)
The problem I'm having is that for certain values of F48 i get a #value error
(eg if the value is 12.30 no problem but if the value is 14.30 then i get the value error)
I should add that this is only happening because of night work when the start and finish times span midnight
I hope that all makes sense and that someone can help