Forum Discussion

Ozyborn's avatar
Ozyborn
Copper Contributor
Jul 05, 2022
Solved

total time calculation

           A              B          C          D             E              F               G 306168 1 19 1:25pm 44 131.9 at 4:05pm 2hr 40 min yes 306168 10 20 ...
  • Riny_van_Eekelen's avatar
    Jul 05, 2022

    Ozyborn You need to use a slightly different formula to calculate the duration, allowing for a start time before midnight and an end time after midnight. 

     

    =end-start will result in a negative number that can not be represented in the [h]:mm format.

     

    Use =MOD(end-start,1) for all your calculation as it will give the correct answer in all situations.

     

    Attached a file with some examples.

Resources