ADDING TMIE IN [H]:MM

almouchie

Board Regular
Joined
Dec 23, 2004
Messages
128
SALAM
I HAVE the following durations ex.12hr 42 mins in format 12:42
1:30
13:30
14:42
8:52
9:16
i want to calcuate the sum of the hours & minutes in the same formats
how can i do that (answer should be 47:50)
also how can apply a formula to 12:42 to give me hour in decimal 12.7
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
almouchie said:
SALAM
I HAVE the following durations ex.12hr 42 mins in format 12:42
1:30
13:30
14:42
8:52
9:16
i want to calcuate the sum of the hours & minutes in the same formats
how can i do that (answer should be 47:50)
also how can apply a formula to 12:42 to give me hour in decimal 12.7

=SUM(TimeRange)

Custom format the formula cell as:

[h]:mm

=A1*24

where A1 houses a time value like 12:42, would return the decimal time value.
 
Upvote 0
=INT(SUM(HOUR(A1:A6),MINUTE(A1:A6)/60))&":"&ROUND((SUM(HOUR(A1:A6),MINUTE(A1:A6)/60)-INT(SUM(HOUR(A1:A6),MINUTE(A1:A6)/60)))*60,0)

confirmed with CTRL + SHIFT + ENTER instead of enter

But, I get 60:32, not 47:50.

12:42 returns 12.7 with the formula:
=HOUR(A1)+MINUTE(A1)/60

edit: yikes! As usual, Aladin's is much easier. (y)
 
Upvote 0

Forum statistics

Threads
1,203,024
Messages
6,053,100
Members
444,639
Latest member
xRockox

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top