Stop Long Numbers Turning into E+

Check pasted data or a spreadsheet for long numbers that Excel may display in scientific notation or store with lost digits.

Quick start

  1. Paste the column of long numbers.
  2. Check values at risk of scientific notation.
  3. Download the protected XLSX.

Example

Select Try an example to check a made-up CSV with two long order IDs. It flags the ID that starts with zeros and the 18-digit ID Excel would round. The XLSX you download stores both as text, exactly as written.

Step one with sample-identifiers.csv loaded. The empty paste box shows the same rows in grey as an example
BeforeThe sample CSV with long order IDs, loaded as a file
A review table listing rows 2 and 3 with their current values and the reason, above a preview of the protected data
AfterBoth IDs flagged: one for leading zeros, one for 12 or more digits

My tracking number turned into 1.23E+12 and the last digits are gone

Export risky values as text.

A tracking number that opens as 5.12346E+11 has already lost its ending. If the file itself holds 5.12346E+11, the rest of the digits are not in it anymore. This tool saves the long numbers that are still whole and flags the ones that are already gone.

  • Paste a table or upload a CSV, TSV, or XLSX file.
  • Select Find risky numbers. If the result looks wrong, set the delimiter, header row, or worksheet name under Options.
  • Check the flagged values and select Download protected workbook. Flagged columns are saved as text.

E+ on screen: a display quirk or a lost number?

Scientific notation on a spreadsheet can mean either of two things. Either the full number is still in the cell and only the display is shortened, so changing the cell format brings the digits back. That only works for numbers up to 15 digits. Or the file stores the E+ text itself, and the digits behind it are gone.

The tool tells those two apart before anything is saved. Numbers with 12 or more digits and numbers with leading zeros are written to the new workbook as text. Values that arrived as E+ text are marked Already changed · download the original again, and the tool does not rebuild them. For a three-row order file with Order ID, Tracking and ZIP columns, the summary reads 6 values protected · 1 already changed.

The number as typed, and the number as text

The same digits behave differently depending on whether the cell holds them as a number or as text. A ZIP code such as 02139 keeps its leading zero only when the cell is text; stored as a number, the zero drops off. A 16-digit order ID and a 22-digit tracking number stay whole only when the column is text; stored as numbers, every digit after the 15th becomes zero.

Paste a table or load a CSV, TSV or XLSX file (up to 5 MB, 10,000 rows, 100 columns and 200,000 cells; only one worksheet of an XLSX file), then press Find risky numbers. It checks every value for long IDs, leading zeros and values already in scientific notation. Every column with a flagged value is listed under Columns to save as text. Download protected workbook gives you the XLSX. Copy results also works, but a plain-text copy doesn't keep cell types, so use the XLSX.

Excel keeps 15 digits and turns the rest into zeros

Excel stores numbers with 15 digits of precision. In a longer ID, every digit after the 15th turns to zero. This happens the moment Excel reads the value as a number, so the column has to be text before the value goes in.

Microsoft's help says codes with 16 or more digits must use a text format (Format numbers as text), and its import page points to the Import Text Wizard for keeping leading zeros (Import or export text (.txt or .csv) files). In Google Sheets, you set a range's format from Format > Number (Format numbers in a spreadsheet). Either way, open the result and compare the ID columns with the source file digit by digit.

Already E+: the point where nothing can be put back

A value that arrives as 5.12346E+11 is past the point of repair. The later digits aren't stored anywhere in the file, so no tool can work out what they were. Download the original again from the store or carrier.

A short value in scientific notation gets the same mark. A file holding only 2E03 shows 0 values protected · 1 already changed and Cannot restore · 1 value may have lost precision. The tool doesn't guess the digits, so get the original file again from whoever sent it.

The import preview is the last chance to catch a wrong column

If the protected file goes into a shipping or store import such as ShipStation, check the import preview before you confirm.

  • Each column is mapped to the right field.
  • The Order ID column shows the same values as the source file.
  • The Tracking column shows the same values as the source file.
  • No value in the preview shows as E+.

One more check for the same file

Run the same file through Prevent Excel Data Loss: CSV Value Check for the other ways Excel changes values when it opens a file. Excel & CSV lists more tools for the same kind of work.

Files and personal information

Files and anything you enter are not sent to a server. They are processed only in the browser you are using now, and closing the window clears what you entered.