Pinterest Pixel

Decimals to Time in Excel – A Step-by-step Guide

John Michaloudis
When you receive time from employees in decimal minutes format, each decimal represents the fraction of an hour spent working.
Excel stores time as a fraction of a day, so you can easily convert it to time.

In this article, you will learn how to convert a decimal to time in Excel.

Understanding Decimal Time

Before looking into the Excel functions, it’s important to understand the concept of decimal time. In traditional time notation, an hour is divided into 60 minutes, and a minute is divided into 60 seconds. However, in decimal time, an hour is represented as 1, and fractions of an hour are expressed in decimals. For example, 30 minutes is represented as 0.5 (since 30 minutes is half of an hour).

Let’s explore the process of determining the hours worked by employees:

Decimals to Time in Excel

How to Convert Decimal to Time

Method 1

To convert these decimals to minutes (hh:mm):

  • Go to cell C2
  • Enter =B2/24

Since there are 24 hours in a day

Decimals to Time in Excel

Decimals to Time in Excel

  • Drag the small box located at the bottom-right corner of cell C2 downward to automatically extend and apply the formula to the remaining hours.

Decimals to Time in Excel

 

Decimals to Time in Excel

  • Right-click the selected cells and go to Format Cells.

Decimals to Time in Excel

 

  • Go to Custom.

Decimals to Time in Excel

  • Delete the General and input h:mm.

Decimals to Time in Excel

  • Click OK.

Decimals to Time in Excel

Method 2

You can use the TEXT function to convert a decimal to time as text.

=TEXT(A2/24,”h:mm”)

 

Sum the Hours

To sum the hours worked, go to D2, and enter =SUM(C2:C7).

Decimals to Time in Excel

Decimals to Time in Excel

Right-click on D2, and click on Format Cells.

Go to Custom. Put brackets around the letter [h]:mm.

Decimals to Time in Excel

Click OK.Decimals to Time in Excel

Tips & Tricks

  • Always divide decimal hours by 24 before formatting as time.
  • Decimal days only need formatting and no conversion.
  • Use TEXT() when you need a text representation instead of a time value.
  • Apply [h]:mm to display durations longer than 24 hours.
  • Use ROUND() to avoid unexpected seconds caused by decimal precision.

 

FAQs

Why divide decimal hours by 24 in Excel?

Excel stores one day as 1, so dividing by 24 converts hours into Excel time.

How to display decimal hours as time?

To display decimal hours as time,

  • Divide the decimal hour by 24
  • Right-click and select Format Cells.
  • Apply a custom time format like h:mm

When to use the TEXT function?

You can use the TEXT function when you want the time displayed as text instead of a time value.

How to total hours greater than 24?

If the total hours are greater than 24, you should apply the custom format [h]:mm.

Why do I see extra seconds after converting time?

Decimal precision can create extra seconds, so use the ROUND() function to remove them.

If you like this Excel tip, please share it


Founder & Chief Inspirational Officer

at

John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship MyExcelOnline Academy Online Course.

See also  How to Convert CM to Inches in Excel - Step by Step Guide

Steps To Follow

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...