Fix Excel Date Format Not Staying as YYYY-MM-DD on Mac
Question details
Users are unable to keep the YYYY-MM-DD date format in Excel for Mac, with dates reverting to default formats like 01/31/2025 despite macOS system settings.
- Product
- Excel for Mac
- Device & OS
- macOS
- Scenario
- Importing data or applying custom date formats to a spreadsheet on a Mac.
- Observed behavior
- Excel displays dates in the MM/DD/YYYY format instead of the desired YYYY-MM-DD format, typically because the imported values are stored as text strings rather than actual date numbers.
Verify your current version of Office for Mac and ensure your macOS Language & Region settings are configured to your preferred date format.
Convert Text to Dates and Apply Custom Formatting
Use the Text to Columns feature to convert text strings into valid dates before applying the YYYY-MM-DD format.
Applying a custom number format will not work if the cells are formatted as text. You must first convert the text values into real date values recognized by Excel before the custom formatting can take effect.
Highlight the column or cells containing the dates that will not format correctly.
Navigate to the 'Data' tab on the ribbon and click on 'Text to Columns'.
Choose 'Delimited' and click 'Next' twice. In the third step, select 'Date' under Column data format, choose the format that matches your current text (e.g., MDY), and click 'Finish'.
With the dates still selected, press 'Cmd + 1' to open the Format Cells dialog. Go to the 'Number' tab, select 'Custom', type 'yyyy-mm-dd' in the Type box, and click 'OK'.
Update macOS System Date Settings
Change the default macOS region and language settings so Excel automatically recognizes your preferred date format.
Manage and Format Dates Consistently with WPS Spreadsheet
Avoid frustrating formatting issues by using WPS Spreadsheet. It offers intuitive data conversion tools and custom formatting options that work seamlessly and identically across Mac and Windows.
- 1. Open Your Spreadsheet: Launch WPS Office and open your .xlsx file containing the imported dates.
- 2. Convert the Text: Select your date column, go to the 'Data' tab, and click 'Text to Columns' to convert text strings to valid dates.
- 3. Format the Cells: Right-click the selected cells, choose 'Format Cells', and navigate to the 'Custom' category.
- 4. Apply YYYY-MM-DD: Type 'yyyy-mm-dd' into the format box and click 'OK' to instantly update your date displays.

Frequently Asked Questions
Why won't Excel change my date format on Mac?
This usually happens because imported dates are recognized as text strings rather than numeric values. Cell formatting only changes the visual display of numeric dates, so text strings will remain unchanged until converted to numbers.
How do I know if a date is stored as text in Excel?
By default, text values align to the left side of a cell, while valid dates (which are stored as numbers) align to the right. You can also use the ISTEXT() function to check if Excel recognizes the cell contents as text.
Can macOS system settings override Excel date formats?
Yes, Excel often pulls default short and long date formats directly from your macOS Language & Region settings. Changing these system settings and restarting Excel can resolve default formatting issues, though custom formatting applied inside Excel will take precedence.




