Skip to main content

How to stop Excel from auto-formatting numbers in a CSV

Learn how to fix this manually when opening a CSV, or see how to import the CSV into a workbook to correct the formatting automatically.

Written by Tony Adams

When opening a CSV in MS Excel, the software may auto-format long numbers and certain values. This corrupts the data and the value cannot be used for import or updating listings.

How to stop Excel from auto-formatting numbers in a CSV (screenshot 1)

Option 1 - Highlight everything and re-format

This option does not prevent the formatting but needs to be done each time a CSV is opened in Excel.

  1. Click the top-left corner of your worksheet to highlight all of the cells.

  2. In the Home Menu, click the Number (formatting) menu.

Option 1 - Highlight everything and re-format (screenshot 2)
  • Select Number from the drop-down menu:

Option 1 - Highlight everything and re-format (screenshot 3)
  • Click the Decrease Decimal button:
    ​(located under the number formatting menu on the right-side)

Option 1 - Highlight everything and re-format (screenshot 4)

Option 2 - Import the CSV into your Workbook

This method is perfect for sellers who keep workbooks for analysis and inventory purposes as it will import the CSV into a workbook instead of opening the file outright.

  • Open a workbook, or create a new Excel workbook.

  • Click the Data tab, and select From Text/CSV

Option 2 - Import the CSV into your Workbook (screenshot 5)
  • In the pop-up, select None for File Origin

  • Click the Load button

  • Note: if you opening a CSV from 3Dsellers, make sure the Delimiter is set to Comma

Option 2 - Import the CSV into your Workbook (screenshot 6)
  • While you may still need to re-format fields such as Item IDs, the data will no longer be corrupt:

Option 2 - Import the CSV into your Workbook (screenshot 7)
Did this answer your question?