This issue is generally due to Excel's auto-formatting hiding the actual data behind the scenes, and displaying its formatted version of the data. What normally happens is that the field has a 4 digit value in the zip code field, but the field is formatted as Zip Code, so it looks like the leading 0 is there when it is not. Shipstore takes the raw data from the file when importing, not the formatted version that Excel is displaying, so because the data itself does not have the leading 0, SS will not import it that way.
To fix this issue, follow the steps below:
- Open your excel file, and add a column to the right of the zip code column
- In the first cell in that new column, type in the following formula, where {zip code field here} is the cell to the left of this field:=CONCATENATE(REPT("0", 5-len({zip code field here})), {zip code field here})
- Select the cell from step 2, then scroll to the bottom of the list and hold Shift and click the last cell in this column. Click the Fill --> Down option on the top bar. This should copy this formula to all rows in this column.
- Insert a column to the right of the one you created in step 1, and format it as Text
- Click on the first cell in the column you created in step 1, and press Ctrl+Shift+Down Arrow on your keyboard. This should select all cells in this column
- Copy (Ctrl+C)the selection, then with your cursor in the first cell of the column created in step 4, right- click and select Values under the "Paste Options" section. This will copy the data as is.
- Delete your original zip code column, as well as the column created in step 1
Quick alternative: force the ZIP column to text
If you do not want to build the formula above, you can force the ZIP codes to text instead:
- In your spreadsheet, put an apostrophe in front of each ZIP code that starts with a zero (for example, type '01234). The apostrophe keeps the value exactly as typed, including the leading zero, and it does not import into Shipstore.
- Or, format the whole ZIP code column as Text, then re-type or re-paste the ZIP codes so they are stored as text.
- Import one corrected row and check that the ZIP comes in with its leading zero before you import the whole file.