SheetsLessons
Date & Time function

MONTH function in Google Sheets

MONTH returns the month of a date as a number from 1 (January) to 12 (December). Use it to group data by month, or combine it with YEAR when the data covers more than one year.

Syntax

=MONTH(date)
date
The date to read.

Practice MONTH

Task 1 of 1

For the monthly report, return the month number (1 to 12) of the first order. Answer in C2.

C2
fx

Tip: while typing a formula, click a cell or drag across cells to insert references. Press Enter to check, and Tab to accept a function suggestion.

MONTH examples

Each example below runs against this sample sheet. The results are calculated by the same engine as the practice grid.

ABCD
1TaskStartDueHolidays
2Kickoff1/5/20261/9/20261/19/2026
3Design1/12/20262/13/20262/16/2026
4Build2/16/20264/30/20265/25/2026
5Launch5/4/20265/29/2026
Project schedule (column D lists public holidays)
FormulaResultWhat it shows
=MONTH(C3)2The month the Design task is due.
=MONTH(B5)5May is month 5.
=TEXT(B5, "mmmm")MayFor the month's name instead of its number, use TEXT.
=YEAR(B4)&"-"&TEXT(MONTH(B4), "00")2026-02A sortable year-month key.

Tips and common mistakes

  • MONTH ignores the year, so January 2025 and January 2026 both return 1. Group by YEAR and MONTH together when that matters.
  • For month names, use TEXT(date, "mmmm") or "mmm" for the short form.

Related functions