Excel Formulas to Get the Number of Days Between Two Dates!!
Tags: excelformula, excelformulas
Published: 2021-05-15 02:26:53

---
title: Excel Formulas to Get the Number of Days Between Two Dates!!
published: true
date: 2021-05-13 06:41:14 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-get-the-number-of-days-between-two-dates/
---

Excel has some powerful functions to calculate the number of days between two dates in Excel. In this tutorial, you’ll learn how to **calculate the number of days between two dates in Excel**. Let’s begin!! 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 between two dates](https://geekexcel.com/wp-content/uploads/2021/05/Get-days-between-two-dates.png)](https://geekexcel.com/excel-formulas-to-get-the-number-of-days-between-two-dates/get-days-between-two-dates/#main)<figcaption id="caption-attachment-41382">Get days between two dates</figcaption>

## General Formula:

- Use the below formula to get the number of days between two dates in Excel.

**=later\_date-earlier\_date**

## Syntax Explanations:

- **Later\_date** – It specifies the ending date from your worksheet.
- **Earlier\_date** –  This value represents the starting date from your worksheet.
- **Minus Operator (-)** – This symbol will help to subtract any two values.

## Example:

Refer to the below example image.

- First, we will enter the input dates in **Column B** and **Column C**.
- Here we are going to find the number of days between them.

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

- Select the cell where you want to display the result and type the above-given formula.

![Enter the formula](https://geekexcel.com/wp-content/uploads/2021/05/Enter-the-formula-42.png)<figcaption id="caption-attachment-41381">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-40.png)<figcaption id="caption-attachment-41380">Result</figcaption>

## Wrap-Up:

In this chapter, we have described the simple formula used to  **get the number of days between two dates in Excel**. Hope you like it. If you have any other  **ideas**  or  **question** , do share with us here in the  **comments**  section below.

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 Also:

- **[Excel Formulas to Test the Date is Workday or Not ~ Quick Tricks!!](https://geekexcel.com/excel-formulas-to-test-the-date-is-workday-or-not/)**
- **[How to search for a Value in All Tabs in Excel Office 365?](https://geekexcel.com/how-to-search-for-a-value-in-all-tabs-in-excel-office-365/)**
- **[Excel Formulas to Convert the Text Timestamps into Time ~ Easy Ways!!](https://geekexcel.com/excel-formulas-to-convert-the-text-timestamp-into-time/)**
- **[Excel Formulas to Extract the Date from Date and Time ~ Easy Tips!!](https://geekexcel.com/excel-formulas-to-extract-the-date-from-date-and-time/)**