logo
search
Office for Mac Issues

How to Stop Excel from Changing Custom Date Formats on Mac

Muhammad TalhaMuhammad Talha Oct 9, 2026 870 views

Question details

The user needs to prevent Excel from automatically reverting custom date formats to default regional settings upon selecting the Long Date preset.

How to Stop Excel from Changing Custom Date Formats on Mac
Product
Microsoft Excel
Device & OS
macOS Sonoma (M1 MacBook Pro)
Scenario
Applying and maintaining a specific custom date format (yyyy-mm-dd) in an Excel spreadsheet.
Observed behavior
Excel automatically changes the custom applied date format back to the system's regional default layout when the Long Date option is selected.
Before you start

Ensure your macOS and Microsoft Office installations are updated to the latest versions, as early macOS Sonoma releases contained known compatibility bugs affecting regional date formats.

Solution 1Recommended

Apply Custom Date Formats Without Using the Ribbon Presets

Avoid clicking 'Long Date' or 'Short Date' after applying a custom format, as these presets are designed to immediately override your custom settings.

In Microsoft Excel, selecting a standard format preset from the top ribbon will force the cell to adopt your Mac's default regional settings, erasing any custom formatting you previously applied.

1
Select the target cells

Highlight the cells containing the dates you want to apply the custom format to.

2
Open Format Cells

Right-click the selected cells and choose 'Format Cells' from the context menu, or press the 'Command + 1' keyboard shortcut.

3
Enter the custom format

Go to the 'Number' tab, select 'Custom' from the category list, enter 'yyyy-mm-dd' (or your preferred format) in the Type box, and click 'OK'.

4
Avoid preset overrides

Do not click 'Long Date' or 'Short Date' in the Excel ribbon afterward. Leave the cells as they are to retain the custom formatting.

Apply Custom Date Formats Without Using the Ribbon Presets
Format Retained: By exclusively using the Format Cells dialog for dates, your custom structure will remain intact regardless of system regional presets.
Advanced Spreadsheet Editor

Easily Format Dates with WPS Spreadsheet

Avoid frustrating formatting glitches on macOS by using WPS Office. WPS Spreadsheet provides a stable, highly compatible interface to apply and maintain custom date formats like yyyy-mm-dd without unexpected changes.

  1. 1. Open your file: Launch WPS Office on your Mac and open your existing spreadsheet document.
  2. 2. Select the cells: Highlight the specific cells containing the dates you wish to format.
  3. 3. Apply custom format: Right-click and select 'Format Cells'. Under the Number tab, choose 'Custom', type 'yyyy-mm-dd', and click 'OK'.
Fully compatible with Microsoft Excel (.xlsx and .xls) formats.Stable custom date and number formatting on macOS.Lightweight application optimized for Apple Silicon (M1/M2/M3) Macs.Free to use with a familiar, easy-to-navigate interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel change my date format to a number?

Excel stores dates as sequential serial numbers for calculations (e.g., January 1, 1900, is serial number 1). If a cell's format is accidentally changed to 'General' or 'Number', the date will display as its underlying serial number. You can fix this by highlighting the cell, opening Format Cells, and changing the category back to 'Date'.

How do I make yyyy-mm-dd the default date format in Excel for Mac?

Excel relies on your macOS system settings for its default date layouts. To change the default, go to Apple Menu > System Settings > General > Language & Region, and modify your system's short date format to yyyy-mm-dd. Excel will inherit this setting upon restart.

Can I use the same custom date formats in WPS Spreadsheet as I do in Excel?

Yes, WPS Spreadsheet fully supports Excel's custom number and date formatting syntax. Custom formats like 'yyyy-mm-dd' or 'dd-mmm-yy' will work flawlessly and display identically in both programs.