Here is an alternate way to treat the problem.
Time values where inserted at different dates in column B.
So, il we take care to display date & time, we may see that they are really different.
In B10 (footer row), the formula is =AVERAGE (B)
The result is perfectly correct but is not the one which you wished.
In cells of column C I inserted the formula :
=TIME(0,0,TIMEVALUE(B)
24*6060)
which normalize the date_time so that the date component is the same for every cells.
In C10 (footer row), the formula is =AVERAGE (C)
The result is perfectly correct and is the one which you wished.
To be complete, in column D I inserted the formula :
=TIMEVALUE(B)
In D10 (footer row), the formula is =AVERAGE (D)
The result is perfectly correct but I guess that at first read it's not clear.
So,
In column E I inserted again the formula :
=TIMEVALUE(B)
This time, in E10, the formula is:
=TIME(0,0,AVERAGE(E)
24*6060)
Of course, I choose to display the date component to be clear.
You may ask the cells to *display only the time component* but you must remember that the *date one always exists*.
My own tip is :
when a result upon date_time values is not the expected one, hurry up, *ask Numbers to display the date and the time components in the cells referenced by the formula*.
Yvan KOENIG (VALLAURIS, France) mercredi 31 mars 2010 09:57:44