To add a map chart in Excel, highlight your geographic data, go to the Insert tab, and select Maps > Filled Map. This feature transforms lists of countries, states, or postal codes into a color-coded visual representation, allowing you to identify regional trends and data distributions at a glance. Note that labels and menu paths may vary slightly depending on your version of Excel or your region.
What You'll Need
- A version of Excel that supports Map Charts (Microsoft 365, Excel 2019, or newer).
- An active internet connection (Excel uses Bing Maps to resolve geographic names).
- A dataset containing geographic identifiers (e.g., Country, State, Province, or Zip Code) and corresponding numerical values.
Step-by-Step
- Prepare Your Data: Organize your data into two columns. The first column should contain the geographic names (e.g., "United States," "Canada," "Mexico") and the second column should contain the numerical data you want to map (e.g., "Sales," "Population," or "Temperature"). Ensure your column headers are clear, such as "Country" and "Revenue."
- Select the Data Range: Click and drag your mouse to highlight the cells containing both the geographic names and the numerical values, including the header row.
- Insert the Map: Navigate to the top ribbon and click the Insert tab. In the Charts group, click the Maps icon and select Filled Map.
- Verify the Map Generation: Excel will connect to Bing to analyze the geographic names. Once processed, a map will appear on your worksheet with regions shaded based on the values in your data range.
- Adjust Map Projection: If the map looks distorted or excludes certain areas, right-click on the map area and select Format Data Series. In the Format pane that opens on the right, look for the Map projection dropdown to choose between Automatic, Mercator, Miller, or Albers.
- Change Map Area: In the same Format Data Series pane, find the Map area setting. You can change this from "Automatic" to "Only regions with data" if you want to zoom in specifically on the locations listed in your spreadsheet.
- Customize Colors: To change the color scale, right-click the map and select Format Data Series. Under Series Color, you can choose a 2-color or 3-color gradient to represent the minimum, midpoint, and maximum values of your data.
Common Mistakes
- Vague Geographic Names: Using "Springfield" without specifying the state or country can confuse the mapping engine, as there are many cities with that name. Always include a secondary column for State or Country to provide context.
- Incorrect Data Types: Trying to map text-based "ratings" (like "High," "Medium," "Low") will not work. Map charts require numerical values to determine the shading of the regions.
- Merging Cells: Having merged cells in your data range can prevent Excel from recognizing the table structure, leading to an error or an empty map.
- Using Non-Standard Names: Using nicknames or unofficial abbreviations for regions can lead to "unmapped" areas. Stick to official names or standard ISO codes.
Tips
- Use Data Tables: Convert your data range into an official Excel Table (Ctrl + T) before creating the map. This ensures that if you add new rows of data later, the map will update automatically.
- Standardize Formatting: For postal codes, ensure the cells are formatted as Text rather than Number to prevent Excel from stripping leading zeros (e.g., 02108 becoming 2108), which would cause mapping errors.
- Combine Columns: If you have many cities with the same name, create a helper column using a formula like
=A2 & ", " & B2(City & State) to create a unique identifier for the map engine.
Troubleshooting
If your map does not appear or shows "Chart cannot be created," try these steps in order:
- Check Internet Connectivity: Map charts require a connection to Bing Maps. If you are offline or behind a strict corporate firewall, the map will not render.
- Verify Data Accuracy: Check for typos in your geographic names. A misspelled country name will result in that region remaining blank.
- Check Privacy Settings: Go to File > Account > Account Privacy > Manage Settings and ensure that "Optional connected experiences" is turned on. This allows Excel to communicate with the mapping service.
- Simplify the Dataset: If you have thousands of data points, try creating a map with a smaller subset of data first to see if the issue is related to data volume or specific entries.
Frequently Asked Questions
Can I create a map chart in Excel for the web?
Yes, Map charts are supported in Excel for the Web, though some advanced formatting options available in the desktop application may be limited.
Why are some of my regions not appearing on the map?
This usually happens because the mapping engine cannot resolve the name. Try adding a column for the country or state to provide more specific geographic context.
Can I map specific street addresses?
No, Filled Maps are designed for regional boundaries (countries, states, counties, zip codes). For specific addresses or points, you would need to use the 3D Maps feature or a third-party add-in.
Does Excel support map charts for every country?
While most countries and major administrative divisions are supported, some very small territories or disputed borders may not render correctly depending on the Bing Maps database.
Can I use a map chart with qualitative data?
No, the Filled Map chart specifically requires numerical values to create the color gradient. For qualitative data, you would need to assign a number to each category first.