Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Plot Zip Codes on a Map in Excel: Step-by-Step

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Excel has no single "plot zip codes" button, but you can turn a list of ZIP codes into points on a map in a few minutes using its built-in geography features and the Microsoft 3D Maps add-in. The quickest working route is to build a small chart with one row per ZIP, add a column of counts or values, and insert either a Map chart (available in Excel for Microsoft 365 and Excel for the web) or a 3D Maps tour. Both use the ZIP codes as locations, so accuracy depends on formatting them correctly first.

What You'll Need

  • A Microsoft 365 subscription or a recent version of Excel that includes Map charts or the 3D Maps (formerly Power Map) add-in. Older perpetual versions such as Excel 2016 and 2019 have limited or no map support.
  • Your data in a proper table: one header row, one ZIP code per row, and no blank rows inside the range.
  • ZIP codes stored as text, not as numbers. Leading zeros matter, so keep five digits including any leading zero.
  • The country set in Excel's language or region options if your data is not US ZIP codes, because map charts read location data against the region Excel is set to.
  • An internet connection for map charts and 3D Maps, which download map tiles when the chart is drawn.

Menu labels vary slightly between Excel versions, platforms and regions, so if a name does not match exactly, look for the closest option in the same tab.

Step-by-Step

  1. Lay out your data. Put a header in A1 such as "ZIP" and your five-digit codes in column A below it. In column B, add a header like "Count" or "Customers" and put a number for each ZIP. A map needs a value to plot; a bare list of codes will not draw points. If a ZIP appears several times in your source data, use a pivot table to count each ZIP once and use that pivot output.
  2. Fix the ZIP codes before anything else. Select the ZIP column and make sure it is formatted as Text. If codes lost their leading zeros (for example, 01234 became 1234), they are stored as numbers and Excel will not match them reliably. Re-enter or reformat them as text, or use a formula to pad them back to five digits, then paste the results as values.
  3. Delete stray spaces and punctuation. ZIP codes with spaces, apostrophes or extra characters in front will not geocode. Trim the column, check for blank rows, and confirm every entry has exactly five digits (or five plus the four-digit extension if you are using ZIP+4).
  4. Select the whole range, including headers. Click the first cell and drag to the last value, or press Ctrl+A inside the data (Command+A on Mac).
  5. Insert a Map chart. With the range selected, go to Insert on the ribbon, find the Charts group, and choose Maps > Filled Map. In Excel for the web the command lives in Insert > Charts. Excel should recognise the ZIP column as a geographic field and shade your areas with the values from column B.
  6. Label or hover to check the locations. Hover over a shaded area; a tooltip shows the ZIP and value. If Excel placed your points in the wrong state or country, your ZIP column is being read as a number or a different geographic type. Right-click the chart, open the data options for the category, and confirm the field is set to ZIP code rather than a number or county.
  7. Adjust the chart. Use the Chart Design and Format tabs to rename the title, change the colour scale, and turn on data labels if you want the ZIP shown on the map. Drag and resize the chart to fit your sheet.
  8. For precise points, use 3D Maps. If you need individual pins rather than shaded regions, go to Insert > 3D Map (it appears as a small globe icon). In the launch window, choose New Tour, then add your range or the linked table. In the field list, drag the ZIP column to the Location box and your value column to the Height or Category box. Excel plots a pin or a column at each ZIP.
  9. Save the tour. A 3D Maps tour lives with the workbook file. Save as .xlsx, not .csv, or the tour and map chart will be lost.
  10. Refresh when data changes. Map charts read the cells they were built from, so editing a value updates the shading. A 3D Maps tour based on a table refreshes its data when the workbook recalculates; if it does not, use the data refresh option in the 3D Maps window.

Common Mistakes

  • ZIP codes stored as numbers. This is the single most common failure. Excel strips leading zeros, and a bare number may be read as a value rather than a location. Set the column to Text before typing or pasting.
  • Plotting a list with no values. A map chart needs a measure to shade or size. A column of all ones works if you only want to mark locations, but you still need that column.
  • Mixing location types. A column containing a mix of ZIPs, city names and county names confuses the geography engine. Keep one consistent type per column.
  • Using the wrong region. If Excel's region is set to a country other than your data's, five-digit codes may be read as postcodes somewhere else. Check the region in Excel's options if marks appear in the wrong place.
  • Leaving totals or blank rows in the range. A total row gets plotted as if it were a location. Select only the data rows and headers.
  • Saving as .csv. CSV files cannot hold charts or tours, so all your map work disappears.

Tips

  • Use a pivot table to count or sum by ZIP first. It removes duplicates and gives every code a value automatically.
  • Name your data range or turn it into a proper table (Insert > Table) so map charts and tours pick up new rows.
  • If you have latitude and longitude columns, add them. 3D Maps can plot those coordinates directly, which is more precise than ZIP centroid placement.
  • ZIP codes map to a centre point or a boundary, not to street addresses. Two neighbouring houses in one ZIP share the same mark.
  • For a quick visual check before building anything, paste the range into a temporary worksheet, insert a map chart, and see where the marks land.

Troubleshooting

If the map chart comes out blank, first confirm the range includes both the ZIP column and the value column, and that no cell is empty in either. Then check formatting: the ZIP column must be Text, and the value column must be numeric. Re-select the range with Ctrl+A inside the data and insert the map again — a partial selection is a frequent cause.

If marks appear in the wrong country, open the chart's data options and change the category field's geographic type to ZIP code, then check Excel's region setting under File > Options > Language (labels vary by version). Close and reopen the workbook after changing the region.

If 3D Maps is missing from the Insert tab, the add-in may be turned off. Go to File > Options > Add-ins, look at the manage list, choose COM Add-ins and see whether the 3D Maps entry is ticked. On some Excel builds and platforms, 3D Maps is not available at all; in that case use a map chart, or export the data and plot it in another mapping tool.

If the chart loads forever or shows a grey box, check your internet connection, then restart Excel. Map services can be temporarily unreachable; try again later rather than rebuilding the sheet. Updating Excel through your normal update channel also fixes several map chart display issues.

Frequently Asked Questions

Can Excel plot ZIP codes by itself?

Yes, if you have a version with map charts or 3D Maps and the codes are stored as text. Excel converts each ZIP into a location and plots a point or shaded area.

Why do my ZIP codes show as 4 digits?

The leading zero was dropped because the cell is a number. Reformat the column as Text and restore the zero, or the map will fail to match those codes.

Can I plot a list of addresses instead of ZIP codes?

3D Maps can geocode full street addresses in some cases, but results depend on the address matching a known location. ZIP codes and coordinates give more predictable results.

Does plotting ZIP codes work on Excel for Mac?

Map charts are available in current Excel for Mac builds, but 3D Maps support varies. If the 3D Map button is absent, use a map chart.

What is the difference between a map chart and 3D Maps?

A map chart shades whole regions by value and is quick to set up. 3D Maps builds a layered tour with individual pins and columns, which is better for showing many separate locations.

Can I plot ZIP codes for another country?

Map charts support postal code data for several countries, but the exact coverage depends on the version and region settings. If your codes do not match, add latitude and longitude and plot those instead.