Excel Formulas to Find the Time Difference in Hours as Decimal Value!!
Tags: excelformula, excelformulas
Published: 2021-05-29 02:59:29

---
title: Excel Formulas to Find the Time Difference in Hours as Decimal Value!!
published: true
date: 2021-05-28 04:57:10 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-find-the-time-difference-in-hours-as-decimal-value/
---

By default, date and time are saved as numbers/decimals in Excel. But you often see it in different formats because of the way the cells have been formatted. Today, I will introduce some easy tricks to **find the time difference in hours as a decimal value in Excel**.  Let’s step into this article!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Time difference in decimal hours](https://geekexcel.com/wp-content/uploads/2021/05/Time-difference-in-decimal-hours.png)](https://geekexcel.com/excel-formulas-to-find-the-time-difference-in-hours-as-decimal-value/time-difference-in-decimal-hours/#main)<figcaption id="caption-attachment-45715">The time difference in decimal hours</figcaption>

## Generic Formula:

- If you want to find the time difference in hours as a decimal value, you can use the below formula.

**=[MOD](https://geekexcel.com/how-to-use-excel-mod-function-in-office-365-with-examples/)(end-start,1)\*24**

## Syntax Explanations:

- **MOD** – In Excel, the [**MOD function**](https://geekexcel.com/how-to-use-excel-mod-function-in-office-365-with-examples/) helps to return the remainder of the two numbers after division.
- **Start** – It specifies the starting time on your worksheet.
- **End** – It represents the ending time on your worksheet.
- **Multiplication (\*)** – In this symbol will multiply any two values or numbers.
- **Minus Operator (-)** – This symbol will help to subtract any two values.
- **Comma symbol (,)** – It is a separator that helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.

## Practical Example:

Refer to the below example image.

- First, we will enter the input times in **Column B** and **Column C**.
- Here, we have to calculate the time difference between these two times as decimal hours.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/05/Input-Ranges-53.png)<figcaption id="caption-attachment-45717">Input Ranges</figcaption>

- Select any cell and type the above-given formula.

![Enter the formula](https://geekexcel.com/wp-content/uploads/2021/05/Enter-the-formula1.png)<figcaption id="caption-attachment-45716">Enter the formula</figcaption>

- Finally, press  **ENTER**  to get the result out, if you need, drag the fill handle over range to apply the formula.

![Result](https://geekexcel.com/wp-content/uploads/2021/05/Result-87.png)<figcaption id="caption-attachment-45714">Result</figcaption>

## Wrap-Up:

Hope you like this article on how to calculate the **time difference between two times and return the decimal hours in Excel**. Please feel free to state your **query** or **feedback** for the above article.

Thank you so much for visiting  **[Geek Excel](https://geekexcel.com/)!! **If you want to learn more helpful formulas, check out [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!! **

### Read Ahead:

- **[Excel Formulas to Calculate the Sum of Race Time Splits ~ Quick Tricks!!](https://geekexcel.com/excel-formulas-to-calculate-the-sum-of-race-time-splits/)**
- **[Excel Formulas to Find the Next Working Day ~ Quick Solution!!](https://geekexcel.com/excel-formulas-to-find-the-next-working-day/)**
- **[How to Increment a Value by Row or Column in Excel Office 365?](https://geekexcel.com/how-to-increment-a-value-by-row-or-column-in-excel-office-365/)**
- **[Excel Formulas to Calculate the Sum by Fiscal Year ~ Quick Method!!](https://geekexcel.com/excel-formulas-calculate-sum-by-fiscal-year/)**