Excel Formula: Convert Decimal Seconds to Time
To convert decimal seconds to Excel time in Excel, a formula can help you.
If you want to follow along with this tutorial, please download the example spreadsheet.
Generic formula:
Seconds/86400 |
Arguments
Seconds: a decimal number that you will convert to Excel time. |
Return Value
This formula returns a decimal number, format the result as an Excel time format as you need.
How this formula work
To convert the decimal seconds in cell B3:B5 to Excel time in cell C3:C5, please apply below formula:
=B3/86400 |
Press Enter key, then drag the fill handle from C3 to C5 to get a list of decimal numbers.
Then keep the results selected, press Ctrl + 1 to enable the Format Cells dialog, under Number tab, click Time from the Category section, then choose one type of time formats you want from the Type section.
Click OK. The decimal numbers have been formatted as time.
Explanation
There are 86400 seconds in a day. For instance, 55346 seconds equal to 55346/86400 day.
Relative Formulas
- Convert Decimal Minutes to Time Format
This tutorial provides a formula to convert decimal minutes to Excel time. - Convert date string to datetime
Sometimes, while you import or paste some datetime data from other devices to Excel, the datetimes maybe not be recognized as proper dates... - Convert date to year month
In some cases, you want to convert the date to only month, year, day or monthyear, daymonth, or year day in text format. - Convert date to text
This tutorial provides the TEXT function to convert a date to text.
Relative Functions
- Excel IF Function
Test for specified conditions, then returns the corresponding values - Excel VALUE Function
Convert text to number. - Excel MONTH Function
The MONTH is used to get the month as integer number (1 to 12) from date. - Excel DAY Function
DAY function gets the day as a number (1 to 31) from a date - Excel YEAR Function
The YEAR function returns the year based on the given date in a 4-digit serial number format.
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...
Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.