I have having an issue with calculating the difference between two times when there is a negative. I am trying to put together a departure schedule. If the scheduled departure time is 23:15 and the truck does not depart until 00:01 then the variance is 00:46. That means the truck left 46mins late. I figured out that formula. Now, if the truck leaves at 23:00 I get a calculation of 23:45, when I need it to display that the truck was early by 15 mins or -00:15.
d= the constant or the scheduled depart time (23:15)
e= the actual depart time (23:00)
f= the formula I am currently using is =E19-D19+IF(D19>E19,1)
I would really appreciate any help; maybe there is an easier way to do this?
d= the constant or the scheduled depart time (23:15)
e= the actual depart time (23:00)
f= the formula I am currently using is =E19-D19+IF(D19>E19,1)
I would really appreciate any help; maybe there is an easier way to do this?