Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Format time as decimal?

Is there a formula that will convert the time 5:40 to a decimal to 5.40?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default Format time as decimal?

Hi Roberta

Time is stored as fractions of a day (24 hours) so just multiply your
cell by 24 e.g =A1*24
Set cell Format to General
5:40 will give a result of 5.6667

--
Regards

Roger Govier


"Roberta" wrote in message
...
Is there a formula that will convert the time 5:40 to a decimal to
5.40?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Format time as decimal?

On Fri, 2 Mar 2007 09:58:35 -0800, Roberta
wrote:

Is there a formula that will convert the time 5:40 to a decimal to 5.40?



=DOLLARFR(A1*24,60)

Format the cell as Number with 2 decimals.

If you don't have, or want, the Analysis Tool Pak installed (see HELP for
DOLLARFR for instructions), then you could use:

=INT(A1*24)+MOD(A1*24,1)*60/100
--ron
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
How to convert decimal numbers to time format Paul Excel Worksheet Functions 2 December 5th 06 12:17 PM
Convert time format to a decimal Michele Excel Worksheet Functions 2 July 17th 06 07:54 PM
How do I convert time (38:30) to decimal (38.5) format? Lori Excel Worksheet Functions 4 November 9th 05 05:00 AM
Convert decimal hour into time format? ramdalen Excel Discussion (Misc queries) 2 June 20th 05 06:21 PM
Track time in HH:min.min(Decimal) format Garth Hales Excel Discussion (Misc queries) 3 February 16th 05 04:55 PM


All times are GMT +1. The time now is 05:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"