Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel: How to Change Decimal Elapsed Time to Mins & Secs 2

Status
Not open for further replies.

bsquared18

Technical User
Joined
Jun 10, 2001
Messages
329
Location
US
Hi,

I'm working on an Excel worksheet where one of the values is an elased time. Let's say, for example, that Excel calculates an elapsed time of 5.25 minutes. Naturally, that translates into 5 minutes 15 seconds. Is there a way in Excel to display the decimal elapsed time as minutes and seconds?

Thanks!

Bill
 
Hi bsquared,

For a value in A1, is:
=INT(A1)&":"&MOD(A1,1)*60
as a text result, or:
=TIMEVALUE(INT(A1)&":"&MOD(A1,1)*60)
, with a time format suitable?

Cheers
 
This formula will convert decimal minutes to a timevalue:

=A1/(24*60)

have the cell formatted with a suitable time format.

Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Wouldn't it be easiest to set the cell format of the cell with the value in it to Custom and specify [h]:mm:ss?

Cheers,
Dave

Probably the only Test Analyst Manager on Tek-Tips...therefore whatever it was that went wrong, I'm to blame...

animadverto vos in Abyssus!

Take a look at Forum1393!
 
Yes Dave, but only once the value has been converted from decimal.

Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Thanks everyone for your help!

Macropod and Glenn, both your solutions work.

Dave, when I tried your solution, 8.28 minutes became 198:48:00 instead of the desired 8:17.

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top