Excel Formula: Convert Decimal Hours to Hours and Minutes
In Excel, there is a simple formula that supports to convert hours in the decimal format to a valid Excel time.
If you want to follow along with this tutorial, please download the example spreadsheet.
Generic formula:
Decimal_hours/24 |
Arguments
Decimal_hours: the positive decimal number that you want to convert to Excel time. |
Return Value
This formula returns a decimal number. To display the decimal in a standard Excel time format, you need to format the result as a time.
Errors
If the argument decimal_hours is a negative value, the formula returns a string ######.
How this formula work
Here is a list of decimal number in cell B3:B5, in cell C3, type below formula to get the decimal time.
=B3/24 |
Press Enter key, then drag autofill handle over to cell C5.
Then format the cells as time. Select the results, then go to Number drop-down list under Home tab, choose Time.
Explanation
There are 24 hours one day, the decimal number divided by 24 will get the correct representation of hours in Excel.
Note
If you want to display the time duration longer than 24 hours, you can format the time format as below:
Select the formula result then right click to select Format Cells from the context menu.
In the Format Cells dialog, under Number tab, choose Time in the Category list, then go to right Type section, choose 37:30:55. Click OK.
Then the result has been displayed longer than 24 hours.
Relative Formulas
- Convert date to Julian
Sometimes, you need to convert the standard date to the Julian date in Excel, here this article introduces a formula which combines the TEXT, YEAR and DATE functions to solve this job. - 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...
Supports Office/Excel 2007-2021 and 365 | Available in 44 Languages | Easy to Uninstall Completely

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.
