convert H:MM to Minutes?

afs24

Board Regular
Joined
Sep 26, 2002
Messages
237
How do I convert a H:MM format I.E. 4:30 into minutes? When I use the formula =convert(cell,"hr","mn") it gives me 11.25? I don't think it allows the colon? Any ideas how I can convert this? Thank you
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Excel stores time as fractions of a day, so 4:30 is stored as 0.19 days.

=CONVERT(A1,"hr","mn") converts 0.19 hrs to minutes, giving you 11.25.

You'd first have to convert 0.19 days to the correct number of hours.

Try:

=CONVERT(A1*24,"hr","mn")

or just =A1*24*60, formatted as a number.
 
Upvote 0
Sorry to be a thread intruder, but I would just like to say "Thanks" for the complete randomness of "CONVERT"

I didn’t know that function existed and I think will come in VERY handy on a new project I’m working on that was having me thinking about ways to convert some data, problem solved before it existed I guess!

:)
 
Upvote 0
although be aware that CONVERT is an Analysis ToolPak add-in function.

For the above I prefer

=A1*1440

but you could also use

=CONVERT(A1,"day","mn")

or even

=A1 and format as [m]

Note: if you use the last of these the underlying cell value will be different to that generated by the first 2
 
Upvote 0
And, thanks for the heads up Oaktree - I shall be careful :)
 
Upvote 0

Forum statistics

Threads
1,214,560
Messages
6,120,217
Members
448,951
Latest member
jennlynn

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