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 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:
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:
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:
3. And then click OK button, and the cells have been displayed as dd:hh:mm:ss time format, see screenshot:
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:
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!
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Download and free trial Now!
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.
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:
3. And your selected time cells have been converted into the desired hours, minutes or seconds you need, see screenshot:
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:
Then click OK button, the converted results will be located at the cells you selected.
Download and free trial Kutools for Excel Now !
Demo: Convert hh:mm:ss time format to minutes, seconds or hours with Kutools for Excel
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
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!













