ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Adding up Time like decimal values ?? (https://www.excelbanter.com/excel-programming/290072-adding-up-time-like-decimal-values.html)

Kjell[_2_]

Adding up Time like decimal values ??
 
Hi

I need to sum up a column displaying time (4:00 or 6:30) but display the sum as decimal......?!?!?!

or at least get the answer in Hours:minutes even if Hours 24 ....?!??!

I can do this in VB and other soft but can I do it in Excel directly???

Kjell



Bob Phillips[_6_]

Adding up Time like decimal values ??
 
Kjell,

For 24 hours, just format the cell as [h]:mm, and add up as normal.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Kjell" wrote in message
...
Hi

I need to sum up a column displaying time (4:00 or 6:30) but display

the sum as decimal......?!?!?!

or at least get the answer in Hours:minutes even if Hours 24 ....?!??!

I can do this in VB and other soft but can I do it in Excel directly???

Kjell





John McGimpsey

Adding up Time like decimal values ??
 
One way:

XL stores times as fractional days, so if you're adding A1:A10:

Hours:Minutes display:

=SUM(A1:A10)

then Format/Cells/Number/Custom [h]:mm


decimal hours:

=SUM(A1:A10)*24


In article ,
"Kjell" wrote:

Hi

I need to sum up a column displaying time (4:00 or 6:30) but display the
sum as decimal......?!?!?!

or at least get the answer in Hours:minutes even if Hours 24 ....?!??!

I can do this in VB and other soft but can I do it in Excel directly???

Kjell




All times are GMT +1. The time now is 11:37 PM.

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