Excel Formulas to Calculate the Number of Months Between Two Dates!!
Tags: excelformula, excelformulas
Published: 2021-05-19 02:57:48

---
title: Excel Formulas to Calculate the Number of Months Between Two Dates!!
published: true
date: 2021-05-18 13:53:05 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-calculate-the-number-of-months-between-two-dates/
---

If you manage multiple projects, you would have a need to know how many months have passed between two dates. In this tutorial, I will give you some formulas that you can use to **get the number of months between two dates**. So let’s get started!! 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)

[![Months between two dates](https://geekexcel.com/wp-content/uploads/2021/05/Months-between-two-dates.png)](https://geekexcel.com/excel-formulas-to-calculate-the-number-of-months-between-two-dates/months-between-two-dates/#main)<figcaption id="caption-attachment-43788">Months between two dates</figcaption>

## Generic Formula:

- You can use the below formula to get the number of months between two dates in Excel.

**=[DATEDIF](https://geekexcel.com/how-to-use-datedif-function-in-microsoft-excel-365/)(start\_date,end\_date,”m”)**

## Syntax Explanations:

- **DATEDIF** – In Excel, the DATEDIF function helps to calculate the difference between the two dates.
- **Start\_date**  – It specifies the starting range from your worksheet.
- **End\_date**  – 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.

## Practical Example:

Refer to the below example image.

- Here, we will enter the input dates in **Column B** and **Column C**.
- Now we are going to calculate the number of months between these two dates.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/05/Input-Ranges-35.png)<figcaption id="caption-attachment-43787">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-58.png)<figcaption id="caption-attachment-43786">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-55.png)<figcaption id="caption-attachment-43785">Result</figcaption>

## Verdict:

In this chapter, we have learned the simple formula to get **the number of months between two dates in Excel**. I hope that this article is helpful for you. Mention your **queries** in the comment box 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:

- **[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 Calculate How Many Days Open? Easy Method!!](https://geekexcel.com/excel-formulas-to-calculate-how-many-days-open-easy-method/)**
- **[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/)**