How to Convert Decimal to Time in Excel Using Formula

This tutorial will demonstrate how to convert decimal to time in Excel using formula. Excel by default stores time in decimal format. But we need to convert it into days, hours, minutes, or seconds for our needs. Decimal time is commonly used in Excel to track the record of a person’s time spent on a project. But converting decimal to time is useful to calculate it easily. So, we need to learn to convert decimal to time Excel formula.

In this case, our goal is to convert decimal to time in Excel using a formula in 3 ways. To do that, we’ll use a sample dataset overview as an example in Excel to understand easily. In Column B we have Decimal and in column C we have Days, Hours, and Minutes. If you follow the methods correctly, you should learn how to convert decimal to the time Excel formula yourself.

Methods to Convert Decimal to Time

1. Using TEXT Function to Convert Decimal to Time in Excel

The TEXT Function is mainly used to convert a numeric value to a particular formula for many purposes. In this case, we aim to convert decimal to time by using an Excel formula with this function. We will describe the steps of this method below.

Steps:

  • First, in the C5 cell insert the following formula.
=TEXT(B5/24, " d\d h\h m\m")

Methods to Convert Decimal to Time

  • After pressing the Enter button, you will get the result for the cell, and then use the Fill Handle to apply the formula to all the desired cells.

Methods to Convert Decimal to Time

  • Finally, you will get the desired result.

Methods to Convert Decimal to Time

Read More: How to Convert Fraction into Hours and Minutes in Excel


2. Combining INT and TEXT Formula to Convert Decimal to Time in Excel

Here we will convert decimal to time in Excel by using a formula. To create the formula we will combine INT and  TEXT functions. The INT Function is mainly used to return the integer part of a decimal number. So, combining both functions can be very helpful in this case. Let’s describe the method with easy steps below in order.

Steps:

  • To begin with, in the C5 cell insert the following formula.
=INT(B5/24) & "days" & TEXT(B5/24, " h\h   m\m")

Methods to Convert Decimal to Time

  • In addition, press the Enter button, and you will get the result for the cell, then use the Fill Handle to apply the formula to all the desired cells.

 

Methods to Convert Decimal to Time

  • Finally, you will get the desired result.

 

Methods to Convert Decimal to Time


🔎 How Does the Formula Work?

  • INT(B5/24) & “days”: In the first portion, it represents the decimal values and converts the values into days.
  • TEXT(B5/24, ” h\h m\m”): This portion takes the values in decimal and converts them into hours and minutes.

Read More: Convert Number to Time hhmmss in Excel


3. Manually Converting Decimal to Minutes and Seconds

In this case, our goal is to convert decimal to time in Excel manually by using a multiplication formula. This is the easiest option to create in an Excel sheet. Let’s describe the steps of this method below.

Steps:

  • Firstly, in the C5 cell insert the following formula.
=B5*24*60

Methods to Convert Decimal to Time

  • Next, if you press the Enter button, you will get the result for the cell and then use the Fill Handle to apply the formula to all the desired cells.

Methods to Convert Decimal to Time

  • Then, you will get the desired result.

  • After that, in the D5 cell insert the following formula.
=B5*24*60*60

Methods to Convert Decimal to Time

  • After pressing the Enter button, you will get the result for the cell and then use the Fill Handle to apply the formula to all the desired cells.

Methods to Convert Decimal to Time

  • Lastly, you will get the final result.

Read More: Convert Number to Hours and Minutes in Excel


How to Convert Decimal to Time in Excel with Custom Format

Excel has a custom format to transform decimals into time. Now, we aim to apply the custom format to fulfill our goal. The steps of this method are described below.

Steps:

  • To begin with, select the selected data (in this case Column B) and press Ctrl+C.
  • Next, press Ctrl+V in Column C.

  • In addition, select the cells of Column C and press Ctrl+1.

  • Furthermore, the Format Cells dialog box will open on the screen.
  • Then, go to Number > Time > Type > Select desired type > OK.

  • Finally, you will get the desired result.

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


How to Change Time to Decimal in Excel

At this point, we aim to change time to decimal by using the CONVERT function. Recording time is helpful in tracking attendance easily. But converting it into decimal helps to learn how much time a person has spent to complete the project. By that, one can easily understand the dedication level of another person. The steps of this method are described below.

Steps:

  • At first, in the C5 cell insert the following formula.
=CONVERT(B5,"day","mn")

  • Second, click the Enter button to get the result for the cell, and then use the Fill Handle to apply the formula to all the desired cells.

  • Last, you will get the desired result.

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


Things to Remember

  • Among all the methods, using the TEXT function is the easiest to create and most efficient way to use it in all situations.
  • If you don’t want to use any formula, then you can use the Custom Format.
  • No matter which method you have used, just learn it well enough so that you can understand its formula and final output.

Download Practice Workbook

You can download the practice workbook from here.


Conclusion

Henceforth, follow the above-described methods. Thus, you can convert decimal to the time using an Excel formula. Let us know if you have more ways to do the task. Don’t forget to drop comments, suggestions, or queries if you have any in the comment section below.


Related Articles


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

Get FREE Advanced Excel Exercises with Solutions!
Zehad Rian Jim
Zehad Rian Jim

Zehad Rian Jim is a dedicated professional with a BSc. Degree in Naval Architecture and Marine Engineering from Bangladesh University of Engineering and Technology. He's good with Microsoft Office and has written more than 80 helpful articles for ExcelDemy in the last year. Now, he makes fun and easy-to-follow Excel tutorials for YouTube as part of the ExcelDemy Video project. Zehad loves figuring out Excel problems, and his passion for learning new things in Excel shines through in... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo