MONTH Function: A Brief

The MONTH function in Excel is used to extract the month number (1 to 12) from a given input date. The MONTH function will return a #VALUE! error if the input is not a valid Excel date. It will return a #NUM! error if the input number is outside the acceptable range for Excel date values.

Objective

Value Returned by function

Aim to return a valid month as number

MONTH Function will extract the month from the given input date and return the month number as the numerical value lies between 1-12!

MONTH Function: A Syntax

=MONTH(date)

This MONTH Function was introduced in the Excel 2003 version.

Basic Example of using MONTH Function:

In the below example, I’ve covered most of the common ways to use the MONTH function are shown using different types of input values.

Formula Used

=MONTH(B4)

S.no

Input Date

Output Result

Comments

1

10 March 2025

3

Valid date, returns month number

2

21 July 2023

7

Ignores the Time and extracts month value from the date

3

01 December 2024

12

Given date is a leap year, still extracts the month value

4

This is a Text

#VALUE!

The input is Text not a date – causes #VALUE! error

5

-999999

#NUM!

The input Number is too large for valid date

Example Explanation:

Using MONTH Function with other Nested Functions:

The following examples explains, how can we use the MONTH function with other Excel functions for multiple scenarios.

Input Date : 10-03-2025

S.no

Used Nested Functions

Scenarios

Output

Formula Used

Comments

1

TODAY, MONTH

Get the current month number

4

=MONTH(TODAY())

Returns the month of today’s system date

2

TEXT, MONTH

Convert to month name using input

March

=TEXT(C3,”mmmm”)

Returns full month name from the date in C2

3

IF, MONTH

Check if input month is March

Yes

=IF(MONTH(C3)=3,”Yes”,”No”)

Returns Yes if input month is March

4

DATE, MONTH

Extract month from custom date

12

=MONTH(DATE(2025,12,25))

Hardcoded date used inside formula, extracts month number

5

EDATE, MONTH

Add 2 months to input and get month

5

=MONTH(EDATE(C3,2))

Input March month + 2 months = May = 5

6

NOW, MONTH

Get month from current date and time

4

=MONTH(NOW())

Works the same even with time portion

Example Explanations:

That’s it. This tutorial is originally published on How to Use Excel MONTH Function?