MONTH Function in Excel: Month Number From a Date

MONTH Function in Excel: Month Number From a Date featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 28 September 2026

Date & TimeLevel: BeginnerAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. Example 3
  6. MONTH in practice
  7. Where you will use it
  8. Worked example
  9. Mistakes people make
  10. Related functions
  11. Continue learning

MONTH returns 1 for January through 12 for December β€” the building block for monthly reports and fiscal-period logic.

Advertisement

Syntax

=MONTH(serial_number)
Argument What it means
serial_number A real date.

Examples

Example 1

=MONTH(A2)

7 for July.

Example 2

=MOD(MONTH(A2)-4,12)+1

Fiscal month: April = 1 … March = 12.

Example 3

=TEXT(A2,"mmm")

Month name instead of a number.

MONTH in practice

Where you will use it

  • Monthly totals with SUMPRODUCT or pivots
  • Financial-year logic (month < 4)
  • Seasonality analysis

Worked example

DateFormulaResult
04-Oct-2026=MONTH(A2)10
15-Feb-2027=MONTH(A3)2
01-Apr-2026=MONTH(A4)4

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Text datesConvert first
Needing the month nameUse TEXT(date,"mmmm")

YEAR Β· EOMONTH Β· TEXT

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Dates & times22 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 34 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong