Solved

Excel 201  Convert minutes & seconds to decimals

Posted on 2013-12-09
12
303 Views
Last Modified: 2013-12-10
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
0
Comment
Question by:Jeremy-M
  • 4
  • 4
  • 4
12 Comments
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39706602
Divide the time by 2.5    and format the cell as general or fixed,

2.5=60/24
0
 

Author Comment

by:Jeremy-M
ID: 39706608
What is the cell format for 21:42?

What is the cell format for the formula?
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39706622
21:42 can be either in time format or in text format
0
 
LVL 26

Expert Comment

by:pony10us
ID: 39706639
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.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39706668
Thank you pony10us for correcting me. my formula was converting 21hrs... to decimals.

Actually you should be dividing the time by 24.
0
 

Author Comment

by:Jeremy-M
ID: 39706677
I formatted the cell as "hh:mm:ss" and the Error Message displayed below appeared when I depress the tab key and attempted to exit the cell.

Error Message for "hh:mm:ss" Cell Format
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39706686
Can you include the formula bar and the cell in the snapshot?
0
 
LVL 26

Expert Comment

by:pony10us
ID: 39706763
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)
0
 

Author Comment

by:Jeremy-M
ID: 39707349
I'm still getting the error message

I can't upload an image large enough to be readable

Cell Format:          Custom "hh:mm:ss"

Entering "00:21:42: in the cell results in the standard Excel Error Message

"The formula you type contains an error:
blah, blah, blah"


What is wrong?

 
Cell Format - Cell Contents - Error Message
0
 
LVL 26

Expert Comment

by:pony10us
ID: 39707363
Column A is format time hh:mm:ss
Column D is format general
Formula is in column D as shown at top of screen cap

time decimal conversion
0
 

Author Comment

by:Jeremy-M
ID: 39707382
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!
0
 
LVL 26

Accepted Solution

by:
pony10us earned 500 total points
ID: 39707394
Here is the full spreadsheet
EEtd.xlsx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now