سؤال

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?

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top