AI Help
How do I stop AI from dropping leading zeros when it exports a CSV?
Treat codes with leading zeros as text and control how the CSV is imported. CSV itself does not preserve spreadsheet cell types.
Steps to follow
- Identify ID, postal-code and SKU columns before export. Ask the assistant to preserve their exact character strings.
- Export UTF-8 CSV and inspect a few raw lines. Quoting a value alone may not stop a spreadsheet app from converting it to a number.
- Import through the spreadsheet's text-import controls and set those columns to Text. Recheck lengths and leading zeros after import.
Example in practice
Illustrative example. The ID 00124 should remain five characters. Compare the imported value with the raw CSV before sharing the workbook.
Related AI help
- How do I verify that AI matched the right records across two spreadsheets?
- How do I check which source rows went into an AI-generated summary table?