Convert seconds to time display HH:MM:SS

joe77

New Member
Joined
Mar 14, 2002
Messages
9
Is there any relativley easy way to take a number of seconds, say 105499, and convert it to HH:MM:SS? I know the answer is 29:18:19, but the report generator I use exports in seconds only, and I need HH:MM:SS.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Format the cell that contains the value as hh:mm:ss by choosing format cells and choosing custom from the list ont he left. On the right, choose hh:mm:ss. I don't think I've explained myself very well so I hope you know what I mean?????
 
Upvote 0
Hiya,

Step 1: Divide your seconds by 86400 (easiest way might be to copy a cell with 86400 and then hit paste specialdivide over your range).

Step 2: Format CellsTime and you'll want to use the "37:30:55" choice. The custom format "hh:mm:ss" will only recycle numbers over 24 hours. I'm sure there's a custom format you could also choose, but the above is already in the listings for time anyway.

Hope that helps,
Adam S.
 
Upvote 0
On 2002-03-19 07:08, joe77 wrote:
Actually, that was one of the first things I tried, and it just returns 00:00:00.

Joe:

=C2/(1440*60)

And custom format as [h]:mm:ss

Does work.
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,215
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top