In this article:

How to Format ZIP Codes in Google Sheets (Easiest Way in 2024)

May 8, 2024

How to Format ZIP Codes in Google Sheets

Formatting ZIP codes in Google Sheets can be easily accomplished using a custom number format that preserves leading zeroes:

Step 1: Select Your Cells

Highlight the cells you want to format. You can click and drag to select multiple cells, or click on a column or row header to select the entire column or row.

how to format zip codes in google sheets

Step 2: Open the Format Menu

Go to the menu bar at the top of the screen. Click on Format to open the format options. In the dropdown menu, hover over "Number" to open the side menu where you will see various formatting options. At the bottom of this side menu, click on “Custom number format”. 

format zip codes in google sheets

Step 3: Enter Custom Format

In the dialog box that appears, type 00000 into the input field. This format tells Google Sheets that you want every number in the selected cells to be displayed as a five-digit number, adding leading zeros if the original number has fewer than five digits.

google sheets format zip codes

Step 4: Apply the Format

After typing 00000 into the input field, click "Apply". 

zip code format in google sheets

The format will be applied to the selected cells immediately. If you have any numbers in those cells, you'll see them change to reflect the new format, with leading zeros added where necessary.

format zip codes google sheets

We hope that this article has helped you and given you a better understanding of how to format ZIP codes easily in Google Sheets. If you enjoyed this article, you might also like our articles on how to compare two columns in Google Sheets and how to find the highest value in Google Sheets.

Get Google Sheets productivity and automation tips delivered straight to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
We'll email you 1-3 times a week — and never share your information.
Get your copy of our free Google Sheets automation guide!
  • 27 pages of Google Sheets tips and tricks to save time
  • Covers pivot tables and other advanced topics
  • 100% free

Work less, automate more!

Use Lido to connect your spreadsheets to email, Slack, calendars, and more to automate data transfers and eliminate manual copying and pasting. View all use cases ->