Share via

How do I change seconds to hours:minutes:seconds

Anonymous
2025-10-09T18:18:51.4233333+00:00

How do I format these numbers in seconds to hours minutes and seconds?User's image

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments

Answer accepted by question author

Marcin Policht 90,400 Reputation points MVP Volunteer Moderator
2025-10-09T18:31:09.78+00:00

Option 1: Convert using a formula

If your seconds are in column A (say A2 = 10441), use this formula:

=TEXT(A2/86400,"[h]:mm:ss")
  • 86400 = number of seconds in a day (24 × 60 × 60)
  • Dividing by 86400 converts seconds to Excel's time unit (fraction of a day).
  • TEXT(...,"[h]:mm:ss") displays total hours, minutes, and seconds.
Seconds Formula Result
10441 2:54:01
8812 2:26:52
10113 2:48:33
10694 2:58:14

Option 2: Convert directly (without TEXT)

If you'd rather keep the values as time (not text), use:

=A2/86400

Then format the cell as:

Custom Format: [h]:mm:ss

  1. Select the cells with the formula.
  2. Press Ctrl + 1Number tab → Custom.
  3. In the Type box, enter [h]:mm:ss.
  4. Click OK.

If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

hth

Marcin

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.