File and sharing · Short guide

Why does Excel replace the last digits of long numbers with zeros?

Braxorn · Last updated 2026-11-22 · English

Excel retains 15 significant digits in numeric input. A shipment ID can look like a number without being safe to store as one. A wider column may reveal more digits but cannot restore discarded ones.

What to do

Compare the formula bar with the unmodified source text. Reimport the original identifier column as text, or format an empty cell as Text before typing the code.

Example and result check

Use 1234567890123456 and 1234567890123457 as two different orders. Both final digits must survive a save and reopen. Changing an already rounded column to Text simply preserves the damaged values.

Related guide