← Back to Blog

Home Upkeep

Spot the Problemspreadsheetscodesleading zeros

Why do the first zeros disappear from my worksheet codes?

By Life 1122 Foundation

Compare the entry you typed with the value shown after pressing Enter. A code like 0037 may become 37 when the cell treats it as a number.

003737

Illustration: the displayed numeric value has dropped the code’s leading zeros.

Set an empty column to text before entering codes. Type one from the original list and move to the next cell.

Check that all four characters remain. Recover missing zeros from the original records before using the column to match people or supplies.