Creating a map chart in Excel allows you to visualize geographic data—such as sales by state or population by country—using a color-coded heat map. To achieve this, you simply need a table containing geographic names (like countries, states, or postal codes) and corresponding numerical values. Excel uses Bing Maps to automatically recognize these locations and plot them on a map.
What You'll Need
- Microsoft Excel (Office 365 or Excel 2019 and newer).
- An active internet connection (required for Excel to connect to Bing and verify geographic locations).
- A dataset with one column for geography (e.g., "Country" or "State") and one column for the metric you want to measure (e.g., "Revenue" or "Temperature").
Step-by-Step
- Prepare Your Data: Organize your data into a simple table. Place the geographic names in the first column and the numerical data in the second column. Ensure the geographic names are spelled correctly and are consistent (e.g., use "United States" throughout rather than switching between "USA" and "US").
- Select the Data Range: Click and drag your mouse to highlight the cells containing both the geographic labels and the numerical values, including the column headers.
- Insert the Map: Go to the Insert tab on the top ribbon. In the Charts group, click on Maps and then select Filled Map.
- Verify the Map Generation: Excel will communicate with Bing to plot the data. A map will appear on your worksheet with regions shaded based on the values in your data table. Note that menu labels may differ slightly depending on your version of Excel or region.
- Adjust the Map Area: Click and drag the corners of the chart area to resize the map to fit your dashboard or report.
- Format the Colors: Right-click on one of the colored regions of the map and select Format Data Series. A pane will appear on the right side of the screen.
- Change the Color Scale: In the Format Data Series pane, look for the Series Color section. You can change the "Map projection" or the "Series color" from a 2-color gradient to a 3-color gradient. This allows you to set specific colors for the minimum, midpoint, and maximum values.
- Modify Map Projection: In the same Format Data Series pane, you can change the Map area setting. Choose "Automatic" to show all data points, or select "Only regions with data" to zoom in on the specific areas listed in your table.
Common Mistakes
- Ambiguous Location Names: Using names that could refer to multiple places (e.g., "Georgia" could be the US state or the country) can confuse the mapping engine.
- Inconsistent Naming: Mixing abbreviations (NY) with full names (New York) in the same column can lead to some regions being skipped or incorrectly mapped.
- Incorrect Data Types: Attempting to map non-numerical data (like text descriptions) will result in an error, as filled maps require a value to determine the color intensity.
- Working Offline: Attempting to create a map without an internet connection will result in the map failing to load, as Excel cannot reach the Bing mapping service.
Tips
- Use Standardized Lists: To avoid errors, use standardized ISO country codes or official state names.
- Add a Legend: Always ensure the legend is visible so viewers understand what the color gradients represent. You can move the legend via the Chart Elements (+) button.
- Keep it Simple: Avoid overloading a single map with too many disparate data points. If you have data for 50 different countries and 50 different states, create two separate maps for clarity.
- Contrast Colors: Use a high-contrast color scale (e.g., light yellow to dark blue) to make the differences between high and low values immediately obvious.
Troubleshooting
If your map does not appear or shows the wrong regions, try these steps in order:
- Check Internet Connection: Ensure you are online. If you are behind a corporate firewall, the connection to Bing Maps may be blocked.
- Verify Spelling: Check for typos in your geographic column. A single misspelled city or state can prevent that specific region from shading.
- Add Context: If a location is ambiguous, add a "Country" column next to your "State" column. Select both columns when inserting the map to help Excel narrow down the location.
- Check Data Types: Ensure your value column is formatted as "Number" or "Currency," not as "Text."
- Update Excel: Ensure your software is updated to the latest version, as map features are frequently improved.
Frequently Asked Questions
Can I create a map chart in older versions of Excel?
Filled Map charts are available in Microsoft 365 and Excel 2019 or newer. If you are using an older version, you will not see the Maps option in the Insert tab.
Why are some of my regions not coloring in?
This usually happens because Excel cannot recognize the geographic name. Check for spelling errors or provide more context (like adding a country column) to help the tool identify the location.
Can I map specific zip codes or street addresses?
Filled Maps are designed for larger regions like countries, states, provinces, and postal codes. They generally do not support specific street addresses; for that level of detail, you would need a 3D Map or a third-party add-in.
How do I change the map from a world view to a specific country view?
Right-click the map, select Format Data Series, and under Map area, change the setting from "Automatic" to "Only regions with data."
Does this work for all languages?
Yes, Bing Maps supports geographic names in many different languages, though using the English name is often the most reliable method for global datasets.