MONTH Function in Google Sheets: Formula, Examples & Troubleshooting
Learn the MONTH formula in Google Sheets: extract the month number from a date, with reproducible examples, expected answers and compatibility cautions.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: MONTH(date) returns a numeric month from 1 through 12. =MONTH(DATE(2026,10,11)) returns 10, not the word October or a complete date. Use a number format for the extracted component.
Availability and version history
- Introduced: Introduction version not established by the official history reviewed.
- Availability: Documented in the rolling Google Sheets service; examples use the web spreadsheet workflow.
- Checked: October 14, 2026; official MONTH reference. Documentation check, not a new native test; existing example-verification notes retain their scope.
Syntax and input setup
=MONTH(date)
Use a validated date cell, DATE expression or appropriate numeric date serial. The examples use English function names and comma separators. Check File → Settings → Locale for a shared spreadsheet’s date and number conventions.
The output is an integer component. Applying a normal date format to 10 reinterprets that number as a serial; it does not produce a faithful month-only display of the original October date. Use TEXT with an appropriate date format when a month-name string is actually required.
Two original worked examples
=MONTH(DATE(2026,10,11))
=MONTH(DATE(2024,2,29))
Expected results are 10 and 2. October is month ten, and leap day is in February. A leap year changes February’s day count, not its month number.
Advanced example: create quarter numbers
For a date in A2:
=INT((MONTH(A2)-1)/3)+1
Expected quarters for dates in January, March, April, September and December are 1, 1, 2, 3 and 4. Subtracting one shifts the month numbers to a zero-based range before division; INT groups each set of three.
A quarter number alone repeats every year. Keep the year as another key when reporting multiple years. Otherwise April 2025 and April 2026 both fall in quarter two and can be combined unintentionally.
Advanced example: group by a year-specific month
Put these independent date formulas in A2:A5:
| Date | Expected month number | Expected month-start key |
|---|---|---|
| =DATE(2025,10,8) | 10 | 2025-10-01 |
| =DATE(2026,10,11) | 10 | 2026-10-01 |
| =DATE(2026,11,2) | 11 | 2026-11-01 |
| =DATE(2027,1,5) | 1 | 2027-01-01 |
=DATE(YEAR(A2),MONTH(A2),1)
Filled down, this creates the listed date-valued keys. Format those keys as dates, unlike MONTH’s numeric output. The first two records have equal MONTH results but different month-start keys, preserving their separate years.
A compact numeric label is another deliberate option: =YEAR(A2)*100+MONTH(A2) gives 202510, 202610, 202611 and 202701. These are labels, not spreadsheet date serials; do not date-format them.
Advanced example: number fiscal months from July
=MOD(MONTH(A2)-7,12)+1
For dates in July, October, January and June, expected fiscal-month numbers are 1, 4, 7 and 12. This implements a specified July start. It does not change the underlying calendar date or determine how the fiscal year is named.
Keep the starting month and year-label policy explicit in a reporting specification. A plain month number is not enough to communicate those choices to someone receiving an exported report.
Advanced check: count month boundaries without losing the year
For A8=DATE(2025,10,20) and B8=DATE(2026,1,19):
=MONTH(B8)-MONTH(A8)
=12*(YEAR(B8)-YEAR(A8))+MONTH(B8)-MONTH(A8)
Expected results are −9 and 3. The second counts the change in year/month labels, not completed monthly anniversaries: January 19 is still before the twentieth. Day-level schedule rules need an explicit additional definition.
Source parsing limits and troubleshooting
Google includes a quoted-date sample while also warning that function inputs do not receive the same automatic conversion as direct cell entry. This guide therefore does not claim that every quoted date is rejected or accepted in every locale. Its worked controls use DATE and numeric date cells.
The unquoted MONTH(10/10/2000) expression is division. Its quotient is 0.0005, despite the source warning printing 0.005. MONTH(DATE(2000,10,10)) has the intended result 10. No historical output for the divided number is asserted here.
Imported text parsing, non-Gregorian display conventions and complete blank/error coercion remain specific unverified cases. Start with a controlled DATE expression and check whether a wrong result is an input issue, a grouping issue or a formatting issue.
Related guides and verification
Related guides already published for this function: Microsoft Excel | LibreOffice Calc | Apache OpenOffice Calc | Gnumeric | ONLYOFFICE Spreadsheet Editor
A guide in another program is a separate documented reference, not a guarantee of identical parsing, historical serials or native error displays. Use the function comparison tool to inspect guide coverage.
The complete guide and original examples were reviewed on October 14, 2026 against direct Google documentation. Expected calendar and numeric outputs were independently calculated; no native Google Sheets execution, mobile-client certification or complete input-conversion test was performed.