Reputation: 44275
I have timespans that originated in SQL that look like:
--Almost 2 seconds pass each time
00:00:01.9277759
00:00:01.7708749
I formatted the column with a custom number format: [hh]:mm:ss.0
I tried to average the data: =AVERAGE(A1:A2)
or =(A1+A2)/2
Result: #DIV/0!
or #VALUE!
(respectively)
How can I average durations in excel?
Upvotes: 0
Views: 424
Reputation: 96753
With your data in A1 and A2 , etc. In B1 enter:
=--RIGHT(A1,9)
and copy down
Then:
=AVERAGE(B1:B2) will display 1.8493254
Upvotes: 2