try this
Format Time ON and Time OUT cells
this inserts ":" colon into your number (it will always remain a number that looks like time)
ie: when you input
800 it displays as 8:00
830 it displays as 8:30
etc
then copy down your required range
in E6 put the following formula and copy down
=IF(COUNT(B6,C6)=2,MAX(0,MIN(TEXT(C6,"00\:00")+(TEXT(B6,"00\:00")>TEXT(C6,"00\:00")))-MAX(TEXT(B6,"00\:00"))),"")
format as [h]:mm
I have noticed further down that you have the following formula
D259
=IF(G259<6/24,"SS",IF(G259>8.33/24,TIME(8,20,0),G259))
it still gives the required result
hope this helps you
Toonies
Bookmarks