If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > time representation conversion

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-20-07, 13:12
Bartron Bartron is offline
Registered User
 
Join Date: Feb 2007
Location: The Farm
Posts: 35
time representation conversion

Is there a way to take 6:30 represented as a time and convert it to 6.5?

What I do is track my hours by having a start time and a stop time. Then the difference is stored and it will look like a time. I then want a function that will automatically take that time value and convert it into a decimal.

Thanks

Last edited by Bartron; 04-20-07 at 13:14. Reason: not well explained at first
Reply With Quote
  #2 (permalink)  
Old 04-23-07, 08:35
MikeTheBike MikeTheBike is offline
Registered User
 
Join Date: Apr 2004
Location: Derbyshire, UK
Posts: 714
Hi

I think we need a little more explanation on how 6:30 is entered/stored/displayed.

However, if the literal 6:30 is entered in, say, cell A1, then it is converted to a time (actual value 0.270833333333333) but displayed as 06:30.
If this is the case then in another cell type = A1*24 and format it as General or Number it displays as 6.5.

Is that any help at all ??



MTB
Reply With Quote
  #3 (permalink)  
Old 04-24-07, 10:03
Bartron Bartron is offline
Registered User
 
Join Date: Feb 2007
Location: The Farm
Posts: 35
Mike,

That is it exactly! You were a great help. Thanks.

Bartron
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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