Excel Formula: Convert Decimal Hours to Hours and Minutes

doc convert date to julia 1

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.
doc convert date to julia 1

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.
doc convert date to julia 1

Then format the cells as time. Select the results, then go to Number drop-down list under Home tab, choose Time.
doc convert date to julia 1doc convert date to julia 1

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.
doc convert date to julia 1

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.
doc convert date to julia 1

Then the result has been displayed longer than 24 hours.
doc convert date to julia 1


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


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

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, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)

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.

Be the first to comment.