Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
carl
 
Posts: n/a
Default Converting Time Data

My time data comes in like so:

93555
93600

Difference of 5 seconds

103058
103101

Difference of 3 seconds

Is there a way to convert these trimes so that when they are subtracted, I
can get the correct difference ?

Thank you in advance.


  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

One way to convert those values into times is to use a helper cell:
=TIMEVALUE(TEXT(A1,"00\:00\:00"))
(format as time)

But you could do all the work in the subtraction formula, too:

=TIMEVALUE(TEXT(A2,"00\:00\:00"))-TIMEVALUE(TEXT(A1,"00\:00\:00"))
(format as time, too)

A2 held the later time.

carl wrote:

My time data comes in like so:

93555
93600

Difference of 5 seconds

103058
103101

Difference of 3 seconds

Is there a way to convert these trimes so that when they are subtracted, I
can get the correct difference ?

Thank you in advance.


--

Dave Peterson
  #3   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi Carl

If your data always has the latest time in the second cell, then with early
time in A1 and late time in A2
=RIGHT(A2,2)-RIGHT(A1,2)+60
works for me
--
Regards
Roger Govier
"carl" wrote in message
...
My time data comes in like so:

93555
93600

Difference of 5 seconds

103058
103101

Difference of 3 seconds

Is there a way to convert these trimes so that when they are subtracted, I
can get the correct difference ?

Thank you in advance.




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
Line Graph Data Recognition Nat Charts and Charting in Excel 2 April 30th 05 02:07 PM
How do I format cells and enter data to be valued for TIME and th. George Excel Worksheet Functions 1 April 11th 05 07:23 PM
move data to a single cell and at the same same time filter the da Ann Excel Discussion (Misc queries) 1 April 4th 05 02:47 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
Can't stop time duration [hh]:mm:ss converting to time of day Jack Cutrone Excel Discussion (Misc queries) 7 December 27th 04 11:23 PM


All times are GMT +1. The time now is 04:49 AM.

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"