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!


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
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.