How do I stop Excel from defaulting the date?

Microsoft Excel's Auto Fill features help you quickly enter the same value in more than one cell or fill a series of cells with related or sequential values. You can type "Acme Corporation" in one cell and let AutoComplete enter the entire name after you type "A" in an adjacent cell. You can enter a date and drag the fill handle down the column to populate a month's worth of cells for a company status report, or type in two non-sequential product prices – $12 and $24, for example – and fill a row following the pattern you establish. When you don't need these convenience features, disable Auto Fill to avoid triggering them accidentally.

  1. Click on the File tab in the Microsoft Excel Ribbon and select "Options." In the list of choices on the left side of the Options dialog box, choose "Advanced."

  2. Locate the Editing Options section on the right side of the dialog box. Uncheck "Enable AutoComplete for Cell Values" to stop Excel from trying to complete what you type based on existing cell entries that begin with the same characters.

  3. Uncheck "Enable Fill Handle and Cell Drag-and-Drop" to turn off the fill handle. With this preference deactivated, you cannot drag from the lower-right corner of a cell to populate adjacent cells with consecutive or related values.

  4. Locate the Excel Option's dialog box Cut, Copy and Paste section. Uncheck the "Show Paste Options Button When Content Is Pasted" option to turn off the Auto Fill Options button that appears when you drag the fill handle. With this option deactivated, you won't see the Auto Fill Options button that usually appears at the lower right corner of the last cell you fill. The button triggers a menu from which you can fine-tune the fill process so it picks up only the formatting or only the data values of the cell from which you started filling.

In this article, we will learn to stop excel from auto formatting dates in CSV. CSV stands for comma-separated values. Sometimes, we need to open or import a CSV file in our excel worksheet. Excel auto formats the date when we open or import any CSV file. Often, it can be undesirable because it changes the data. So, to stop excel from auto formatting dates in CSV, we need to follow some methods. Today, we will demonstrate these methods in easy steps.


Download Practice Book

Download the practice book.


What Is a CSV File?

The file which separates values by a comma is called a CSV file. It is a delimited text file. Each line of a CSV file consists of a data record where each field is separated by a comma. We can import or export a CSV file that contains data records in our excel worksheet very easily.


3 Ways to Stop Excel from Auto Formatting Dates in CSV

To explain the methods, we will use a CSV file that contains information about the ID Number and Date of Birth of some employees.

How do I stop Excel from defaulting the date?

If we open or import this CSV file in excel, we will see a dataset like below.

How do I stop Excel from defaulting the date?

And after auto-fitting the columns, we will see the result like below.

How do I stop Excel from defaulting the date?

Here, if we look at the Date of Birth column, we can see excel has auto formatted the dates. It does not match with our original dataset in the CSV file. For example, if we look at Cell C2, it contains 10-Jul-93. But our CSV file contains 10-July-1993. We want to display the CSV file without auto formatting the dates. The methods below will discuss how to stop excel from auto formatting dates in CSV.


1. Save the CSV File as Text Document to Stop Excel from Auto Formatting Dates

We can stop excel from auto formatting dates by saving the CSV file as a Text Document file. It is one of the quickest processes. Let’s follow the steps below to learn this method.

STEPS:

  • In the first place, open the CSV file.
  • Secondly, click on the File tab. A drop-down menu will occur.
  • Select Save As from the drop-down menu. The Save As window will appear.

How do I stop Excel from defaulting the date?

  • Now, change the Save as type to Text Documents(*.txt).
  • After that, click Save to proceed.

How do I stop Excel from defaulting the date?

  • After saving the CSV file as a Text Document file, open Excel.
  • Then, go to the File tab.

How do I stop Excel from defaulting the date?

  • Select Open and then, Browse like the picture below.

How do I stop Excel from defaulting the date?

  • After that, select the Text Document file and click Open. Make sure you have selected All Files in the file type field.

How do I stop Excel from defaulting the date?

  • After clicking Open, you will see a Text Import Wizard on the screen. It is the first step of the Text Import Wizard.
  • Select Delimited in the Original data type field and check the My data has headers option. Then, select Next.

How do I stop Excel from defaulting the date?

  • After clicking Next, the second step of the Text Import Wizard will occur.
  • Check Comma and uncheck Tab in the Delimiters field.
  • Then, click Next.

How do I stop Excel from defaulting the date?

  • After that, the third step of the Text Import Wizard will appear.
  • Now, select the desired column from the Data Preview field. We have selected the Date of Birth column.
  • After selecting the column, select Text in the Column data format field.

How do I stop Excel from defaulting the date?

  • Finally, click Finish to see the results below.

How do I stop Excel from defaulting the date?

Read More: Fix Excel Date Not Formatting Correctly (8 Quick Solutions)


2. Stop Excel from Auto Formatting Dates by Importing the CSV File

There is another quick way to stop excel from auto formatting dates in CSV files. In this method, we will use the Data tab to import the file. Here, we will use the same CSV file. Let’s pay attention to the steps below to learn more.

STEPS:

  • In the beginning, go to the Data tab and select From Text/CSV. It will open the Import Data window.

How do I stop Excel from defaulting the date?

  • Select the CSV file and click Import. Make sure you have selected All Files in the file type field.

How do I stop Excel from defaulting the date?

  • After that, a window containing the dataset will occur. Select Transform Data from there.

How do I stop Excel from defaulting the date?

  • After clicking Transform Data, the Power Query Editor will open.

How do I stop Excel from defaulting the date?

  • Next, select the Date of Birth column in the Power Query Editor window.
  • Then, go to the Transform tab and select Data Type. A drop-down menu will occur.

How do I stop Excel from defaulting the date?

  • Select Text from the drop-down menu.

How do I stop Excel from defaulting the date?

  • Instantly, a Change Column Type dialog box will pop up. Select Replace current from there.

How do I stop Excel from defaulting the date?

  • Then, you will find results like below in the Power Query Editor.

How do I stop Excel from defaulting the date?

  • Now, go to the Home tab and select Close & Load.

How do I stop Excel from defaulting the date?

  • Finally, you will see results like below in the excel worksheet.

How do I stop Excel from defaulting the date?

Read More: How to Use Formula to Change Date Format in Excel (5 Methods)


Similar Readings:

  • How to Convert Text to Date with Excel VBA (5 Ways)
  • Convert Date to Year in Excel (3 Quick Ways)
  • How to Convert Date to Day of Week in Excel (8 Methods)
  • Get the First Day of the Current Month in Excel (3 Methods)
  • Remove Time from Date in Pivot Table in Excel (A Step by Step Analysis)

3. Format the CSV File to Stop Excel from Auto Formatting Dates

In this method, we will format the CSV file to stop excel from auto formatting dates. We will mainly change the data format inside the CSV file. Again, we will use the same CSV file here. Let’s observe the steps below to learn more.

STEPS:

  • Firstly, open the CSV file.
  • Secondly, write:

"John","100","=""10-July-1993"""

Instead of:

"John","100","10-July-1993"

How do I stop Excel from defaulting the date?

Here, we have added “=” as prefix and “” as a suffix in the Date of Birth column.

  • Follow this format for all data entries.
  • Save it by pressing Ctrl + S and then, close the Notepad after saving it.
  • Next, open Excel and select the File tab.

How do I stop Excel from defaulting the date?

  • Click Open and then, click Browse.

How do I stop Excel from defaulting the date?

  • After that, select the CSV file and click Open. Make sure you have selected All Files in the file type field.

How do I stop Excel from defaulting the date?

  • Finally, you will see results like below.

How do I stop Excel from defaulting the date?

Related Content: How to Change Default Date Format from US to UK in Excel (3 Ways)


Things to Remember

There are certain things you need to remember to stop excel from auto formatting dates.

  • While opening or importing the CSV file from excel, if you don’t find the file in the desired folder, select All Files instead of All Excel Files.
  • You need to enable the Power Query if you are using Excel 2013 or earlier versions.
  • If you have a large dataset, use Method-1 or Method-2. Method-3 is not appreciated for large datasets.

Conclusion

We have discussed 3 quick and easy methods to stop excel from auto formatting dates in CSV files. I hope these methods will help you to solve your problems related to auto formatting dates in CSV. Furthermore, we have also added the practice book at the beginning of the article. You can download the practice book to exercise. Last of all, if you have any queries or suggestions, feel free to ask in the comment section below.


  • Last Business Day of the Month in Excel (9 Examples)
  • How to Calculate First Day of Previous Month in Excel (2 Methods)
  • Convert 7 Digit Julian Date to Calendar Date in Excel (3 Ways)
  • How to Convert a Date to dd/mm/yyyy hh:mm:ss Format in Excel
  • Get First Day of Month from Month Name in Excel (3 Ways)

How do I change the default date format in Excel permanently?

You can change the date system by doing the following: Click File > Options > Advanced. Under the When calculating this workbook section, select the workbook that you want, and then select or clear the Use 1904 date system check box.

How do I stop excel from auto formatting time?

Click File > Options. In the Excel Options box, click Proofing > AutoCorrect Options. On the AutoFormat As You Type tab, check the boxes for the auto formatting you want to use.

How do I turn off automatic date in sheets?

In Google Sheets, the only way to stop formatting numbers as dates is to use an apostrophe in front of the value.

How do I lock the date format in Excel?

Preventing Automatic Date Formatting Changes.
Display the Excel Options dialog box. ... .
At the left side of the dialog box click Advanced..
Scroll to the very bottom of the advanced options. ... .
Make sure the Transition Formula Entry option is selected..
Click OK..