ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to display 5.5 hours instead of 5.30 when adding \ subtracting (https://www.excelbanter.com/excel-discussion-misc-queries/57312-how-display-5-5-hours-instead-5-30-when-adding-%5C-subtracting.html)

excel novice

How to display 5.5 hours instead of 5.30 when adding \ subtracting
 
when adding or subtracting times (13:00-08:30) how do i get the answer
formatted to show answer as 4.5 instead of 04:30

Ron Coderre

How to display 5.5 hours instead of 5.30 when adding \ subtracting
 
Try formatting the result as NUMBER, instead of Date or Time.

FormatCellsNumber tab
Category: Number
Decimal Places: 2

Does that help?

***********
Regards,
Ron


"excel novice" wrote:

when adding or subtracting times (13:00-08:30) how do i get the answer
formatted to show answer as 4.5 instead of 04:30


Bernard Liengme

How to display 5.5 hours instead of 5.30 when adding \ subtracting
 
If 4:30 is in A1, then use =A1*24 and format the cell as Number with 2
decimals
Excel keeps time as a fraction of a day.
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"excel novice" <excel wrote in message
...
when adding or subtracting times (13:00-08:30) how do i get the answer
formatted to show answer as 4.5 instead of 04:30




Ron Coderre

How to display 5.5 hours instead of 5.30 when adding \ subtrac
 
Of course, without converting the time value to a proper decimal value, as
Bernard suggests, my suggestion to only change the number format does
absolutely nothing to resolve your issue.

***********
Regards,
Ron


"Ron Coderre" wrote:

Try formatting the result as NUMBER, instead of Date or Time.

FormatCellsNumber tab
Category: Number
Decimal Places: 2

Does that help?

***********
Regards,
Ron


"excel novice" wrote:

when adding or subtracting times (13:00-08:30) how do i get the answer
formatted to show answer as 4.5 instead of 04:30


Earl Kiosterud

How to display 5.5 hours instead of 5.30 when adding \ subtracting
 
Novice,

=(B2 - A2)*24

Format (Format - Cells - Number) as General, Number, etc (not date).

Earl Kiosterud
www.smokeylake.com

"excel novice" <excel wrote in message
...
when adding or subtracting times (13:00-08:30) how do i get the answer
formatted to show answer as 4.5 instead of 04:30





All times are GMT +1. The time now is 06:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com