Keep account numbers and long IDs intact in Excel
Updated 14 October 2026 · EasyPsyTools
An account number such as 00123 is an identifier, not a quantity. Treating it as a number produces 123. Long identifiers can also lose digits when a spreadsheet interprets them numerically. Keep those columns as text when the exact character sequence matters.
Try it with a synthetic example
- Open CSV to Excel & repair. Expand More options and select Try an example. The preview includes a deliberately malformed final row, so export is initially blocked.
- For this synthetic exercise, expand Edit CSV text and delete the final line “,,,,Extra cell to review”. Select Check edited text. For a real file, repair the row against your source instead of discarding data.
- Leave identifier columns as text in Export options. Select Download Excel, open the workbook and compare the identifiers with the source. The two duplicate rows remain unless you deliberately remove them.
Values to verify in the workbook
| Source value | Default Excel export |
|---|---|
| 00123 | Text: 00123 |
| 00045 | Text: 00045 |
| 123456789012345678 | All 18 digits retained as text |
| =1+1 | Literal text, not a formula |
| Asha, Rao | One cell despite the comma |
Only amount columns intended for calculations should be exported as numbers. Formatting a number afterward cannot reliably recover missing zeros or changed digits.

Try the difficult sample
More options contains a synthetic CSV with 00123, 00045 and 123456789012345678. It also includes a name containing a comma, an embedded newline, duplicate rows and an extra cell. Repair the final sample row to four cells before downloading: export stays blocked while a wrong-width row remains. Check the identifiers in the preview and in the downloaded workbook. The formula-like value =1+1 is written as text by default, rather than executed.
Repair only what you understand
Select the correct separator and encoding if automatic detection is wrong. Review flagged rows before changing them. Removing exact duplicates or trimming spaces changes the data and should be deliberate. The preview is limited to the first 50 data rows; issues and the exported file can involve rows beyond that preview.
What cannot be recovered
If the source CSV already says 123 instead of 00123, the missing zeros cannot be inferred reliably. A CSV export also cannot control how every spreadsheet will interpret values on reopening. Use the XLSX download when preservation in Excel is the goal, and compare important identifiers with the original source.
Common problems
The file opens as one long column. How do I fix it?
In More options, choose the separator used by the source: comma, semicolon, tab or pipe. Check that the header and every row split into the intended columns before exporting.
Why does a name containing a comma stay in one cell?
CSV uses quotation marks around fields containing separators or line breaks. Do not split those quoted values manually. The example includes both cases so you can check the parser’s result.
Why did zeros disappear after downloading CSV instead?
CSV does not store spreadsheet cell types. Excel may interpret it again on opening. Use Download Excel to preserve text cells, or import the CSV in Excel and explicitly set identifier columns to Text.