Convert Date to Month in Excel: Step-by-Step
In this article
Working with dates in Excel often means you need to extract just the month for reporting, sorting, or grouping. This guide shows you several reliable ways to convert a full date (like 15/04/2025) into the month name or month number, depending on what your spreadsheet needs. You'll learn formulas, formatting tricks, and how to avoid common pitfalls.
What You'll Need
- Microsoft Excel (2010 or later; the steps work in Excel for Microsoft 365, Excel 2019, 2016, and similar versions)
- A column containing valid Excel dates (recognized by Excel as dates, not text)
- An empty column or cell where you want the month result to appear
Step-by-Step
There are three main methods, each suited to a different output. Choose the one that matches your goal.
Method 1: Extract the Month Number (e.g., 4 for April)
- Click on the cell where you want the month number to appear (for example, B2).
- Type the formula:
=MONTH(A2)(assuming your date is in cell A2). - Press Enter. The cell shows the month as a number (1–12).
- Drag the fill handle (the small square at the bottom-right of the cell) down to copy the formula to other rows.
Method 2: Show the Full Month Name (e.g., April)
- Select the cell where you want the month name.
- Type the formula:
=TEXT(A2,"mmmm")– the lowercase "mmmm" returns the full month name. - Press Enter. The cell displays "April" (or whatever month your date falls in).
- Copy the formula down for all dates.
Method 3: Show the Abbreviated Month Name (e.g., Apr)
- In the target cell, type:
=TEXT(A2,"mmm")– three m's give the three-letter abbreviation. - Press Enter and copy down.
Method 4: Use Formatting (Without Changing the Value)
If you don't need a separate column and just want to display the month instead of the full date:
- Select the cells containing your dates.
- Right-click and choose Format Cells (or press Ctrl+1).
- Go to the Number tab, select Custom.
- In the Type box, enter
mmmmfor the full month name, ormmmfor the abbreviation. - Click OK. The dates now appear as month names, but the underlying value remains the full date.
Common Mistakes
- Using the wrong letter case in TEXT:
MMgives minutes, not months. Always use lowercasemfor months. - Dates stored as text: If your "date" is actually text (e.g., "2025-04-15" as a string), the MONTH function returns #VALUE!. You'll need to convert the text to a real date first using DATEVALUE or Text to Columns.
- Formatting doesn't change the value: When you use Format Cells, the cell still contains the full date. If you later use that cell in a formula expecting a month number, you'll get the date's serial number, not 1–12.
- Copying formulas with relative references: If you copy a formula without the $ sign, the cell reference changes. That's usually fine, but if you want to lock a specific cell, use $A$2.
Tips
- For a quick month number without a formula, use the MONTH function in a helper column – it's the simplest and most reliable.
- To get the month name from a date in another cell, you can also use
=CHOOSE(MONTH(A2),"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")– this gives you full control over the abbreviation. - If you need the month in a text string like "Apr-25", use
=TEXT(A2,"mmm-yy"). - Use the Fill Series feature to quickly generate a list of months: type January in a cell, then drag the fill handle while holding the right mouse button, and choose Fill Months.
- For regional date formats, Excel automatically adjusts – the MONTH function always returns the month number regardless of how the date is displayed.
Troubleshooting
Problem: The formula returns #VALUE!
This almost always means your cell contains text, not a real date. Check if the cell is left-aligned (text) instead of right-aligned (dates). Convert text to date using =DATEVALUE(A2) or use the Text to Columns wizard (Data tab > Text to Columns > Delimited > Next > Next > Date: YMD).
Problem: The month name appears as a number (e.g., 4 instead of April).
You likely used MONTH which returns a number. Use TEXT instead. Also, double-check that you didn't accidentally format the cell as a number.
Problem: The month is one less or one more than expected.
This can happen if your system's date settings interpret the date differently (e.g., US vs. UK format). Ensure the date is entered correctly. For example, 04/05/2025 is May 4 in the US but April 5 in the UK. Use a clear format like 2025-04-05 to avoid ambiguity.
Problem: The formula works but shows a serial number like 45000.
That's the underlying date value. Change the cell format to a date or text format. Right-click > Format Cells > Number > Date, or use the TEXT function to display the month name.
Frequently Asked Questions
Q: How do I convert a date to just the month number in Excel?
A: Use the formula =MONTH(A2) where A2 contains the date. It returns a number from 1 to 12.
Q: How do I get the month name from a date in Excel?
A: Use =TEXT(A2,"mmmm") for the full name (e.g., April) or =TEXT(A2,"mmm") for the abbreviation (e.g., Apr).
Q: Can I convert a date to a month without using a formula?
A: Yes, you can use Format Cells > Custom and type mmmm to display the month name. This changes the display only, not the underlying value.
Q: Why is my MONTH function returning #VALUE!?
A: The cell likely contains text, not a real date. Use DATEVALUE to convert it, or re-enter the date properly.
Q: How do I convert a column of dates to month names in bulk?
A: Enter the TEXT formula in the first cell, then double-click the fill handle to copy it down the entire column. Or use Format Cells on the whole column.
Q: Is there a way to get the month name as text in a formula that also works in older Excel versions?
A: Yes, the TEXT function works in Excel 2007 and later. For compatibility with very old versions, you can use =CHOOSE(MONTH(A2),"January","February",...).