Jeremy-M asked on # Excel 201 Convert minutes & seconds to decimals

How can I convert minutes and seconds to decimals, for example, 21:42 (21 minutes:4 seconds is .3671 of an hour. What is the formula and what is the cell formatting to convert minutes:seconds to decimals?

Thanks,

Ed

Thanks,

Ed

Microsoft Excel

Jeremy-M

What is the cell format for 21:42?

What is the cell format for the formula?

What is the cell format for the formula?

Saqib Husain

21:42 can be either in time format or in text format

I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst

William Peck

Steven Carnahan

If you use the time format then you should put it in 00:21:42 format or it will read as hours/minutes instead of minutes/seconds.

Saqib Husain

Thank you pony10us for correcting me. my formula was converting 21hrs... to decimals.

Actually you should be dividing the time by 24.

Actually you should be dividing the time by 24.

Jeremy-M

Get an unlimited membership to EE for less than $4 a week.

Unlimited question asking, solutions, articles and more.

Saqib Husain

Can you include the formula bar and the cell in the snapshot?

Steven Carnahan

np - however I think it would be to multiply by 24

00:24:15 * 24 = 0.404167

24:15:00 * 24 = 24.25 (24 and 1/4 hours)

23:15:00 * 24 = 23.25 (23 and 1/4 hours)

23:45:00 * 24 = 23.75 (23 and 3/4 hours)

Actual formula would be:

=a1*24 (a1 being the cell that contains the time)

00:24:15 * 24 = 0.404167

24:15:00 * 24 = 24.25 (24 and 1/4 hours)

23:15:00 * 24 = 23.25 (23 and 1/4 hours)

23:45:00 * 24 = 23.75 (23 and 3/4 hours)

Actual formula would be:

=a1*24 (a1 being the cell that contains the time)

Jeremy-M

Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!

James Murphy

Steven Carnahan

Jeremy-M

The format I am using in Column A is "hh:mm:ss" and when I enter "00:21:42" or "0:21:42" I receive the error message when I depress the tan key in an attempt to exit the cell the Excel error message is displayed.

This should not be this difficult!

This should not be this difficult!

Log in or sign up to see answer

Become an EE member today7-DAY FREE TRIAL

Members can start a 7-Day Free trial then enjoy unlimited access to the platform

or

Learn why we charge membership fees

We get it - no one likes a content blocker. Take one extra minute and find out why we block content.

Not exactly the question you had in mind?

2.5=60/24