Convert decimal seconds to a duration

Turn 178215 seconds into the duration 49:30:15, even past 24 hours.

What you'll make

In Excel: 178215 seconds becomes 49:30:15.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesFor row 8
1A8The number of seconds, like 178215.178215
2/86400Divides by 86400, the seconds in one day.49:30:15

Excel counts time in days. The result shows hours, minutes and seconds, so 178215 shows as 49:30:15.

=A8/86400

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own seconds. Paste numbers of seconds into the green column of the Template tab. The durations fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

If you copy a duration elsewhere, give that cell the format [h]:mm:ss so whole days and seconds show.

Microsoft's help: TIME function