A customer ID like 00128 can become 128 when Excel interprets a CSV column as numbers. That matters if your client uses the full ID to match records across spreadsheets. Treat identifier columns as text during import so the characters match the original file.
Preview the raw export
Keep the original CSV untouched and open a copy in a plain text editor. Find one ID with a leading zero and another without one. Write down both values so you can check the Excel result. Scan the header for other identifiers such as postal codes or reference numbers that should also stay as text.
Import the ID column as text
In desktop Excel, open a blank workbook and use Data → From Text/CSV. Choose Transform Data to open Power Query. If Applied Steps already shows a Changed Type step that converted the ID to numbers, remove that step before setting the ID column to Text. Once zeros are stripped by a numeric conversion, changing the result back to text will keep the shortened value. Set the types of amount columns separately if you need to calculate totals.

Test with fictional records
Suppose the raw file has 00128 for Cedar Office and 128 for Maple Paper. After loading the data, both IDs should still appear exactly as written and match separate records in the client’s system. If both show 128, go back to the query and check the earliest type conversion. Padding every ID to five digits would turn the two distinct values into the same ID.
Save and verify the handoff
Save your working file as an Excel workbook and reopen it to check your sample IDs. If the client needs a CSV, open the final export in a plain text editor to confirm the zeros survived. Tell them which columns to import as text if they open the export in Excel. For a separate cleanup task, see the related guide below on splitting combined fields into columns.
See Microsoft’s guide to keeping leading zeros. For a related task, read How to Split Imported Data into Columns in Excel.
