Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Time Data Conversion

Hello.

My time data is presented like this:

093004000
093005000

Which is hh:mm:ss.millisec

I would like to convert the data so that when I add or subtract the 2 values I get the actual time difference in hh:mm:ss.

In the example above, if I did (093005000
- 093005000) the result would be 00:00:01.

Thanks in advance.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Time Data Conversion

On Tuesday, October 2, 2012 12:36:30 PM UTC-4, (unknown) wrote:
Hello. My time data is presented like this: 093004000 093005000 Which is hh:mm:ss.millisec I would like to convert the data so that when I add or subtract the 2 values I get the actual time difference in hh:mm:ss. In the example above, if I did (093005000 - 093005000) the result would be 00:00:01. Thanks in advance.


Thanks. I think that worked. I found that when I took my data from the database and pasted into excel the time formating changed on me.

If the data pastes into excel like this:

Time1 Time2 Diff
93003000 93010000 00:00:07
103040000 113040000 01:00:00

Is there a way to get the result in the 'Diff' column ?

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
time conversion GAIDEN Excel Worksheet Functions 3 November 17th 08 03:00 AM
Time conversion aliya.pawaskar[_2_] Excel Discussion (Misc queries) 2 August 20th 08 01:54 PM
time conversion from a varying data dump James Excel Discussion (Misc queries) 3 April 24th 07 09:02 PM
Time conversion SteveTALL Excel Worksheet Functions 2 December 17th 05 07:16 PM
Time conversion Tom Ogilvy Excel Programming 0 January 4th 05 04:02 PM


All times are GMT +1. The time now is 02:34 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"