Chad,
Excel stores dates as integers, with December 31, 1899 as 0, incrementing 1 for every day since
then. So June 15, 2006 is actually stored as the number
38883. This allows dates to be subtracted, etc. Anyway, Excel stores times as fractions of a day:
take the time in military format, and divide by 24. So 10 AM is 10/24, or .416666666. Date/time
values are stored as decimal nubers, so 10 AM on June 15, 2006 is 38883.4166666666 Then Excel
formats these to show the date or time however you want.
So, if the value June 16, 2006 10:00 AM is in cell A1, using
=INT(A1) will return 38883 (just the date), and using
=A1-INT(A1) will return 0.4166666666 (just the time)
So my formula returns the average of just the times.... Format the cell with my formula as time, and
it will give you the average time as a time value....
HTH,
Bernie
MS Excel MVP
> Bernie Deitrick Wrote:
>> Chad,
[quoted text clipped - 17 lines]
>
> Chad
O.k. that makes sense and I have tested it out but there is still that
one flaw. Say for example
A1 = 11:30PM (driver come in at 11:30 at night)
A2 = 12:00AM (driver comes in a half hour later at 12:00 in the
morning)
The formula you suggested looks at this and says this is on the same
day. But in reality it is not no the same dam and the average between
the 2 should be 11:45PM. The formula you suggested works fine if the
drivers come in on the same day. But as soon as some one comes in past
the Mid-night mark it then throughs that time back into the same 24 hour
block as the rest of them. Did that make sense?

Signature
chadsxe