Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Converting a decimal number into time
Would like to convert a decimal number into time. Data is supplied as follows:
22.4 46.6 111.8 123.8 Need to convert to [ss].00: :22.40 :46.60 :71.80 :83.80 Is there a formula I can use for this conversion? Thanks in advance! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Converting a decimal number into time
Hi!
Try this: =TIME(0,0,A1)+MOD(A1,1)/86000 Format as \:[ss].00 Not sure what the backslash is for. Excel adds it automatically. Biff "M.A.Tyler" <Great Lakes State wrote in message ... Would like to convert a decimal number into time. Data is supplied as follows: 22.4 46.6 111.8 123.8 Need to convert to [ss].00: :22.40 :46.60 :71.80 :83.80 Is there a formula I can use for this conversion? Thanks in advance! |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Converting a decimal number into time
Hold on there a second (no pun intended)!
22.4 46.6 111.8 123.8 Need to convert to [ss].00: :22.40 :46.60 :71.80 :83.80 How does 111.8 relate to :71.80 and 123.8 to :83.80 ? Biff "Biff" wrote in message ... Hi! Try this: =TIME(0,0,A1)+MOD(A1,1)/86000 Format as \:[ss].00 Not sure what the backslash is for. Excel adds it automatically. Biff "M.A.Tyler" <Great Lakes State wrote in message ... Would like to convert a decimal number into time. Data is supplied as follows: 22.4 46.6 111.8 123.8 Need to convert to [ss].00: :22.40 :46.60 :71.80 :83.80 Is there a formula I can use for this conversion? Thanks in advance! |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Converting a decimal number into time
"Biff" wrote in message
... Hold on there a second (no pun intended)! 22.4 46.6 111.8 123.8 Need to convert to [ss].00: :22.40 :46.60 :71.80 :83.80 How does 111.8 relate to :71.80 and 123.8 to :83.80 ? Biff How about: 1 minute 11.8 seconds = 71.80 seconds 1 minute 23.8 seconds = 83.80 seconds -- David Biddulph |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Converting a decimal number into time
Biff, David's answer to your question is correct. 111.8 is 1 minute, 11
seconds and 80/100's. Your formula gives an answer of :111.8 I really need :71.80. Or 1:11.8 then when I convert to [ss].00 I'll get :71.8. Thanks for your help! "Biff" wrote: Hold on there a second (no pun intended)! 22.4 46.6 111.8 123.8 Need to convert to [ss].00: :22.40 :46.60 :71.80 :83.80 How does 111.8 relate to :71.80 and 123.8 to :83.80 ? Biff "Biff" wrote in message ... Hi! Try this: =TIME(0,0,A1)+MOD(A1,1)/86000 Format as \:[ss].00 Not sure what the backslash is for. Excel adds it automatically. Biff "M.A.Tyler" <Great Lakes State wrote in message ... Would like to convert a decimal number into time. Data is supplied as follows: 22.4 46.6 111.8 123.8 Need to convert to [ss].00: :22.40 :46.60 :71.80 :83.80 Is there a formula I can use for this conversion? Thanks in advance! |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Converting a decimal number into time
"M.A.Tyler" <Great Lakes State wrote in message
... Biff, David's answer to your question is correct. 111.8 is 1 minute, 11 seconds and 80/100's. Your formula gives an answer of :111.8 I really need :71.80. Or 1:11.8 then when I convert to [ss].00 I'll get :71.8. In which case one could convert Biff's formula to: =TIME(0,0,60*INT(A1/100)+MOD(A1,100))+MOD(A1,1)/86000 -- David Biddulph |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
Converting a decimal number into time
How does 111.8 relate to :71.80 and 123.8 to :83.80 ?
How about: 1 minute 11.8 seconds = 71.80 seconds 1 minute 23.8 seconds = 83.80 seconds Ah, very sharp! Biff "David Biddulph" wrote in message ... "Biff" wrote in message ... Hold on there a second (no pun intended)! 22.4 46.6 111.8 123.8 Need to convert to [ss].00: :22.40 :46.60 :71.80 :83.80 How does 111.8 relate to :71.80 and 123.8 to :83.80 ? Biff How about: 1 minute 11.8 seconds = 71.80 seconds 1 minute 23.8 seconds = 83.80 seconds -- David Biddulph |
#8
Posted to microsoft.public.excel.misc
|
|||
|
|||
Converting a decimal number into time
Thank you Biff and David. Formula is working great, you were both very
helpful!! "David Biddulph" wrote: "M.A.Tyler" <Great Lakes State wrote in message ... Biff, David's answer to your question is correct. 111.8 is 1 minute, 11 seconds and 80/100's. Your formula gives an answer of :111.8 I really need :71.80. Or 1:11.8 then when I convert to [ss].00 I'll get :71.8. In which case one could convert Biff's formula to: =TIME(0,0,60*INT(A1/100)+MOD(A1,100))+MOD(A1,1)/86000 -- David Biddulph |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
time sheet drop down lists | Excel Discussion (Misc queries) | |||
Convert a number to a time | Excel Discussion (Misc queries) | |||
number returns only two decimal places after I change from text | Excel Discussion (Misc queries) | |||
Decimal time | Excel Worksheet Functions | |||
Keep number format after converting time to text | Excel Discussion (Misc queries) |