#### almouchie

##### Board Regular
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.

=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.

Replies
6
Views
118
Replies
1
Views
75
Replies
1
Views
116
Replies
4
Views
140
Replies
2
Views
175

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.

### Which adblocker are you using?

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

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