Formula Question h:mm

mayoung

Active Member
Joined
Mar 26, 2014
Messages
257
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Please Help:
In cell C8 is the number 385 which is total minutes per day. I am trying to convert 385 to total hours and minutes in C9 which should come out to
6 hours and 42 minutes. I am using the formula =convert(C8,”mn”,”hr”).
I have cell C9 Custom formatted as h:mm.
The answer in C9 comes up as 0:06

What am I doing wrong? I want to show hours and minutes?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
That worked. Something so simple.
I have a question if I take 385 minutes and divide by 60 it comes up
If C8 is formatted as [m], that means its contained value is 6:25. You can put this formula in cell C9...

=C8

and then format the cell as [h]:mm
i have a question if you take 385 minutes and divide by 60 (60 minutes in an hour) it comes up as 6.41666667 should that be 6.42 instead of 6.25?

I am confused? Please help me understand?
 
Upvote 0
i have a question if you take 385 minutes and divide by 60 (60 minutes in an hour) it comes up as 6.41666667 should that be 6.42 instead of 6.25?
6.42 hours
.42 of an hour is 25 minutes
the format h:mm gives hours and minutes so 6:25 is 6 hours and 25 minutes
if you formatted as only hours it would show 6.42
 
Upvote 0
6.42 hours
.42 of an hour is 25 minutes
the format h:mm gives hours and minutes so 6:25 is 6 hours and 25 minutes
if you formatted as only hours it would show 6.42
Which is [h] ?
 
Upvote 0
The .41666667 is not minutes... it is the fraction of an hour left over once you obtain your 6 full hours. If you multiply 60 times .41666667 you get 25.
 
Upvote 0
actually wait sorry i was wrong
formatting as hours [h] will just give you 6
i'm not sure how to get the .42 with just formatting
 
Upvote 0
The .41666667 is not minutes... it is the fraction of an hour left over once you obtain your 6 full hours. If you multiply 60 times .41666667 you get 25.
So nothing in will come up with the 6.42 then? Using the 385 as minutes?
 
Upvote 0

Forum statistics

Threads
1,214,782
Messages
6,121,532
Members
449,037
Latest member
tmmotairi

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