Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk3 min

Excel ZIP Codes: Import Them as Text or Format Them Later?

Excel may treat imported ZIP codes as numbers and remove leading zeros. Set the column to Text during import; use postal-code number formats only for suitable values already in a worksheet.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Excel usually drops a ZIP code’s leading zero because it has interpreted the imported value as a number. ZIP codes are identifiers, not quantities: set their column to Text during import to preserve the code. A ZIP Code number format is a separate option for displaying values already in a worksheet.

Why Excel removes the leading zero

When Excel imports a postal-code column, it may infer that values are numbers. A number such as 01234 then becomes 1234, because the leading zero is not significant to numeric arithmetic. Microsoft explains that postal codes should instead be stored and formatted as text: Display numbers as postal codes.

As an Amazon Associate I earn from qualifying purchases.

This is a data-type issue, not a sign that the ZIP code is a quantity. A postal code identifies a location; preserving its characters matters more than performing calculations on it.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the right fix for the point in your workflow

Approach When to use it What it does Important limit
Import the column as Text While bringing a CSV or text file into Excel, especially if the data will feed a mail merge. Stores the postal-code values as text so leading zeros are retained. Set the type before Excel converts the imported values.
Apply a ZIP Code number format For suitable ZIP or ZIP+4 values already in worksheet cells. Changes how numeric values are displayed using a postal-code pattern. The special formats depend on locale, and display formatting does not restore digits already lost in an earlier conversion.

Import a CSV or text file without losing zeros

  1. Start the text import workflow in Excel instead of accepting an unintended numeric interpretation. The precise menu wording can vary by version and platform.
  2. Select the postal-code column in the Text Import Wizard.
  3. Choose Text under Column data format for that column.
  4. Finish the import and check that a value such as 01234 still includes its leading zero.

Microsoft documents selecting the column and setting its data format to Text before completing the import in Display numbers as postal codes.

Format ZIP codes already in a worksheet

If the values are already in the sheet and their underlying digits are intact, select the cells and apply Excel’s ZIP Code or ZIP Code + 4 special number format when its display behavior suits your data. Microsoft says these formats appear in the type list only when the locale is English (United States); another locale may offer different special formats or none. Excel also supports custom number formats. See Microsoft’s guidance on displaying numbers as postal codes.

A display format is not the same as storing the code as text. Do not rely on formatting to recover a leading zero after a previous import or conversion has already discarded it; return to the original source and import the column as Text instead.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Keep leading zeros in a Word mail merge

Check the Excel source column as well as the imported file. Microsoft advises formatting ZIP or postal-code columns as Text to preserve their data during a mail merge, and uses 00399 as an example. See Prepare your Excel data source for a Word mail merge. If the source data has already lost a zero, correct it from the original records before using the column in the merge.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Which option should you choose?

  • Importing external addresses: set the postal-code column to Text during import.
  • Preparing an Excel source for mail merge: store that column as Text.
  • Changing how intact worksheet values look: use a ZIP Code or ZIP Code + 4 number format if it is available in your locale and fits the data.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.