Thread: Calculate Time
View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Calculate Time

since she used Text function to produce the results in H2:H9, using a
straight sum function will only return zero. I showed how to use sumproduct
to convert them to summable values.

--
Regards,
Tom Ogilvy

"FxM" wrote in message
...
Hi Tamara,

=TEXT( XXX , "hh:mm:ss") is only a way to show differently XXX.
In first case, XXX is a difference. In second, H2:H9 is a group of
cells. But what Excel needs to do with this group to give a result ?

You indicated to search for a total :
Does =TEXT(sum(H2:H9), "hh:mm:ss") answer your wish ?

@+
FxM



Tamara a écrit :
If this function works: =TEXT(F9-E9, "hh:mm:ss"), why doesn't this:
=TEXT(H2:H9, "hh:mm:ss")? I have a form enter start and end times. In
another column I use the first function above to calculate the elapsed
time. I would like to total that column in hh:mm:ss format. How do I
do this?


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!