Convert Number to Hours and Minutes in Excel (2 Easy Methods)

The following table has the Days and Number columns. We will use the Number column of this table to convert number to hours and minutes in Excel.

Convert Number to Hours and Minutes in Excel


Method 1 – Using TEXT Function to Convert Number to Hours and Minutes in Excel

  • Copy the following formula into cell D5:
=TEXT(C5/24,"[h] ""hours,"" m ""minutes""")

Formula Breakdown

  • TEXT(C5/24,”[h] “”hours,”” m “”minutes”””) → the TEXT function put in a formatting to a number and represent the number in a new way.
  • C5/24 → divides cell C5 by 24.
    • Output: 0.0833333333
    • Explanation: Since C5 has an integer part, this is counted as a day value. Therefore, we need to divide cell C5 by 24 to make it an hour value.
  • “[h] “”hours,”” m “”minutes””” → these are the Format Codes for the Text function. Here, we surround the hour, “h” inside a square bracket. This is because we want the values to surpass twenty-four hours. Without the square bracket, the hours will begin from zero for every twenty-four hours.
  • TEXT(0.083333333,”[h] “”hours,”” m “”minutes”””) → becomes
    • Output: 2 hours, 0 minutes
  • Press Enter. You can see the result in cell D5.

Convert Number to Hours and Minutes in Excel

  • Drag down the formula with the Fill Handle tool.

  • You can see the conversion of number to hours and minutes in the Hours and Minutes column.

Convert Number to Hours and Minutes in Excel

Read More: How to Convert Number to Minutes in Excel


Method 2 – Dividing and Formatting Numbers

Step 1 – Dividing Numbers by a Day (24 Hours)

  • Insert the following formula in cell D5:
=C5/24

This simply divides the cell C5 value by 24.

  • Press Enter.
  • Drag down the formula with the Fill Handle tool.

Convert Number to Hours and Minutes in Excel

  • Therefore, you can see a complete column, which shows decimals.

Step 2 – Setting a Format

  • Select the cells D5:D9.
  • Right-click and select Copy from the Context Menu.

Convert Number to Hours and Minutes in Excel

  • Select the cells E5:E9 of the Hours and Minutes column.
  • Go to the Home tab and select the Paste option.
  • From Paste Values, select Values & Number Formatting.

  • As a result, you can see the numbers in the Hours and Minutes column.

  • Select the values in the Hours and Minutes column.
  • From the Home tab, go to the Number group.
  • Click on the Number Format which is marked with a red color box. Select the anchor to bring out a Format Cells dialog box.

You can also bring out the Format Cells dialog box by pressing Ctrl + 1.

Convert Number to Hours and Minutes in Excel

  • A Format Cells dialog box will appear.
  • Go to the Number group.
  • Select Time from Category.
  • Choose a Type. We picked 1:30 PM as the Type because we only want to show hours and minutes.
  • Click OK.

  • You can see the conversion of number to hours and minutes in the Hours and Minutes column.

Read More: How to Convert Decimal to Time Over 24 Hours in Excel


Practice Section

You can download the above Excel file to practice the explained methods.

Convert Number to Hours and Minutes in Excel


Download Practice Workbook

You can download the Excel file and practice while you are reading this article.


Related Articles


<< Go Back to Convert Number to Time | Time Conversion | Date-Time in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Afia Kona
Afia Kona

Afia Aziz Kona, a graduate of NAME from Bangladesh University of Engineering & Technology, Bangladesh, serves as a technical content creator in the ExcelDemy project. Possessing a passion for innovation and critical thinking, she actively embraces challenges. Beyond her engineering background, Afia exhibits a keen interest in Excel, having authored numerous articles on Excel & VBA-related issues to simplify the experience for users facing obstacles in Excel. Apart from creating Excel tutorials, she is also interested... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo