Inserting a map in Excel lets you visualize geographic data with color-coded regions, making trends in sales, population, or demographics easier to spot. This feature works with location data like countries, states, provinces, or postal codes. Before you begin, ensure your data is cleanly formatted with consistent location names and no blank rows. Excel’s map chart requires at least two columns: one with geographic labels and another with numeric values to map. This guide covers the built-in map chart tool in Excel for Windows and Mac, available in Microsoft 365 and Excel 2019 or later.
What You'll Need
- Microsoft Excel 2019 or later, or Microsoft 365 subscription
- A dataset with geographic locations (e.g., Country, State, City, Postal Code)
- A corresponding numeric column (e.g., Sales, Population, Units Sold)
- Internet connection (required to load map tiles and geocode locations)
Step-by-Step
- Organize your data in two or more columns. The first column must contain location names (e.g., "United States", "California", "London"), and the second column must contain numeric values (e.g., 1500, 8900, 3200). Avoid mixed data types or text in the numeric column.
- Select the entire range of data, including headers. Do not select empty cells or unrelated columns. If your data has headers, make sure they are clearly labeled (e.g., "Region", "Revenue").
- Go to the Insert tab on the Excel ribbon. In the Charts group, click the "Insert Map Chart" button (it looks like a globe with a pie chart overlay). If you don’t see this button, your Excel version may not support it, or you’re using a version without map chart capability.
- Excel will automatically generate a map based on your data. If locations are recognized, they will appear color-coded by value. If Excel cannot identify a location, it will show a warning message—proceed to the Troubleshooting section if this occurs.
- Once the map appears, click on it to activate the Chart Design and Format tabs. Use Chart Design to change the chart style, switch row/column data, or apply a different color scheme.
- To adjust the data range, click the "Select Data" button in the Chart Design tab. Confirm that the correct columns are assigned to the "Legend Entries (Series)" and "Horizontal (Category) Axis Labels". Edit if needed.
- Right-click on any colored region on the map and choose "Format Data Point". Here, you can adjust the color scale, set minimum and maximum values, or apply a custom color gradient to better highlight differences.
- To add data labels, click the green plus icon (+) next to the chart, then check "Data Labels". You can choose to show values, region names, or both. Adjust font size and position using the Format pane that appears.
- To save your map, click File > Save or Ctrl+S. The map is embedded as a live chart, so it updates automatically if your source data changes.
Common Mistakes
- Using inconsistent location names (e.g., "USA" vs. "United States" or "CA" vs. "California")—Excel may not recognize them as the same region.
- Having blank rows or non-numeric values in the data column—this will cause Excel to skip entries or show errors.
- Selecting too many columns or unrelated data—Excel may misinterpret which column contains geographic data.
- Using Excel Online or older versions (2016 or earlier)—map charts are not supported in these versions.
- Assuming postal codes work without country context—Excel may misinterpret "90210" as a number unless paired with "United States".
Tips
- Use standard geographic names: "Germany" instead of "Deutschland", "Texas" instead of "TX"—this improves recognition accuracy.
- For better results, add a country column if your data spans multiple countries (e.g., "United States, California").
- Use the "Data Type" feature: select your location column, go to Data > Data Type > Location. Excel will validate and enhance the data, improving map accuracy.
- Sort your numeric values in ascending or descending order before creating the map to better visualize gradients.
- Use a consistent number format (e.g., no commas in 1,000—use 1000) to prevent Excel from treating numbers as text.
- For large datasets, reduce the number of locations to 50 or fewer for optimal performance and clarity.
Troubleshooting
- If the map doesn’t appear after clicking "Insert Map Chart", check that you have the correct Excel version. Map charts are not available in Excel 2016 or earlier, or in Excel for Mac prior to version 16.28.
- If Excel shows "Some locations couldn’t be mapped", review your location names for typos, abbreviations, or unsupported terms. Try replacing "UK" with "United Kingdom" or "NY" with "New York".
- If the map appears blank but no error appears, confirm your numeric column contains actual numbers—not text formatted as numbers. Use VALUE() or check the cell alignment (numbers align right, text aligns left).
- If the map loads slowly or fails to render, your internet connection may be unstable. Try again with a stronger signal. Excel downloads map tiles from Microsoft’s servers.
- If the map chart disappears after saving and reopening, ensure the file is saved as .xlsx or .xlsm. Map charts are not supported in .xls format.
- If you’re using Excel on a corporate network, map features may be blocked by IT policy. Contact your administrator to confirm that geolocation services are allowed.