How to stop excel from changing date format
Tutor 5 (273 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
Excel changes date formats because Excel converts entries that resemble dates into its internal date serial number system. To stop Excel from changing the date format, use formatting controls or text-preserving methods before entering the data.
1. Format cells as Text before typing
-
Select the cells that will store the date.
-
Open the Home tab.
-
Choose Number Format.
-
Select Text.
-
Type the date exactly as needed.
Excel preserves the characters because Text formatting stores values as text strings.
2. Add an apostrophe before the date
-
Click the cell.
-
Type
'followed by the date, for example'12-03-2025. -
Confirm with Enter.
Excel displays the date without converting it because the apostrophe forces text entry.
3. Use a custom date format
-
Select the cells.
-
Open Format Cells.
-
Windows: Press Ctrl + 1.
-
MacBook: Press Command + 1.
-
-
Choose Number.
-
Choose Custom.
-
Enter a custom pattern such as dd-mm-yyyy, mm.dd.yyyy, or yyyy/mm/dd.
-
Apply the format.
Excel displays the date based on the applied pattern because the number format defines how the value appears.
4. Import data without automatic conversion
-
Open a new blank workbook.
-
Go to Data.
-
Choose From Text/CSV.
-
Pick the file.
-
Set the column type to Text in the preview window.
-
Load the data.
Excel keeps the original formatting because the import settings block automatic conversions.
5. Use Notepad as an intermediate step
-
Paste the data into Notepad.
-
Copy it from Notepad.
-
Paste it back into Excel.
Excel reads the pasted content as plain text because Notepad strips all formatting.
6. Use Power Query to stop automatic date conversion
-
Go to Data.
-
Select Get Data.
-
Import the file.
-
Change the column type to Text in Power Query.
-
Load the data.
Power Query keeps the type definition static because the transformation settings override date recognition.
How to fix dates already converted by Excel
Convert dates back to text format
-
Select the affected cells.
-
Press Ctrl + 1 (Windows) or Command + 1 (MacBook).
-
Change the format to Text.
-
Re-enter the dates manually or use a transformation rule in Power Query for large data sets.
Split the date using Text to Columns
-
Select the converted column.
-
Go to Data.
-
Choose Text to Columns.
-
Select Delimited.
-
Choose Next.
-
Choose Next again.
-
Choose Text under Column Data Format.
-
Finish the process.
Excel converts the column to text because the wizard forces a text type.
How to prevent automatic formatting when copying and pasting
-
Copy the source data.
-
Right-click the target cell.
-
Choose Paste Special.
-
Select Text.
Excel keeps pasted content in text format because Paste Special removes formatting rules.
. Was this Helpful?Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
How to remove date format in excel
Answers · 1
What is short date format in excel
Answers · 1
How to stop excel from changing date format
Answers · 1
How to convert text to date in excel
Answers · 1