Excel Formulas to Find the Number of Days in a Month ~ Simple Method!!
Tags: excelformula, excelformulas
Published: 2021-05-12 05:03:33

---
title: Excel Formulas to Find the Number of Days in a Month ~ Simple Method!!
published: true
date: 2021-05-11 09:14:39 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-find-the-number-of-days-in-a-month-simple-method/
---

Even a small kid knows how many days present in a month. But when you work on Excel you want automation as much as possible. So here, we will learn the simple formula to **get the number of days in a given month in Excel**. Let’s jump 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)

[![Find number of days in a month](https://geekexcel.com/wp-content/uploads/2021/05/Find-number-of-days-in-a-month.png)](https://geekexcel.com/excel-formulas-to-find-the-number-of-days-in-a-month-simple-method/find-number-of-days-in-a-month/#main)<figcaption id="caption-attachment-39779">Find the number of days in a month</figcaption>

## General Formula:

- Use the below formula to get the number of days in a month.

**=[DAY](https://geekexcel.com/how-to-use-excel-day-function-in-office-365-with-examples/)([EOMONTH](https://geekexcel.com/how-to-use-eomonth-function-in-microsoft-excel-365/)(date,0))**

## Syntax Explanations:

- **DAY** – In Excel, the **[DAY function](https://geekexcel.com/how-to-use-excel-day-function-in-office-365-with-examples/)** is used to return the day of the date.
- **EOMONTH** – This function helps to return the last day of the month after adding/subtracting a specified number of months to a date. Read more on the **[EOMONTH function](https://geekexcel.com/how-to-use-eomonth-function-in-microsoft-excel-365/)**.
- **Date**  – It represents the input 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.

- First, we will enter the input dates in **Column B**.
- Here we are going to find the number of days in a specific month.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/05/Input-Ranges-19.png)<figcaption id="caption-attachment-39780">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-33.png)<figcaption id="caption-attachment-39778">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-31.png)<figcaption id="caption-attachment-39781">Result</figcaption>

## Wind-Up:

In this chapter, we have described the simple formula used to **get the number of days in a given month 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/)**