Imported reports often store the month as a word rather than a date. MATCH looks the first three letters up in an array constant of month abbreviations and returns the position, which is the month number. Because MATCH ignores case, March, MAR and mar all return 3.
The text March returns month 3, which falls in Q1.
The example
Three worked examples. Change any yellow input in the practice workbook and the results recalculate.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Case | Month | Month # | Quarter |
| 2 | Row 1 | March | 3 | Q1 |
| 3 | Row 2 | sep | 9 | Q3 |
| 4 | Row 3 | December | 12 | Q4 |
The formula
Here is the formula, built directly from the inputs:
How it works
Here is the logic, one piece at a time:
LEFT(B2,3)takes the abbreviation.- The array constant lists the twelve months in order.
MATCH(...,0)returns the position, which is the month number.ROUNDUP(C2/3,0)turns the month number into a quarter.
Keep every number in its own input cell so the formula never needs editing.
Try it: interactive demo
Enter the values below.
Variations
Build a real date
First of the month in a given year.
Shortcut with DATEVALUE
Let Excel parse the name.
Pitfalls & errors
Misspellings return #N/A; wrap in IFERROR to flag them.
Leading spaces shift LEFT's three letters; wrap the text in TRIM.
The same array trick works for weekday names with a seven-item list.
Practice workbook
Frequently asked questions
Is MATCH case-sensitive?
Why only three letters?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class