# Turning time sum into decimal if over an hour

#### handysmurf

##### Board Regular
OK I am figuring the difference in times and the result is a decimal. But if the result is over an hour I loose that time, I only end up with the minutes and loose however many hours. So ... I need to fix that.

Here is the existing formula...

TIA

### Excel Facts

Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Perhaps:

That returns decimal minutes. For example, if the difference is 1h 2m 30s, the result will be about 62.5.

I say "about" because an infinitestimal difference could arise due to the binary arithmetic. If that matters, you might want to round to the second first.

-----

PS.... Unrelated to the solution to your problem, for future reference, replace your text manipulations with MINUTE(\$AE11569-\$AD11569) and SECOND(\$AE11569-\$AD11569) in order to extract the minutes and seconds of the time difference (excluding the hours and days). For example, if the time difference is 12:34:56, MINUTE() returns 34 and SECOND() returns 56.

Last edited:
thanks ... will let you know if it works.

I have no idea about your post script comments .... I didn't write the original formula. While I would prefer to learn the formulas instead of just asking for them here not many have time to elaborate.

Works great Thanks!!

Replies
1
Views
248
Replies
1
Views
334
Replies
9
Views
415
Replies
24
Views
673
Replies
13
Views
658

1,219,898
Messages
6,150,835
Members
450,987
Latest member
PopeScooby

### 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