Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I average time (in text format)

I have a big problem.

I have calculated multiple time values using the following example:
=TEXT(B2-B1,"h:mm") where B2 and B1 are different time values

I get an answer like 0:16 (indicating 0hr and 16min) and 1:14 for example..

Here is my question. I have tried to average the answers (like the average
of 0:16 and 1:14) and I get #DIV/0 returned. It seems that I cannot use
theAVERAGE function to perform this because it does not recognize the values
0:16 and 1:14. I think it is because they are in TEXT format. Is this
correct?

If so is there any way that I can fix this? Because I have multiple values
over multiple worksheets and would like to average them all. It would be
extremely difficult and time consuming to use the VALUE function to change
all of the answers because I would have to do this to each answer
individually. A second question is, does anyone know how to apply the VALUE
function over multiple sheets.

Thanks so much
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How do I average time (in text format)

Maybe...
=b2-b1
but use a custom format of h:mm

or

=--TEXT(B2-B1,"h:mm")
and use a custom format of h:mm



Butterycolor wrote:

I have a big problem.

I have calculated multiple time values using the following example:
=TEXT(B2-B1,"h:mm") where B2 and B1 are different time values

I get an answer like 0:16 (indicating 0hr and 16min) and 1:14 for example..

Here is my question. I have tried to average the answers (like the average
of 0:16 and 1:14) and I get #DIV/0 returned. It seems that I cannot use
theAVERAGE function to perform this because it does not recognize the values
0:16 and 1:14. I think it is because they are in TEXT format. Is this
correct?

If so is there any way that I can fix this? Because I have multiple values
over multiple worksheets and would like to average them all. It would be
extremely difficult and time consuming to use the VALUE function to change
all of the answers because I would have to do this to each answer
individually. A second question is, does anyone know how to apply the VALUE
function over multiple sheets.

Thanks so much


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing time and text format Jamie Excel Worksheet Functions 4 December 26th 07 08:46 PM
Time Diff from text format JICDB Excel Worksheet Functions 8 March 5th 07 09:59 PM
Average Time Format Brento Excel Discussion (Misc queries) 2 March 27th 06 11:35 PM
How do I convert a time to text format. Rick Excel Discussion (Misc queries) 4 February 20th 06 11:02 PM
convert time imported as text to time format for calculations batfish Excel Worksheet Functions 3 October 27th 05 11:24 PM


All times are GMT +1. The time now is 07:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"