Google Sheets Month Name Formula: 3 Easy Ways
In this article
To get the month name from a date in Google Sheets, use =TEXT(A1,"MMMM") for the full name (January) or =TEXT(A1,"MMM") for the three-letter abbreviation (Jan). That single formula works in any cell and updates automatically when the date changes. If you need the month name from a date that is stored as text rather than a real date value, you will first need to convert it with DATEVALUE or TO_DATE, then apply the TEXT formula. The steps below cover the direct formula, the alternative MONTH-and-lookup method, and how to fix the most common errors.
What You'll Need
- A Google account with access to Google Sheets (the free web version or the mobile app).
- A spreadsheet containing at least one column of dates. These should be real date values, not plain text that looks like a date.
- Basic familiarity with entering formulas: typing an equals sign in a cell and pressing Enter.
Note that menu labels and formula behaviour can differ slightly between the desktop browser version and the mobile app, and between regions where date formats vary. The steps below describe the desktop browser version; the mobile app accepts the same formulas but the formula bar and cell selection work differently.
Step-by-Step
- Confirm your dates are real dates. Click a cell containing a date and look at the formula bar. If it shows something like
2024-03-15or3/15/2024, it is a real date. If it shows an apostrophe before the date or the cell is left-aligned, it is text and the TEXT formula will return an error or the wrong result. You can convert text dates with=DATEVALUE(A1)in a helper column first. - Select an empty cell next to the first date, for example B1 if your date is in A1.
- Type the full-month formula:
=TEXT(A1,"MMMM")and press Enter. The cell now shows the full month name, such as March. The four M's stand for the full month name; the quotes are required. - For the abbreviated month, type
=TEXT(A1,"MMM")instead. This returns Mar. Three M's give the short form, four give the full form. - Fill the formula down. Click the small square at the bottom-right corner of the cell (the fill handle) and drag down, or double-click it to fill to the end of the adjacent data. Each row now shows the month name for its date.
- Optional: combine month and year. If you want labels like March 2024, use
=TEXT(A1,"MMMM YYYY"). The YYYY placeholder returns the four-digit year. - Optional: convert the result to plain text. The TEXT function already returns text, so you can copy the column and use Paste special > Values only if you want to remove the formula and keep the names.
If you prefer a formula that does not rely on TEXT, you can use =CHOOSE(MONTH(A1),"January","February","March","April","May","June","July","August","September","October","November","December"). MONTH returns a number from 1 to 12, and CHOOSE picks the matching name from the list. This is longer but useful when you need to customise the names or use a different language.
Common Mistakes
- Using lowercase or mismatched placeholders. Google Sheets is case-insensitive for M and Y in TEXT, but using the wrong number of letters (for example
"MM"instead of"MMMM") returns the month number with a leading zero, not the name.MMgives 03,MMMgives Mar,MMMMgives March. - Forgetting the quotes.
=TEXT(A1,MMMM)without quotes returns an error. The format code must be a text string in double quotes. - Applying the formula to text dates. If your date column was imported from a CSV or typed with an apostrophe, TEXT may return the original text or an error. Convert with DATEVALUE first.
- Dragging the formula without locking references. If you use a helper cell for the format code, use absolute references like
$B$1so the fill handle does not shift them. - Expecting the month name to sort chronologically. Month names are text, so sorting A to Z gives April, August, December and so on. Keep the original date column for sorting and use the month name only for display or grouping.
Tips
- Use
=TEXT(A1,"mmm")in lowercase if you prefer; the result is still capitalised according to your spreadsheet locale. - To show the month name and day, use
=TEXT(A1,"MMMM D"), which returns March 15. - If you need the month name in another language, TEXT respects the spreadsheet's locale setting. Change it under File > Settings > Locale, and the same formula returns the local month names.
- For a pivot table or chart label, create a helper column with the month name formula, then use that column as the row label. Keep the date column nearby for sorting.
- Use
=ARRAYFORMULA(TEXT(A1:A100,"MMMM"))in a single cell to fill an entire column at once, provided the range is correct and the cells below are empty.
Troubleshooting
If the formula returns an error, check these in order. First, confirm the cell reference points to a real date: click the source cell and look at the formula bar. If it shows text, wrap it in DATEVALUE. Second, check for typos in the format code: it must be a quoted string such as "MMMM" with no spaces. Third, if you see #VALUE!, the source cell likely contains text that cannot be parsed as a date; try =TEXT(DATEVALUE(A1),"MMMM"). Fourth, if the result is a number instead of a name, you probably used MM or M instead of MMM or MMMM. Fifth, if the fill handle copies the same month to every row, your reference is absolute (for example $A$1) when it should be relative (A1). Finally, if the formula works in one sheet but not another, check that the second sheet's locale is set the same way under File > Settings.
If that did not work, try retyping the formula from scratch in a clean cell rather than copying it, and test with a known date such as =TEXT(DATE(2024,3,15),"MMMM"), which should return March. If that test fails, the issue is with the formula syntax or the sheet's settings, not your data.
Frequently Asked Questions
How do I get the month name from a date in Google Sheets?
Use =TEXT(A1,"MMMM") for the full name or =TEXT(A1,"MMM") for the abbreviation, where A1 is the cell containing the date.
Why does my formula return a number instead of the month name?
You are likely using MM or M in the format code. Use three or four M's: MMM for Jan and MMMM for January.
Can I get the month name without the TEXT function?
Yes. Use =CHOOSE(MONTH(A1),"January","February",...) with all twelve names listed, or a lookup table keyed on the MONTH number.
How do I show the month name and year together?
Use =TEXT(A1,"MMMM YYYY"), which returns a label such as March 2024.
Why does the month name not sort correctly?
Month names are text, so alphabetical sorting puts April before August. Sort by the original date column instead, or add a helper column with =MONTH(A1) and sort on that number.
Does the formula work in the Google Sheets mobile app?
Yes, the same TEXT formula works in the Android and iOS apps. Tap the cell, tap the formula bar, type the formula, and confirm. The fill handle is replaced by a copy-and-paste or drag gesture depending on the app version.