Keep leading zeros in Excel SKUs
When a supplier sends 00127, store those five characters as text. A number formatted to look like 00127 can still be stored as 127. Check the stored value before you fill the customer's template.
Find out where the zeros disappeared
| What you find | What to do |
|---|---|
The original CSV contains 00127 | Reimport the SKU column as text from that file. |
Excel shows 00127, but the formula bar shows 127 | Check the supplier's required width before converting the value to text. |
The original file already contains 127 | Use the supplier's master SKU or their documented format. |
Open the original CSV in a text editor to inspect it without Excel's automatic conversion. In an XLSX file, select the cell and check the formula bar. =ISTEXT(A2) returns TRUE if the value in A2 is stored as text.
Import the SKU column as text in Excel
- In desktop Excel, choose Data → From Text/CSV and open the original CSV.
- Choose Transform Data. If the query already converted SKUs to numbers, remove that type-conversion step before setting the SKU column to Text.
- Choose Close & Load and spot-check the output against the source. Keep quantities numeric so you can still total them.
If the supplier confirms a fixed five-digit numeric format, =TEXT(A2,"00000") converts 127 to the text 00127. Use that only when the width is known. For mixed or unknown widths, ask for the original identifiers. Microsoft's guide to leading zeros and large numbers
Check the exported SKU and quantity against the original order
Data Organizer stops uploads when it detects a numeric XLSX identifier column such as SKU. Reimport the original values as text and try again. In the sample, use 05-source-corrected.xlsx with 06-customer-template.xlsx. Spot-check 00127 and 00042 after export, and confirm that order A-02 still has a quantity of 0.