Excel: How to Turn a Date into a Month
In this article
You can turn a date into a month in Excel in seconds using a formula or a built-in formatting option. The quickest method is =TEXT(A2,"mmmm"), which returns the full month name (January) as text, while =MONTH(A2) returns the month number (1–12) and =TEXT(A2,"mmm") gives the three-letter abbreviation (Jan). If you only want to display the month while keeping the original date value intact, apply a custom number format like mmmm instead of using a formula.
What You'll Need
- Excel 2016 or later (desktop, web, or mobile) — the formulas and formatting used here work across versions.
- A column of dates that Excel recognises as real dates (not text that looks like a date). If your dates are left-aligned in the cell, they are likely stored as text and need converting first.
- A blank column next to your data to hold the month result.
Step-by-Step
- Check that your dates are real dates. Click a date cell and look at the formula bar. If it shows something like
15/03/2024or3/15/2024, it is a real date. If the cell is left-aligned and the formula bar shows exactly the same text with no date formatting, Excel is treating it as text — see Troubleshooting below. - Pick your output column. Click the first empty cell in the column beside your dates (for example, B2 if your first date is in A2).
- Enter the month formula. Type
=TEXT(A2,"mmmm")and press Enter. This returns the full month name, such as "March". For the short form, use=TEXT(A2,"mmm"). For the month number, use=MONTH(A2). - Copy the formula down. Hover over the bottom-right corner of the cell until the cursor becomes a small black cross, then double-click or drag down to fill the rest of your rows. Excel adjusts the cell reference automatically.
- Convert to values if you need to sort or filter. The TEXT formula returns text, which sorts alphabetically (April, August, December…) rather than chronologically. Select the month column, press Ctrl+C (Cmd+C on Mac), then right-click and choose Paste Special > Values. This replaces the formulas with static text.
- Alternative: keep the date and just show the month. Select your date column, right-click, and choose Format Cells (or press Ctrl+1 / Cmd+1). On the Number tab, choose Custom and type
mmmmin the Type box, then click OK. The underlying date is unchanged, so sorting and calculations still work correctly. - Alternative: group dates into months with a PivotTable. Select your data, go to Insert > PivotTable, drag the date field into the Rows area, right-click any date in the pivot, and choose Group. Select Months (and Years if you have multiple years) and click OK.
Common Mistakes
- Using MONTH when you wanted the name.
=MONTH()returns a number from 1 to 12. If you need "January", use TEXT with "mmmm". - Sorting month names alphabetically. Text results sort A–Z, not January–December. Keep a helper column with the real date or the month number and sort on that instead.
- Assuming TEXT results are dates. The output of TEXT is text. You cannot use it in date arithmetic (such as EDATE or date subtraction) without converting it back.
- Forgetting regional format codes. In some locales the format codes differ; if "mmmm" returns something unexpected, check your Excel language settings under File > Options > Language.
- Typing dates as text. Dates entered as text (for example, copied from another system) will not respond to date formatting or MONTH until converted.
Tips
- Use
=TEXT(A2,"mmm")for compact dashboards and=TEXT(A2,"mmmm")for reports where space allows. - Combine month and year with
=TEXT(A2,"mmmm yyyy")to avoid ambiguity across years. - If you want a month name that respects the user's locale automatically, TEXT does this — MONTH does not.
- For a month-and-year grouping that still sorts correctly, use
=DATE(YEAR(A2),MONTH(A2),1)and format it as "mmmm yyyy". - Keep a backup of the original date column before pasting values over formulas, so you can rebuild if needed.
Troubleshooting
The formula returns a serial number like 45321. The cell is formatted as General or Number. Select the cell, press Ctrl+1, choose Date or Custom, and apply a date format.
The formula returns #VALUE!. The source cell is text, not a date. Convert it with Data > Text to Columns (choose Delimited, then set the column format to Date and pick the correct order, such as DMY or MDY), or use =DATEVALUE(A2) in a helper column first.
The month name is in the wrong language. TEXT follows your Excel display language. Change it under File > Options > Language, or use a lookup table mapping month numbers to your preferred names.
Some rows show the wrong month. Check for dates stored as text with a different regional order — for example, 03/04/2024 could mean 3 April or 4 March depending on locale. Confirm the source format before converting.
Formatting does not change the cell. If the cell is text, number formatting has no effect. Convert to a real date first.
Frequently Asked Questions
How do I get just the month name from a date in Excel?
Use =TEXT(A2,"mmmm") for the full name or =TEXT(A2,"mmm") for the abbreviation. Both return text.
What is the difference between MONTH and TEXT?
MONTH returns a number from 1 to 12 and is useful for sorting and calculations. TEXT returns a formatted label such as "March" and is useful for display.
Can I show the month without changing the underlying date?
Yes. Apply a custom number format of mmmm via Format Cells (Ctrl+1). The cell still contains the full date, so sorting and formulas continue to work.
Why does my month column sort alphabetically?
Because TEXT returns text. Sort on the original date column or on a MONTH() helper column instead, or convert the month to a date value with =DATE(YEAR(A2),MONTH(A2),1).
Does this work in Excel for the web and mobile?
Yes. The TEXT and MONTH functions and the Format Cells dialog are available in Excel for the web and the mobile apps, though menu labels can differ slightly by version and device.
How do I turn a month name back into a date?
Use =DATEVALUE("1 "&B2&" 2024") where B2 holds the month name, then format the result as a date. The year must be supplied because a month name alone has no year.