Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to convert seconds to time (hh mm ss ) or vice versa in Excel?

Have you ever tried to convert a number of seconds to hh:mm:ss time format or display the time format to seconds in Excel? This article, I will talk about some tricks to solve this task, please read the following details:

Convert a number of seconds to time format with formulas

Convert hh:mm:ss time format to seconds / minutes / hours with Kutools for Excel


Convert hh:mm:ss time format to hours / minutes / seconds:

Kutools for Excel's Convert Time feature can help you to convert multiple time format to hours, minutes or seconds as you wanted. Click to download and free trial Kutools for Excel now!

doc convert 12 hour to 24 hour 4

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


arrow blue right bubble Convert a number of seconds to time format with formulas


Supposing, I have the following numbers of seconds in a column, to convert them to days, hours, minutes, seconds time format, you can apply the formulas:

doc convert seconds to time 1

1. Enter this formula: =A2/86400 into a blank cell where you want to output the result, and drag the fill handle down to the cells that you want to apply this formula, and you will get some numbers as following screenshot shown:

doc convert seconds to time 2

2. Select theses formula cells, and right click to choose Format Cells option from the context menu, in the popped out Format Cells dialog box, under the Number tab, click Custom option, and enter dd:hh:mm:ss into the Type box, see screenshot:

doc convert seconds to time 3

3. And then click OK button, and the cells have been displayed as dd:hh:mm:ss time format, see screenshot:

doc convert seconds to time 4

Note: Here is another formula also can help you to display the number of seconds as the text format like this: x hours x minutes x seconds: =TEXT(A2/86400,CHOOSE(MATCH(A2,{0,60,3600},1),"s ""sec""","m ""min"" s ""sec""","[h] ""hrs"" m ""min"" s ""sec""")), after applying this formula, you will get this result, see screenshot:

doc convert seconds to time 5


arrow blue right bubble Convert hh:mm:ss time format to seconds / minutes / hours with Kutools for Excel

On the contrary of above problem, if you want to convert hh:mm:ss time format to seconds, minutes or hours, I can recommend a useful tool-Kutools for Excel, with its Convert Time feature, you can quickly convert the time format to the number of hours, minutes or seconds.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days

After installing Kutools for Excel, please do as follows:

1. Select the times that you want to convert.

2. Click Kutools > Content > Convert Time, then choose Time to Hours / Time to Minutes / Time to Seconds as you need, see screenshot:

doc convert seconds to time 6

3. And your selected time cells have been converted into the desired hours, minutes or seconds you need, see screenshot:

doc convert seconds to time 7

Note: If you don’t like the converted result located in the original cells, you can go the Convert Time dialog by clicking Kutools > Content > Convert Time, in the Convert Time dialog box, choose the convert type you need, and then check Save to another location checkbox, and click a cell where you want to put the result, see screenshot:

doc convert seconds to time 8

Then click OK button, the converted results will be located at the cells you selected.

Download and free trial Kutools for Excel Now !


Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    samurai fox · 3 months ago
    Lets say I have C2=1 (as hour), D2=5 (as minutes), E2=0 (as seconds) and in F2=3900 as seconds.

    In 3900 seconds is multiplied by 10% up to 90%

    in A5=F2*0, B5=F2*0.1, C5=F2*0.2 up to J5=F2*0.9 which is 3500 but I wanted the results to be in time format which is 58:30.
  • To post as a guest, your comment is unpublished.
    Baskari · 8 months ago
    Hi


    How to convert seconds to hours please help me.
    • To post as a guest, your comment is unpublished.
      skyyang · 6 months ago
      Hello, Baskari,
      If you just want to convert second numbers to hours, please apply this simple formula:
      =A1/3600

      Please try, hope it can help you!
  • To post as a guest, your comment is unpublished.
    sachin · 3 years ago
    how to convert DD:H:MM to H:MM in excel 2007
    For ex. 02(day):(01 hours):10(min) to 49(Hours):10(min)
  • To post as a guest, your comment is unpublished.
    sachin · 3 years ago
    How to convert DD:H:MM to H:MM in excel