MONTH function
Returns the month number (1 for January to 12 for December) from a date.
Available in All versions of Excel (Windows and Mac), Excel for Microsoft 365, Excel for the web
In every Excel versionWorks in Google Sheets
Syntax
MONTH(serial_number)| Argument | What it means | |
|---|---|---|
serial_number | Required | A date, a formula that returns a date, or a date serial number. |
Returns: A whole number from 1 to 12.
How MONTH works
MONTH returns the month of a date as a number from 1 to 12. It is the building block for monthly reporting: counting orders in March, working out the quarter or fiscal period of a transaction, or creating a helper column you can pivot or filter on.
Because the result is a number, you can do arithmetic with it — ROUNDUP(MONTH(A2)/3,0) gives the calendar quarter — or feed it back into DATE. If you want the month name ("March" or "Mar"), use TEXT(A2,"mmmm") or simply apply a custom number format to the date itself.
Examples
1Month number of an order
| A | B | |
|---|---|---|
| 1 | Order date | Month |
| 2 | 2026-03-15 | 3 |
Result: 3
March is the third month, so MONTH returns 3.
2Calendar quarter of a sale
| A | B | |
|---|---|---|
| 1 | Sale date | Quarter |
| 2 | 2026-08-19 | Q3 |
Result: Q3
August is month 8; 8 ÷ 3 = 2.67, rounded up to 3, so the sale belongs to Q3.
3Count orders placed in March
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Order date | Amount | ||
| 2 | 2026-03-02 | 310 | 3 | |
| 3 | 2026-02-27 | 125 | ||
| 4 | 2026-03-18 | 480 | ||
| 5 | 2026-04-01 | 95 | ||
| 6 | 2026-03-30 | 260 |
Result: 3
MONTH(A2:A6) returns {3;2;3;4;3}. Comparing with 3 gives TRUE/FALSE, -- turns them into 1/0, and SUMPRODUCT adds them up: three March orders.
4Fiscal year starting in April
| A | B | |
|---|---|---|
| 1 | Invoice date | Fiscal year |
| 2 | 2026-11-20 | FY2027 |
Result: FY2027
For a year running April–March and named after the year it ends, any month from April onward belongs to next year's label. MONTH is 11, so TRUE (1) is added to 2026.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#VALUE! | The argument is text that cannot be read as a date. | Convert with DATEVALUE. |
Returns 1 for empty cells | A blank cell counts as serial 0, which Excel displays as 0 January 1900 (month 1). | Test for blanks first: IF(A2="","",MONTH(A2)). |
Tips
- When counting by month across several years, also test the year — or compare against month start/end dates with SUMIFS and EOMONTH.
TEXT(A2,"mmm")returns "Mar"; the language follows your Office settings.
Questions
How do I get the month name from a date?
Use =TEXT(A2,"mmmm") for "March" or "mmm" for "Mar". MONTH itself always returns a number.
Why does MONTH return 1 for a blank cell?
Excel treats a blank cell as date serial 0 ("0 January 1900"), so its month is 1. Check for blanks first.
Google Sheets
MONTH also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
MONTH in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | MĚSÍC |
| Danish | MÅNED |
| Dutch | MAAND |
| Finnish | KUUKAUSI |
| French | MOIS |
| German | MONAT |
| Hungarian | HÓNAP |
| Italian | MESE |
| Norwegian (Bokmål) | MÅNED |
| Polish | MIESIĄC |
| Portuguese (Brazil) | MÊS |
| Portuguese (Portugal) | MÊS |
| Russian | МЕСЯЦ |
| Spanish | MES |
| Swedish | MÅNAD |
| Turkish | AY |
Recipes that use MONTH
- How to add months to a date in Excel
- How to convert a date to text in Excel
- How to get the first and last day of the month in Excel
- How to get the quarter from a date in Excel
- How to sum values by month in Excel