Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Fred Holmes
 
Posts: n/a
Default Format a cell to display decimal hours.

How do I format a cell to display decimal hours?

Instead of displaying 3:45 (for 3 hours, 45 minutes), which is one of
the standard formats, I'd like to display 3.75 (hours). h.hh doesn't
do it.

The above is formatting for an elapsed time calculation (finish time
minus start time). (On a "time card")

Excel 2000. Will a later Excel do it for me?

Some good source for a parsing function?

Any good reference?

Thanks,

Fred Holmes
  #2   Report Post  
galimi
 
Posts: n/a
Default

Fred,

Format the cell in #.## format and multiply your result by 24.

http://HelpExcel.com

"Fred Holmes" wrote:

How do I format a cell to display decimal hours?

Instead of displaying 3:45 (for 3 hours, 45 minutes), which is one of
the standard formats, I'd like to display 3.75 (hours). h.hh doesn't
do it.

The above is formatting for an elapsed time calculation (finish time
minus start time). (On a "time card")

Excel 2000. Will a later Excel do it for me?

Some good source for a parsing function?

Any good reference?

Thanks,

Fred Holmes

  #3   Report Post  
Chip Pearson
 
Posts: n/a
Default

You can't do it with a format alone. You'll need to multiply the
time value by 24 and format as #0.00.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Fred Holmes" wrote in message
...
How do I format a cell to display decimal hours?

Instead of displaying 3:45 (for 3 hours, 45 minutes), which is
one of
the standard formats, I'd like to display 3.75 (hours). h.hh
doesn't
do it.

The above is formatting for an elapsed time calculation (finish
time
minus start time). (On a "time card")

Excel 2000. Will a later Excel do it for me?

Some good source for a parsing function?

Any good reference?

Thanks,

Fred Holmes



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
display values in cell Vincent Excel Discussion (Misc queries) 2 February 21st 05 05:16 PM
How do I format a value when using it within a cell reference tha. packmule Excel Worksheet Functions 4 February 3rd 05 10:32 PM
Sumproduct help needed! Trying to excel in life but need help Excel Worksheet Functions 5 January 21st 05 10:07 PM
Date on two lines using a custom cell format possible? .:mmac:. Excel Discussion (Misc queries) 5 December 4th 04 10:41 PM
Subtracting paid hours from unpaid hours ejerry7 Excel Worksheet Functions 5 November 29th 04 05:16 AM


All times are GMT +1. The time now is 10:18 PM.

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"