Need Excel to display dates in month-year (MM YYYY) format? The simplest way is to use the TEXT function or format cells as text—this avoids date-time quirks and ensures consistent output. If you have dates in a column, you can apply this to an entire range with minimal effort, or manually format individual cells for precision.

What You'll Need

  1. An open Microsoft Excel file with dated data
  2. Your preferred method: TEXT function (for dynamic adjustments), or cell formatting (for one-time changes)
  3. A cell where you want the formatted result (e.g., A2)

Step-by-Step

  1. Method 1: Use the TEXT Function (Dynamic Adjustment)
    1. Select the cell where you want the formatted date (e.g., A2).
    2. Type the formula: =TEXT(A1, "mm yyyy")
      1. A1 is the cell containing your date (Excel automatically interprets it as a date).
      2. Replace "mm yyyy" with your desired format string (e.g., "m/yy" for MM/YY).
    3. Press Enter. Excel will display the date in MM YYYY format.
  2. Method 2: Format Cells as Text (One-Time Change)
    1. Right-click the cell or column (e.g., cell A2) and choose Format Cells.
    2. Go to the Custom tab.
    3. Enter the format: mm yyyy (no quotes).
    4. Click OK. All dates in the selected cells will now display as MM YYYY.
  3. Method 3: Apply to an Entire Column (Bulk Formatting)
    1. Select the column with dates (e.g., A2:A100).
    2. Right-click the selected cells and choose Format Cells.
    3. In the Custom section, type mm yyyy.
    4. Press OK. All cells in the range will convert to MM YYYY.
      1. If the column already contains text or numbers, Excel will overwrite them—double-check before applying to large ranges.

Common Mistakes

  1. Forgetting to Replace Date Cells
    1. If your formula references a cell with text or a number (e.g., "2023" instead of a date), the plugin will output nothing or an error.
    2. Solution: Ensure the referenced cell contains a valid date (e.g., 1/1/2023) before applying the formula.
  2. Incorrect Format String Syntax
    1. Excel’s custom format requires exact syntax: "mm yyyy" (no commas). Using commas (e.g., "mm, yyyy") will produce incorrect results.
    2. Solution: Verify the format string matches the desired output (e.g., "m/yy" for MM/YY).
  3. Overwriting Data Without Verification
    1. Formatting an entire column can replace existing values—only use this method if you’re certain the data is unimportant or can be redeleted.
    2. Solution: Select smaller ranges first or manually check results after applying bulk formatting.

Tips

  1. Use Absolute References for Consistency
    1. If formatting multiple rows, add dollar signs to anchor the formula (e.g., =TEXT($A$1, "mm yyyy")). This ensures the date cell reference doesn’t shift when dragging the formula.
    2. Example: For a header row, drag the formula down while holding F4 (Absolute Reference) to prevent the cell reference from changing.
  2. Leverage Dynamic Formulas for Reports
    1. Use the TEXT function with a dynamic range (e.g., =TEXT(A2:A100, "mm yyyy")) to format an entire column in one step.
    2. Tip: Add a helper column to store the formatted dates while preserving the original data.
  3. Check for Hidden Characters
    1. If dates appear corrupt (e.g., #VALUE!), inspect the source cell for hidden formatting like comma-separated text or currency symbols.
    2. Solution: Use Ctrl+Shift+T to convert text to columns if formulas fail.
  4. Test with a Single Cell First
    1. Apply the formula to one cell (e.g., A2) before extending to a range.
    2. This avoids errors if the underlying data is invalid (e.g., "July 2023" instead of a date).
  5. Export Formatted Data
    1. If you need to share formatted data, export your sheet as a CSV or Excel file and reapply formatting in the recipient’s software.
    2. Note: CSV exports may preserve original date formatting—use Excel’s "As Text" option for full control.

Troubleshooting

  1. Formula Returns #VALUE!
    1. The referenced cell (A1) contains non-date data (e.g., text or numbers).
      1. Solution: Convert the cell to a date manually (e.g., type 1/1/2023 if the cell has "Jan 2023").
      2. Or replace the formula with: =TEXT("01/01/" & YEAR(A1) & "", "mm yyyy") (this forces Excel to parse dates from text).
  2. Dates Appear as Time Instead of MM YYYY
    1. Your Excel sheet is set to a time display mode (common in older workbooks).
      1. Solution: Switch to Date mode: Go to File > Options > Language Settings > Date format, select Long date (e.g., MMMM dd, yyyy), then restart Excel.
      2. Alternatively, force formatting by selecting cells and choosing Format Cells > Custom with mm yyyy.
  3. Bulk Formatting Didn’t Work
    1. Excel may ignore custom formatting if the data is hidden, frozen, or part of a table.
      1. Solution: Unfreeze the pane (View > Freeze Panes > Unfreeze Panes), check for hidden rows (Home > Show/Hide > Unhide Rows), or convert the range to a table (Ctrl+T) and apply custom formatting separately.
  4. Formulas Update Incorrectly When Dragging
    1. The cell reference in your formula changed (e.g., A2 became A3).
      1. Solution: Use absolute references (e.g., $A$1) or drag formulas with F4 (Absolute Reference) until the reference stays fixed.

Frequently Asked Questions

Why does Excel format dates differently in reports?

Excel displays dates based on the system’s locale settings. To standardize MM YYYY across reports, use the TEXT function or force custom formatting. For global reports, set Excel’s locale to English (United States) via File > Options > Language Settings > Additional Settings.

How can I convert a date string like "January 2023" to MM YYYY?

Use a custom formula like =TEXT("01/01/" & TEXTJOIN("", TRUE, SPLIT(MID(A1, FIND(" ", A1)+1, 3), " ")), "mm yyyy"). This extracts the month and year from text. For simpler cases, use =TEXT(A1, "mm yyyy") if Excel can interpret the string as a date.

Why does Excel sometimes show dates as numbers (e.g., 37370)?

Excel stores dates in days since 1899 (serial numbers), so formulas like =DATE(YEAR(A1), MONTH(A1), DAY(A1)) convert them. To force text output, use =TEXT(A1, "mm yyyy"), but note the result may be #VALUE! if the input is invalid.

How do I reformat dates after exporting to CSV?

CSV files preserve original cell types. To reformat dates in CSV: 1. Import the file back into Excel. 2. Use Data > Text to Columns to split the date string (e.g., "Jan 2023" → separate month/year). 3. Apply the TEXT function to reformatted cells.

Can I use this method in Google Sheets?

Yes, but the syntax differs: Use =TEXT(A1, "mm yyyy") in Google Sheets. For bulk formatting, select cells, right-click, and choose Format > Number > Date with a custom format (select Custom > type mm yyyy).

Why does my formatted range not update when new dates are added?

If using a formula like =TEXT(A1, "mm yyyy"): 1. The range must include the new dates. 2. Alternatively, use an absolute reference (e.g., $A$1) to lock the date cell. 3. For dynamic ranges, expand the selection (Ctrl+Shift+Arrow Key) to include all dates before applying the formula.