Converting seconds to days, hours, mins and secs

  • Thread starter Thread starter mike.sloper
  • Start date Start date
M

mike.sloper

I receive a spreadsheet which contains the lengths of calls people hav
made in seconds. These actually run into days. Is there a formula I ca
enter to converts miliions of seconds in to days, hours, minutes an
seconds
 
Mike

There are 86400 seconds in a day. so use this as a divisor
and custom format the answer as d:hh:mm:ss

Regards
Peter
 
Range A1:D4's Values are:
A B C
D
1 345662 =A1/86400 =INT(B1) Days
2 =(B1-C1)*24 =INT(B2) Hours
3 =(B2-C2)*60 =INT(B3) Minutes
4 =(B3-C3)*60 =INT(B4) Seconds

Will Display:

345,662 4.000718 4.00 Days
0.017222 -
Hours
1.033333 1.00
Minutes
2.000000 2.00
Seconds

Change A1 to test;
HTH
JMay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top