Smart Systems for Home

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

How to Embed a Map in Excel

· 5 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

Embedding a map in Excel lets you visualize geographic data visually—like sales by region, store locations, or population density—without leaving your spreadsheet. This feature uses Excel’s built-in Map chart type, which connects to your data and renders an interactive map. It works only on Windows desktop versions of Excel 2016 or later with a Microsoft 365 subscription, and requires properly formatted location data. No add-ins or third-party tools are needed. If you’re on Mac, web Excel, or an older version, this feature is not available.

What You'll Need

  • Microsoft Excel 2016 or later (Windows only)
  • A Microsoft 365 subscription (personal, family, or business)
  • Data with geographic information (e.g., country names, states, cities, postal codes)
  • An internet connection (to load map tiles and geocode locations)

Step-by-Step

  1. Organize your data in a table with at least one column containing geographic information. For best results, use standard names: "United States", "California", "London", "90210". Avoid abbreviations like "CA" for California unless Excel recognizes them in your regional settings.
  2. Select the entire range of data including headers. Do not select empty rows or columns outside your dataset.
  3. Go to the Insert tab on the Ribbon.
  4. In the Charts group, click the "Insert Map" button (it looks like a small globe icon). If you don’t see it, your version of Excel may not support it—confirm you’re on Windows with a Microsoft 365 subscription.
  5. Excel will attempt to automatically detect the geographic field. A pane labeled "Map" will appear on the right. If Excel doesn’t recognize your column, click the dropdown next to "Values" and select the column containing your geographic data.
  6. Under "Values", choose the numeric column you want to visualize—like sales figures, population, or counts. The map will color-code regions based on these values.
  7. Adjust the color scale by clicking the down arrow next to "Color" in the Map pane. You can change the color scheme, set custom minimum and maximum values, or switch to a logarithmic scale for wide-ranging data.
  8. Click on any region on the map to see details in a tooltip. Hover over legend items to highlight corresponding areas.
  9. Use the zoom controls (plus and minus buttons) in the bottom-right corner of the map to navigate. You can also drag to pan.
  10. To rename the chart, click the chart title and type a new name. To move or resize the map, click and drag its border.
  11. Save your workbook. The embedded map is stored within the file and will display when opened on another compatible system with internet access.

Common Mistakes

  • Using inconsistent location names (e.g., mixing "UK", "United Kingdom", and "Great Britain")—Excel may fail to geocode some entries.
  • Selecting non-geographic columns as the location field—like product IDs or customer numbers—causes the map to show no data or error.
  • Trying to embed a map in Excel for Mac or Excel Online—this feature is unavailable on those platforms.
  • Having blank cells in the geographic column—Excel skips those rows and may misalign your data.
  • Using too many unique locations (over 1,000)—performance degrades and the map may not render properly.

Tips

  • Use Excel’s "Data > Get Data > From Table/Range" to convert your data into a proper table before inserting the map—it improves reliability.
  • For postal codes, ensure they’re formatted as text (not numbers) to preserve leading zeros in U.S. ZIP codes or UK codes.
  • Combine map charts with slicers (Insert > Slicer) to let users filter by region or category interactively.
  • Use the "Format" tab under Map Tools to adjust border thickness, font size, and background color for better presentation.
  • If your data includes multiple levels (e.g., country > state > city), Excel will default to the highest resolution it can display. You can’t drill down manually, but you can create separate maps for each level.
  • For non-standard locations (e.g., neighborhoods, districts), add latitude and longitude coordinates in separate columns, then use those instead of text names.

Troubleshooting

  • The "Insert Map" button is missing. Confirm you’re using Excel on Windows with a Microsoft 365 subscription. It’s not available in Excel 2019 standalone or older versions.
  • Map shows "No data to display". Check that your geographic column contains recognized locations. Test with a single row: type "United States" in one cell and 100 in another, then re-select and insert the map.
  • Some regions appear gray or uncolored. Excel couldn’t geocode those entries. Check spelling, use full names, and avoid special characters. Look for typos like "Califonia" or "Londin".
  • The map loads slowly or freezes. Reduce the number of rows. If you have over 500 unique locations, consider aggregating data by state or region first.
  • Map doesn’t update when I change data. Click anywhere on the map, then click "Refresh" in the Map Tools > Design tab. Excel doesn’t auto-refresh after edits.
  • Map appears blurry or pixelated. This is normal when zoomed in—Excel uses vector-based rendering but map tiles are raster. Export to PDF or PNG for higher-quality output.

Frequently Asked Questions

Can I embed a Google Map in Excel?

No, Excel does not support embedding external web maps like Google Maps. Only Excel’s built-in Map chart type is available, which uses Microsoft’s mapping service.

Why does my map show the wrong country for my city?

This happens when Excel misinterprets a location name. For example, "Paris" might default to Paris, Texas instead of Paris, France. Add the country name explicitly (e.g., "Paris, France") to resolve this.

Can I use this feature on a Mac?

No. The Map chart type is not available in Excel for Mac or Excel for the web. You must use Excel on Windows with a Microsoft 365 subscription.

Do I need to pay extra for the map feature?

No. The Map chart is included with any Microsoft 365 subscription that includes Excel for Windows. There are no additional fees.

Can I animate or show changes over time on the map?

No. Excel map charts are static and do not support time-based animations or sliders. For dynamic timelines, consider Power BI.

What if my data has coordinates instead of names?

Yes, you can use latitude and longitude. Add two columns labeled "Latitude" and "Longitude", then in the Map pane, assign those columns under "Location" instead of a text-based location field. Excel will plot points exactly.