Type or paste a 16-digit parcel tracking code, loyalty card number, or bank reference such as 1234567890123456 into Microsoft Excel, press Enter—and watch Excel quietly turn the final digit into a 0 (turning ...3456 into ...3450). Even more frustratingly, formatting the cell differently afterwards will not restore that missing digit because Excel threw away the end of the number the exact moment you pressed Enter.
Excel enforces a strict 15-digit precision limit across every standard number calculation—so the secret to keeping 16-digit IDs intact is telling Excel to treat reference codes as Text before they ever hit the cell.
Why Digit 16 Turns Into Zero Forever
Because Excel uses standard IEEE numerical storage behind the scenes, it can only hold fifteen significant digits accurately per number. Anything from the sixteenth digit onwards (like the final numbers of a 16-digit card, 18-digit FedEx/Royal Mail tracking code, or 20-digit invoice ID) gets replaced permanently with 0s the instant Excel saves the cell as a normal number.
1. Format the Column as Text Before Typing or Pasting
Whenever you create a column meant for reference codes you will never add or multiply mathematically, mark it as Text first so Excel saves every single character intact.
- Highlight the blank column or cells where your long numbers will go (clicking the column letter at the top selects the whole column cleanly).
- Click the Home tab on Excel’s ribbon.
- In the Number group, open the format drop-down box (which usually starts on General).
- Scroll all the way to the bottom and click Text.
- Now type or paste your 16-digit numbers cleanly—or press Ctrl + Shift + V (Match Destination Formatting / Text) when pasting from websites or emails so Excel respects your Text column.
2. Quick Single-Cell Trick: Start With an Apostrophe (‘)
Just typing one 16-digit order number quickly into an otherwise normal sheet? Put a single apostrophe right at the front—for example, '1234567890123456—and press Enter.
Excel keeps every single digit safe up to the end, hides the leading apostrophe in the cell view on screen and on paper, and ignores formatting resets afterwards.
3. Never Double-Click CSV Downloads Directly When Opening ID Lists
If an online shop or courier exports a .csv file full of 18-digit order references, double-clicking that CSV straight from Windows Explorer immediately strips the 16th+ digits to zeros before you can react. Instead, open a blank Excel sheet first, click Data > From Text/CSV, click Transform Data (or check preview type), set the ID column type to Text, and click Load—protecting every digit cleanly. For avoiding formatting disasters when saving spreadsheets back out, see our companion guide on why Excel loses your formatting and formulas when saving as a CSV file.