Smart Systems for Home

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

Excel Keeps Changing Numbers to Dates? Fix It

· 6 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

Excel converts what you type into a date because the cell is formatted as a date, or because the entry looks like a date to Excel's parser. To stop it, format the cells as Text before typing, or type an apostrophe before the entry. For existing cells, change the number format to General or Text and re-enter the values.

What You'll Need

  • Excel for Windows, Mac, or the web (steps are similar; labels may differ slightly by version and platform).
  • The cells or column where the unwanted date conversion happens.

Step-by-Step

  1. Identify the pattern. Click a cell that turned into a date and look at the Number Format box on the Home tab. If it shows Date, the cell is formatted as a date. If it shows General but the value still displays as a date, Excel parsed your entry as a date and stored a date serial number.
  2. Pre-format the column as Text before typing. Select the column or range, right-click, choose Format Cells, pick Text, and click OK. Then type your entries. Text formatting tells Excel not to interpret the input. This is the most reliable fix for data you have not entered yet.
  3. Use the apostrophe prefix for one-off entries. Type an apostrophe before the value, for example '1-2 or '3/4. Excel stores it as text and hides the apostrophe in the cell. The apostrophe appears in the formula bar only.
  4. Fix cells that already converted. Select them, open Format Cells (Ctrl+1 on Windows, Command+1 on Mac), choose General or Text, and click OK. If the value still shows as a date, re-enter it. Changing the format does not always undo a date serial number that was already stored.
  5. Use Text to Columns to convert a whole column back. Select the column, go to Data > Text to Columns, click Next twice, then in step 3 choose Text and click Finish. This treats each entry as text and stops date parsing for that column. On Excel for the web, Text to Columns is available but the dialog may look slightly different.
  6. Check for a date-like entry that Excel insists on parsing. Entries such as 1/2, 3-4, or Jan-5 look like dates to Excel. If you need them as text, use the Text format or the apostrophe. If you need them as real dates, leave the date format and enter them consistently.
  7. Disable automatic conversion for imported data. When pasting from another program, use Paste Special > Text, or paste into Notepad first and then copy into Excel. This prevents Excel from interpreting the clipboard content as dates.
  8. Check regional settings if dates appear in the wrong order. Excel uses your system's region settings to decide day/month order. If you type 3/4 and expect March 4 but get April 3, your region uses day/month order. Change the region in Windows Settings > Time & Language > Language & Region, or in macOS System Settings > General > Language & Region, then restart Excel. This affects how Excel parses ambiguous entries.

Common Mistakes

  • Formatting after typing. Changing a cell to Text after Excel already stored a date serial number does not always restore the original text. Re-enter the value or use Text to Columns.
  • Assuming General format prevents dates. General format still lets Excel parse date-like entries. Only Text format or the apostrophe reliably blocks conversion.
  • Using the wrong regional order. Typing 5/6 and expecting May 6 when your region expects June 5 produces the wrong date, not an error. Check the region setting before blaming Excel.
  • Pasting from web pages or CSV files. Pasting directly can trigger date parsing. Use Paste Special > Text or import through the Text Import Wizard and set the column to Text.
  • Confusing display with storage. A cell can display a date while holding a number. Click the cell and read the formula bar to see what is actually stored.

Tips

  • Set the entire column to Text before entering data you know is not a date, such as part numbers, fractions, or version numbers.
  • Use a leading zero or apostrophe for codes like 01-02 that Excel would otherwise turn into a date.
  • If you need real dates, enter them in a consistent format and format the column as Date so Excel parses them predictably.
  • For imported CSV files, use Data > From Text/CSV and set the column data type to Text in the preview before loading.
  • Keep a scratch column formatted as Text for notes and codes, and a separate date column for actual dates.

Troubleshooting

  • The cell still shows a date after changing to Text. The stored value is a date serial number. Re-enter the original text or use Text to Columns with the Text option.
  • Excel converts the entry as soon as I press Enter. The cell was formatted as Date or General and Excel parsed the entry. Pre-format as Text or type an apostrophe first.
  • Only some entries convert. Entries that match your region's date pattern convert; others stay text. Use Text format for the whole column to make behavior consistent.
  • Pasted data converts to dates. Use Paste Special > Text, or paste into a plain text editor first and then copy into Excel.
  • Dates appear in the wrong order after import. Check the region settings and the import wizard's column type. Set the column to Text if the values are not real dates.
  • Excel for the web behaves differently. Some format options and the Text to Columns dialog are simplified. The apostrophe and Format Cells > Text still work; for complex imports, use the desktop app.

Frequently Asked Questions

Why does Excel turn 1-2 into a date?

Excel interprets 1-2 as January 2 of the current year because it matches a date pattern. Format the cell as Text or type an apostrophe before the entry to keep it as text.

How do I stop Excel from converting numbers to dates permanently?

Pre-format the column as Text before entering data. For imported files, set the column type to Text in the import preview. There is no single global switch that disables all date parsing.

Can I convert a date back to the original text?

If the original text is gone, you cannot recover it exactly. You can format the cell as Text and re-enter the value, or use Text to Columns to treat the column as text, but the stored date serial number may not match your original entry.

Does the apostrophe work in Excel for the web?

Yes. Typing an apostrophe before a value stores it as text in Excel for the web as well as the desktop app.

Why does Excel show a date when I type a fraction like 3/4?

Excel reads 3/4 as March 4 (or April 3 depending on region). To keep it as a fraction, format the cell as Text or as Fraction before typing, or type an apostrophe first.

Will changing the region fix wrong date order?

Changing the system region changes how Excel parses ambiguous entries like 3/4. It does not convert existing stored dates. Restart Excel after changing the region.