Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Note that while "6:00" is greater than "5:00" in a text comparison, "13:00"
is less than "5:00", as "1" comes before "5". Others have given other answers. -- David Biddulph "candros" wrote in message ... I'm working on a time card and have three shifts. The start and end time are formated to time, the cell with the formula is formated as [h]:mm, the formula I'm using is IF(TEXT(E16-D16,"h:mm")"5:00",H16-$G$1,TEXT(E16-D16,"h:mm")) this works for day's and afternoon shifts but will not work for the midnight shift from 10:30pm to 7:00am. I'm also calculating two different way's depending on if the shift is over 5 hours. What formula do I need to use to cover the midnight shift. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calculate the difference between two percentages | Excel Worksheet Functions | |||
'09:00AM trying to get remove the apostrophe | Excel Discussion (Misc queries) | |||
IS THERE A FORMULA TO MAKE E=6:00PM ETC SHIFT TIMES AND HOURS | Excel Worksheet Functions | |||
If a time is between 2:00PM and 11:00PM enter 1 otherwise blank | Excel Worksheet Functions | |||
Time formula 0600 = 11:00AM | Excel Discussion (Misc queries) |