Excel Formula: Convert Time to Decimal Hours
Here provides a formula that converts time to decimal hours in Excel and explains how the formula works.
|Time: the excel time that is used to convert to decimal hours..|
The formula returns a value in time format, please format the result as general or number as you need to get the decimal hours.
How this formula work
To convert the time in cell B3 to decimal hours in cell C3, please use below formula:
Press Enter key to get a value in time format.
Click Home tab, and go to the Number Format drop-down list to choose General or Number to display the result as a number.
There are 24 hours a day, in other words, one hour is 1/24 day. To convert the time to decimal hours, it should multiply the value 24. For example, converting time 10:00 to decimal hours:
- Convert Decimal Minutes to Time Format
This tutorial provides a formula to convert decimal minutes to Excel time.
- Convert Decimal Seconds To Time
To convert decimal seconds to Excel time in Excel, a formula can help you.
- 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.
- 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.