Forum Discussion

Vijayvr's avatar
Vijayvr
Copper Contributor
Dec 06, 2023
Solved

Need formula to sum the total duration of hours spent by an employee in a training

Can any one give a formula to how to sum of all the below durations into consolidated duration in HH MM SS.   1h 41m 46s 38s 2h 3m 23s 2h 2m 45s 2h 43m 30s 3h 44m 10s 3h 15m 54s 14m 24s 3h ...
  • Patrick2788's avatar
    Patrick2788
    Dec 06, 2023

    Vijayvr 

    With Excel 2016, dynamic arrays and the newer text functions are not available. Unfortunately, Excel 2016 does not do elegance!

     

    It really depends on how much data you have but if I were you I'd fix the data up a bit first before using any formulas.

     

     

    Then use the ol' workhorse SUMPRODUCT:

    =SUMPRODUCT({3600,60,1},E7:G7)/3600

     

Resources