General Question

Jbor's avatar

How do you convert decimals to seconds in Excel?

Asked by Jbor (649points) February 13th, 2009

I’ve created a spreadsheet to trak my running progress as detailed here: http://i40.tinypic.com/153y1xk.jpg
Rows are Km/hour, columns Km. What I wish is to display the decimals as seconds (base 60) instead of base 100. In other words 20½ minutes should be 20,30 and not 20,50 as is currently the case.

Observing members: 0 Composing members: 0

5 Answers

MrItty's avatar

Right click the cell. Choose Format Cell. Choose custom format. Type m.ss

Click Ok.

jrpowell's avatar

The seconds function might help. Example. pic

Ignore that..

Jbor's avatar

I’ve been playing with the custom formats, but with little luck.
You’re on to something, though. m.ss makes 20,70 into 51,54. Problem is that I do not want to convert the minutes, just the seconds. So the result should be 20,54

By the way – I live in Denmark, and we switch . for , when typing numbers.

miasmom's avatar

just multiply the decimal column by 60

Jbor's avatar

After much googling, F1’ing and playing around I finally solved it.My Excel skillz are not what they used to be :-) Frankly there has to be a more elegant solution to this…
http://i42.tinypic.com/2vx3kfd.jpg

I’m pretty proud of my achievement, but quite embarrased that it took so much work to figure it out :-)

=INT(KM/KMH*60)&”.”&TEXT(ROUND(ABS(INT(KM/KMH*60)-(KM/KMH*60))*100;2)*0,6;“00”)

Or as it appears in the spreadsheet:
=INT($A2/B$1*60)&”.”&TEXT(ROUND(ABS(INT($A2/B$1*60)-($A2/B$1*60))*100;2)*0,6;“00”)

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther