The Average function should recognize the time format and give you an answer in the same format. Using your example, [blue]=average(a1:a5)[/blue] returned an answer of 20:12 (which I manually verified as correct).
Hope this helps.
Tim
[blue]__________________________________________________
If you need immediate assistance, please raise your hand.[/blue]
It depends on what your data really look like. If the values are times, then the simple average formula will work:
[tt]
=AVERAGE(A1:A5)
[/tt]
But, if the data are text then an array formula may be what you need:
[tt]
=AVERAGE(TIMEVALUE(A1:A5))
[/tt]
An array formula is entered by Ctrl+Shift+Enter. When done correctly it will appear with curly braces in the formula window:
[tt]
{=AVERAGE(TIMEVALUE(A1:A5))}
[/tt]
But you do not type the curly braces. Let Excel put them in for you.
REAL TIME values are just NUMBERS. The UNITS of TIME is DAYS. Time is expressed in fractions of a day.
Right now in Texas, it is 3/30/2005 10:09, which has a Date/Time value of 38441.423: 38441 is the Date Value and .423 is the Time Value.
Skip,
[sub] [red]Be advised:[/red] When you ignite a firecracker in a bowl of vanilla, chocolate & strawberry ice cream, you get... Neopolitan Blownapart! [/sub]
A note on array formulas: if you enter the formula and later edit it, you will have to again use Ctrl+Shift+Enter (Excel doesn't "remember" the curly brackets, it seems.)
Tim
[blue]__________________________________________________
If you need immediate assistance, please raise your hand.[/blue]
Off to the right in an empty cell, type [1 copy that cell highlight the cells containing your 'times' right click, choose Paste Special
click the box beside multiply
press OK
Now the formula should work. You may need to reformat the cells (including the one with the formula) as time.
[tt]_____ -John
[/tt]Help us help you. Please read FAQ181-2886 before posting.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.