What is scientific notation?
Scientific notation is a compact way of representing very large or very small numbers. Instead of displaying every digit, Excel can use a format such as 1.23457E+11.
In this example, E+11 means the decimal point is moved 11 places to the right.
Original value
123456789012Scientific notation
1.23457E+11Important: Seeing scientific notation does not automatically mean the underlying value has changed. Excel may simply be changing how the number is displayed.
Why does Excel do this?
Excel tries to automatically determine what each value represents. When it encounters a large sequence of digits, it can interpret it as a number and choose scientific notation when the value is too large to display conveniently in the cell.
Large values
Large numbers can be displayed using scientific notation so they fit within the available cell width.
Automatic type detection
When opening a CSV, Excel attempts to determine whether values are numbers, dates, text, or other types.
CSV files contain plain text
A CSV file does not contain the same spreadsheet formatting and column-type information as an Excel workbook.
An identifier isn't necessarily a number
This is where scientific notation becomes a real data problem. Many values consist entirely of digits but are not quantities that you intend to calculate.
Customer IDs
A value such as 000123456789 identifies a customer. The individual digits are part of the identifier.
Barcodes
A barcode needs to remain exactly as supplied. Converting it into a numeric value can remove meaningful formatting.
Product SKUs
SKUs can contain leading zeros or other formatting that needs to remain unchanged.
Order numbers
Order numbers and reference codes should generally be treated as labels rather than quantities.
ZIP codes
Some postal codes begin with zero, meaning numeric conversion can change the value.
Example: customer ID
000123456789
If this is a customer ID, there is no mathematical reason to convert it into a number. It should normally be stored and imported as text.
Why CSV files can cause this problem
CSV stands for Comma-Separated Values. A CSV file is essentially structured text. Unlike an Excel workbook, it does not carry a rich spreadsheet schema telling Excel that a particular column contains customer IDs or barcodes.
customer_id,name 000012345678,Sarah 000098765432,John
When you double-click this file, Excel has to make its own assumptions about the contents. It may interpret the identifiers as numbers and display them using scientific notation.
Avoid relying on double-clicking CSV files. If the file contains important identifiers, use Excel's import workflow so you can control how the columns are interpreted.
Method 1: Import the CSV as text
The safest Excel workflow is to import the CSV and explicitly tell Excel that identifier columns should be treated as Text.
Step-by-step instructions
- 1Open Excel and create a new blank workbook.
- 2Go to Data → From Text/CSV.
- 3Select the CSV file you want to import.
- 4Review the preview and make sure the delimiter and columns are correct.
- 5Choose Transform Data rather than immediately loading the file.
- 6Select the column containing IDs, barcodes, SKUs, or other long numeric-looking values.
- 7Change the column's data type to Text.
- 8Select Close & Load to load the data into Excel.
Why this works: Excel is being told that the column contains text before it gets the opportunity to interpret your identifiers as numbers.
Method 2: Format the column as Text
If you are entering or pasting long identifiers into Excel, format the destination column as Text before entering the values.
Set the column to Text
- 1Select the column where the identifiers will be entered.
- 2Right-click the selected cells and choose Format Cells.
- 3Select the Number tab.
- 4Select Text and click OK.
- 5Enter or paste the identifier values.
000123456789 000987654321 001234567890
Set the format first. If Excel has already converted the value, changing the format to Text afterwards cannot reliably recover digits that have already been lost or rounded.
Scientific notation vs. actual data loss
There are two different problems that are easy to confuse: Excel changing the display of a number and Excel changing the value itself.
1. Display-only scientific notation
Excel can display a value such as 123456789012 as 1.23457E+11 simply because the cell is using scientific notation as its display format.
2. Numeric precision problems
Excel has a limit on the number of significant digits it can accurately store as a number. Very long numeric identifiers can therefore be rounded or altered when Excel treats them as numbers.
If every digit matters, do not store the identifier as a number. Store it as text instead.
Rule of thumb: If you would never add, subtract, multiply, or divide the value, it probably shouldn't be treated as a number.
Should this value be a number or text?
Excel and CSV best practices
Prevent Excel formatting problems
Build guided CSV workflows that validate and protect identifiers before they reach your application.
Start building free