Key points
- Import identifiers as text, check a sample against the original file, and only then release the data to colleagues.
- Displaying extra zeros is not proof that the original value is intact; verify lost digits against the source.
- Test import, save, export and reopening on a copy before accepting the handover.
Which fields should be text rather than numbers?
Postcodes, phone numbers and product IDs normally identify something rather than take part in arithmetic. Define those columns as text before importing a test copy, instead of allowing the application to guess. Keep amounts and quantities in separate numeric fields; there is no need to turn the whole worksheet into text.
Microsoft explains that Excel can convert numerical text into numbers and remove leading zeros. Text storage can preserve the original form. Microsoft: keeping leading zeros and large numbers.
Write a short field rule, such as “Product ID: preserve exactly, do not calculate; quantity ordered: whole number”. This is a handover recommendation, not an industry-wide format.
What should you do before importing a CSV?
- Keep the untouched source file and work on a test copy.
- Identify phone numbers, overseas postcodes, membership references and product IDs.
- Use an import workflow that lets you specify column types, rather than simply double-clicking the CSV and saving it.
- Set identifier columns to text in the preview and transformation steps, checking that an earlier automatic numeric conversion has not already altered them.
- Compare loaded values with the source, including leading zeros, long identifiers and alphanumeric codes.
Microsoft documents Text/CSV and Power Query import workflows. Menu names and availability vary by version. Microsoft: import and export text files; text conversion guidance.

Why might a custom zero format be unsuitable for another system?
A custom number format may be useful for display within a workbook. When another system needs an identifier, however, check the actual stored string rather than whether the screen looks tidy. Microsoft distinguishes custom formatting from preserving content as text. Microsoft: formatting and text storage.
For example, if your internal rule genuinely requires five-character IDs, a displayed “00127” still needs an export check to confirm that all five characters are retained. Do not impose a five-digit padding rule on variable-length phone numbers or postcodes from different regions.
Can you simply add the zeros back after they disappear?
No: the remaining number alone does not establish how many zeros were originally present. Find the original export, verified master data or supplier record before correcting a test copy. If there is no reliable source, mark the record for checking rather than guessing a plausible identifier.
For long identifiers, compare the whole value, not just its beginning. Microsoft warns that numeric precision and automatic conversion can affect long numbers; converting an already damaged value to text does not recover its original content. Microsoft: long-number limits and handling.
What test data should you use before handover?
Use fictional values without personal data, such as 00127, A00127, 01230 and a longer identifier. Record whether each value remains identical in the source, after import, after saving and after export. These are suggested test cases, not results measured by our company.
- Compare characters and length, not just cell appearance.
- Reopen exports with the same explicit text-import settings.
- Ask the receiving system’s owner to confirm field types and test results.
- Test calculations for quantities and amounts separately.
How can you prevent the same problem on the next import?
Hand over the source location, identifier-column list, import method, version and sample-check results. Where several people maintain the sheet, nominate an owner to approve changes to field rules. Excel for the web also allows text formatting before typing or pasting, but do not assume all versions work identically. Microsoft: leading zeros in Excel for the web.
If you are organising enquiry or customer-data handovers, document sources, field rules and exceptions before discussing automation. A display-format correction does not prove that the entire workflow has been validated.
Frequently asked questions
Can phone numbers be stored as numbers?
For identification and contact purposes, usually preserve them as text so leading zeros and symbols are not altered; define country or region code rules separately. Microsoft guidance.
Will changing 127 to text automatically restore 00127?
No. Check the original source first; without a confirmed length rule or source evidence, you cannot infer the original value. Microsoft guidance.
Is converting every column to text the safest option?
No. Define and test identifiers separately from quantities and amounts that require calculations.
Does seeing zeros in Excel prove that the handover worked?
No. Check actual values and validate them in the receiving system or a reimport explicitly configured as text.
Does every Excel version have the same automatic-conversion settings?
No. Microsoft lists specific supported versions for automatic data conversions; choose a text-import workflow appropriate to your version. Version and feature guidance.
