Excel Formulas to Calculate Days, Hours & Minutes between Two Dates!!
Tags: excelformula, excelformulas
Published: 2021-05-15 02:27:48

---
title: Excel Formulas to Calculate Days, Hours & Minutes between Two Dates!!
published: true
date: 2021-05-13 13:01:20 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-calculate-days-hours-minutes-between-two-dates/
---

For instance, you have two columns of date-time cells, here you need to **calculate the difference in days, hours, and minutes between these two dates**. How can you calculate them quickly?  Today, I will introduce some methods to solve this task for you. Let’s get 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)

[![Get days, hours, and minutes](https://geekexcel.com/wp-content/uploads/2021/05/Get-days-hours-and-minutes.png)](https://geekexcel.com/excel-formulas-to-calculate-days-hours-minutes-between-two-dates/get-days-hours-and-minutes/#main)<figcaption id="caption-attachment-41495">Get days, hours, and minutes</figcaption>

## General Formula:

- You can use the below formula to get the number of days with hours and minutes between the given dates in Excel.

**=[INT](https://geekexcel.com/how-to-use-excel-int-function-in-office-365-with-examples/)(end-start)&” days “&[TEXT](https://geekexcel.com/how-to-use-text-function-in-microsoft-excel-365/)(end-start,”h”” hrs “”m”” mins “””)**

## Syntax Explanations:

- **INT** – The Excel **[INT function](https://geekexcel.com/how-to-use-excel-int-function-in-office-365-with-examples/)** will help to round a given integer number down to the nearest integer.
- **TEXT** – This function helps to convert a number to text in the given format. Read more on the [**TEXT function**](https://geekexcel.com/how-to-use-text-function-in-microsoft-excel-365/).
- **Start** – It specifies the starting range from your worksheet.
- **End** – It represents the ending range from your worksheet.
- **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.

## Example:

Let’s consider the below example image.

- First, we will enter the input values in **Column B** and **Column C**.
- Now we are going to calculate the difference between these input dates.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/05/Input-Ranges-27.png)<figcaption id="caption-attachment-41496">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-formula-44.png)<figcaption id="caption-attachment-41498">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-42.png)<figcaption id="caption-attachment-41497">Result</figcaption>

## Closure:

Here, we have described the simple formula to  **get the days, hours, and minutes between these two dates in Excel**. I hope you like it. If you are stuck or need some help, **comment**  below, and I will try to help as much as possible.

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 Find the Number of Days in a Month ~ Simple Method!!](https://geekexcel.com/excel-formulas-to-find-the-number-of-days-in-a-month-simple-method/)**
- **[How to Compare Two Ranges using Macros (VBA) in Excel 365?](https://geekexcel.com/how-to-compare-two-ranges-using-macros-vba-in-excel-365/)**
- **[Excel Formulas to Extract the Time from Date and Time ~ Quick Method!!](https://geekexcel.com/excel-formulas-to-extract-the-time-from-date-and-time/)**
- **[Enter the Date in Excel Sheet ~ Step-by-Step Procedure!!](https://geekexcel.com/enter-the-date-excel/)**