A supplier code such as 001234 is an identifier, even when every character is a digit. Removing its leading zeros can change the reference used to match an enquiry, quotation or catalogue row. Decide which columns are identifiers before importing a supplier CSV into Excel.
Microsoft’s leading-zero and large-number guidance, read on 16 November 2026, explains automatic numeric conversion and recommends importing relevant columns as text. It also states that Excel’s numeric precision is limited to 15 significant digits. Long product references therefore need attention beyond how a cell looks on screen.
Use a controlled import on a working copy
Keep the supplier’s original file unchanged. For the desktop Excel Power Query route documented by Microsoft, use these checkpoints; command names can vary with the installed version:
- Use Data → From Text/CSV and select the working file.
- Check the delimiter and preview so each field occupies its intended column.
- Choose Transform Data to review the query before loading it.
- Set the identifier columns to Text. Where the change-type dialog offers Replace Current, review that choice as described in the leading-zero guidance.
- Use Close & Load, then compare a sample of the loaded identifiers with the original file.
Microsoft’s CSV import documentation distinguishes loading the preview directly from transforming it first. Taking the transformation route gives the buyer a place to review column types before treating the sheet as a reliable catalogue.
Inspect values, not just the visible padding
Use a small acceptance sample that includes a leading-zero code, a long all-digit reference and an ordinary mixed letter-and-number code. These are suggested sample types, not real supplier records. Confirm the exact character sequence against the original and check that the right description remains on the same row.
A custom number format can make a cell display a fixed number of digits without answering whether the original identifier survived import. If the source code has already been changed or digits have been lost, return to the untouched source. Do not invent the missing characters by guessing a standard length.
Apply the text decision to identifier fields rather than every column indiscriminately. Quantity and price fields have different purposes and may need numerical handling. Keep the supplier’s original column names alongside any internal mapping so a later reviewer can understand the transformation.
Our GPC and trade-item field guide addresses another catalogue problem: preserving what a field means. Here, preserve the code’s characters as well. No supplier file was imported or item matched for this article, and the method is not a guarantee that a particular spreadsheet has been repaired.
Leave a Reply