Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Show Month Name: How to Convert Dates to Months

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To show the month name in Excel, the fastest method is to change the cell format to a custom date code: right-click the cell, select Format Cells, and enter "mmmm" in the Type box. This changes how the date looks without changing the actual data, allowing you to still use the cell in date-based calculations.

Displaying the month name is essential for creating readable reports, organizing monthly budgets, or summarizing sales data. Depending on whether you want to keep the original date value or create a new text string, you can use either cell formatting or a formula. Note that menu labels may differ slightly depending on your version of Excel (Windows, Mac, or Web) or your regional language settings.

What You'll Need

  • A computer with Microsoft Excel installed or access to Excel for the Web.
  • A dataset containing valid dates (Excel recognizes dates as serial numbers, so the cell must be formatted as a date for these methods to work).

Step-by-Step

There are two primary ways to achieve this. Use Method 1 if you want the cell to still behave like a date. Use Method 2 if you want the month name to be treated as a piece of text in a separate column.

Method 1: Using Custom Number Formatting (Visual Change Only)

  1. Select the cell or range of cells containing the dates you want to convert.
  2. Right-click the selected area and choose Format Cells... from the context menu. Alternatively, press Ctrl + 1 (Windows) or Cmd + 1 (Mac).
  3. In the Format Cells dialog box, click the Number tab.
  4. In the Category list on the left, select Custom.
  5. Locate the Type: input box. Delete any existing text in that box.
  6. Type the following code based on your preference:
    • mmmm for the full month name (e.g., January).
    • mmm for the abbreviated month name (e.g., Jan).
  7. Click OK. The cells will now display the month name, but the formula bar will still show the full original date.

Method 2: Using the TEXT Function (Creates a Text String)

  1. Click on an empty cell adjacent to your date (for example, if your date is in cell A2, click cell B2).
  2. Type the following formula: =TEXT(A2, "mmmm").
  3. Press Enter. Excel will extract the month name from the date in A2 and display it as text.
  4. To apply this to a whole column, click the small green square (fill handle) in the bottom-right corner of the cell and drag it down to the end of your data.

Common Mistakes

  • Using the wrong number of "m"s: Using a single m will show the month as a number (1-12). Using mm will show a leading zero (01-12). You must use at least three ms to get the name.
  • Applying formatting to text: Custom formatting only works if Excel recognizes the content as a date. If your date is stored as text (often indicated by a small green triangle in the corner of the cell), the mmmm code will not work.
  • Forgetting the quotes in formulas: In the TEXT function, the format code "mmmm" must be enclosed in double quotation marks. Omitting them will result in a #NAME? error.
  • Assuming TEXT function results are dates: Once you use the =TEXT() formula, the result is a string of text. You cannot use that specific cell for date-based sorting or math without converting it back.

Tips

  • Combine Month and Year: If you have data spanning multiple years, showing only the month can be confusing. Use the custom code mmmm yyyy to display "January 2026".
  • Fast Sorting: If you use Method 2 (TEXT function), sorting your data alphabetically will put April before January. To keep dates in chronological order, it is better to use Method 1 or keep a hidden column with the original dates to use as the sort key.
  • Quick Access: You can use the Ctrl + 1 shortcut to jump straight to the Format Cells menu, saving you several clicks.

Troubleshooting

The cell shows #VALUE!
This usually happens when the TEXT function is pointing to a cell that isn't actually a date. Check if the date is aligned to the left of the cell; if it is, Excel thinks it is text. Try re-typing the date or using the "Text to Columns" tool to convert it to a date format.

The month name doesn't change when I change the date
If you are using the TEXT formula and the result isn't updating, check if your workbook is set to "Manual Calculation." Go to the Formulas tab > Calculation Options and ensure Automatic is selected.

The cell shows "January" for every single date
This happens if the cell you are referencing is empty. Excel treats a blank cell as "0," which in Excel's date system is January 0, 1900. Ensure your formula is referencing the correct cell containing the date.

Frequently Asked Questions

Can I show the month name as a number instead?

Yes. In the Custom Format box, use m for 1-12 or mm for 01-12. Alternatively, use the formula =MONTH(A2) to return the month as a digit.

Does this work in Google Sheets?

Yes, the process is almost identical. You can use Format > Number > Custom date and time, or use the =TEXT(A2, "mmmm") formula.

How do I get the month name to start with a capital letter?

Excel usually capitalizes the first letter by default. If it doesn't, or if you want the whole word capitalized, wrap your formula in the PROPER or UPPER functions: =PROPER(TEXT(A2, "mmmm")).

Can I extract the month name without a formula?

Yes, you can use the Flash Fill feature. Type the month name for the first two rows manually in a new column, then press Ctrl + E. Excel will detect the pattern and fill the rest of the column for you.

Will changing the format affect my Pivot Tables?

If you use Method 1 (Formatting), the Pivot Table still sees the full date. If you use Method 2 (TEXT function), the Pivot Table will treat the month as a text category, which is often easier for grouping data by month.