Excel Using Functions
Greetings,
How can I average and range "hh:mm" in a column of date/times?
Thanks,
Eager to Learn
Software
Greetings,
How can I average and range "hh:mm" in a column of date/times?
Thanks,
Eager to Learn
by timwalsh
You won't be able to do it in the exact way you are trying to.
If I read a little into your question, you are using the data entered (in the format hh:mm) to mean time spent in a given activity or time taken for a given process to complete.
Excel does not recognize the data the same way. While the format is the exact same, Excell recognizes this as a time of day. As long as the data entered is <24:00, you can use the AVERAGE function and answer will come out correct. Any number greater than 24 confuces Excel as there are only 24 hours in a day.
Therefore I think you will need to change the format of your data. Either enter the data as a number of minutes (1:30 = 90) or as fractions of an hour (1:30 = 1.5). Format the cells as a normal number. Then the AVERAGE function will work properly.
Not sure what you mean by "range." If you mean rank (i.e. size relative to other values in the column), there is a RANK function whereby you specify the cell to be ranked, the range of cells to be included in the ranking (you must use absolute references for this to work properly when copying the formula into a range of cells), and sort order (ascending - 1 = smallest number; or descending - 1 = largest number).
Hope this answers your question.
by dklippert
Average does work, but format your cells as:
[hh]:mm
to allow for over 24 hours.
See:
www.cpearson.com/excel/datetime.htm#TOC
for more information on using dates in Excel
WOW! Thank you SO much for this bit of insight. It was most helpful. You just cannot imagine how long I have been trying to figure out how to effeciently use Excel's date/time function. You appear to be quite knowledgeable in this field. There have been a many of day when if it had not of been for you guys and the wonderful job that you do at TechRepublic, I would have lost my mind in this MS stuff.
My hat goes off to you for all that you know and share with others. May peace be with you and please continue to help those of us who need it.
Peace!
This discussion is closed to new replies.
Sort by Trending