Google Sheets MONTH function
Returns the month number of a date, from 1 to 12. In Spanish Sheets it is called MES.
Syntax
English Sheets
=MONTH(date)
Spanish Sheets (Mexico locale)
=MES(fecha)
Spanish Sheets (Spain, Latin America)
=MES(fecha)
| Argument | What it is |
|---|---|
| date | The date or the cell holding it. |
Example
To Sheets a date is a number: the days since December 30, 1899 (10/30/2026 is 46325). That is why dates can be added and subtracted. YEAR, MONTH and DAY pull out each part.
=MONTH(A2)
Common mistake
For the month’s name use TEXT(A2,"mmmm") instead of MONTH.
About Ads
This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.
Ads help us keep WebHerramientas free for everyone
Practice MONTH
Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons
YEAR, MONTH and DAY
To Sheets a date is a number: the days since December 30, 1899 (10/30/2026 is 46325). That is why dates can be added and subtracted. YEAR, MONTH and DAY pull out each part.
In B2, extract the year from the sale date.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Sale date | Year | Month | |
| 2 | 11/28/2025 | |||
| 3 | 01/15/2026 | |||
| 4 | 03/02/2026 | |||
| 5 | 07/19/2026 | |||
| 6 | 12/24/2026 | |||
| 7 |
Tip: while typing, click a cell or drag across several to insert their reference.
Frequently asked questions
- What is MONTH called in Spanish?
- In Spanish Google Sheets it is MES. The formula =MONTH(A2) is written =MES(A2) (or with commas under a Mexico locale).
- Why does MONTH use semicolons in some spreadsheets?
- It depends on each spreadsheet's locale, under File > Settings. Where the comma is the decimal mark (Spain, much of South America), arguments are separated by semicolons. Mexico and United States locales use commas.
- What is the most common MONTH mistake?
- For the month’s name use TEXT(A2,"mmmm") instead of MONTH.