How to Convert Decimals to Days Hours and Minutes in Excel – 3 Methods

This is an overview:convert decimal to days hours and minutes in excel


Method 1 – Using the TEXT Function to Convert Decimals to Days Hours and Minutes in Excel

Step 1:

  • Select a cell to see the output. Here, C5.

Use TEXT Function to Convert Decimal to Days Hours and Minutes in Excel

  • Enter the formula.
=TEXT(B5/24, " d\d h\h m\m")
  • B5/24 is the decimal value and “ d\d h\h m\m” is the format_text.

  • Press ENTER.

51 decimal values were converted to 30d 3h 30m.

Use TEXT Function to Convert Decimal to Days Hours and Minutes in Excel

Step 2:

  • Drag down the Fill Handle to see the result in the rest of the cells.

Read More: How to Convert Decimal to Minutes and Seconds in Excel


Method 2 – Combining the INT and the TEXT Functions to Convert Decimals to Days Hours and Minutes in Excel

Step 1:

  • Select C5.

Combine INT and TEXT Functions to Convert Decimal to Days Hours and Minutes in Excel

  • Enter the formula.
=INT(B5/24) & "days   " & TEXT(B5/24, " h\h   m\m")

Formula Breakdown:

  • B5/24 is the decimal value and the INT function converts it into days.
  • B5/24 is the decimal value of the TEXT function and “ h\h m\m” is the format_text. The TEXT function converts it into hours and minutes.

  • Press ENTER.

151 days 3h 30m is the output.

Combine INT and TEXT Functions to Convert Decimal to Days Hours and Minutes in Excel

Step 2:

  • Drag down the Fill Handle to see the result in the rest of the cells.

Combine INT and TEXT Functions to Convert Decimal to Days Hours and Minutes in Excel


Method 3 – Applying the Custom Format to Convert Decimals to Days Hours and Minutes in Excel

Steps:

  • Select B5:B14.
  • Copy this array pressing Ctrl + C.
  • Paste the copied cells in column C pressing Ctrl + V.

Apply Custom Format to Convert Decimal to Days Hours and Minutes in Excel

  • Press Ctrl + 1.

  • In the Format Cells dialog box, select Number.
  • Choose Custom.
  • Enter h:mm in Type.
  • Click OK.

Apply Custom Format to Convert Decimal to Days Hours and Minutes in Excel

Decimals were converted to hours and minutes.

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


 

Download Practice Workbook

Download the practice workbook.


Related Articles


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

Get FREE Advanced Excel Exercises with Solutions!
Md. Abdur Rahim Rasel
Md. Abdur Rahim Rasel

MD. ABDUR RAHIM is a marine engineer proficient in Excel and passionate about programming with VBA. He views programming as an efficient means to save time while managing data, handling files, and engaging with the internet. His interests extend to Rhino3D, Maxsurf C++, AutoCAD, Deep Neural Networks, and Machine Learning, reflecting his versatile skill set. He earned a B.Sc in Naval Architecture & Marine Engineering from BUET, and now he has become a content developer, creating technical content... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo