To insert a county map in Excel, you use the Map Chart feature, which leverages Bing Maps to automatically recognize geographic names and plot them. This allows you to create a heat map or a regional distribution chart where counties are shaded based on the numerical values in your data table.
What You'll Need
- A version of Excel that supports Map Charts (Microsoft 365 or Excel 2019 and later).
- An active internet connection (required for Excel to communicate with Bing to identify geographic boundaries).
- A dataset containing a column of county names and a corresponding column of numerical values.
Step-by-Step
- Prepare Your Data: Create a two-column table. In the first column, list the names of the counties. In the second column, enter the data values you want to visualize.
Crucial Tip: To avoid ambiguity (e.g., "Orange County" exists in both California and Florida), add a third column for the State or Country. Your table should ideally look like this: [County], [State], [Value]. - Select the Data Range: Click and drag your mouse to highlight the entire range of cells, including the headers (e.g., "County," "State," and "Sales").
- Insert the Map: Go to the Insert tab on the top ribbon. In the Charts group, click on Maps and then select Filled Map.
- Wait for Data Processing: Excel will send the geographic names to Bing. Once the locations are recognized, a map will appear on your worksheet with the counties shaded according to your data.
- Refine the Map Area: If the map shows the entire world but you only have data for one state, right-click on the map and select Format Data Series. In the pane that opens on the right, under Map area, change the setting from "Automatic" to "Only regions with data."
- Adjust the Color Scale: In the same Format Data Series pane, look for Series Color. You can choose a 2-color or 3-color gradient to change how the high, middle, and low values are represented visually.
- Add Labels and Titles: Click on the Chart Title to rename it. You can also use the Chart Elements button (the plus sign icon next to the chart) to add a legend or data labels.
Common Mistakes
- Vague Geographic Names: Using only the county name without the state. Because many counties share names across different states, Excel may plot them in the wrong location or fail to recognize them entirely.
- Incorrect Data Types: Trying to map "Text" values. Map charts require numerical values (integers, decimals, or percentages) to determine the shading of the map.
- Spelling Errors: Typographical errors in county names will prevent Bing from identifying the region, leaving that specific county blank or white on the map.
- Merged Cells: Using merged cells in your data table can confuse the chart engine. Ensure your data is in a clean, standard grid format.
Tips
- Use a Table: Convert your data range into an official Excel Table (Ctrl + T) before inserting the map. This way, if you add new counties to the bottom of your list, the map will update automatically.
- Consistent Naming: Use the official USPS or census naming conventions for counties to ensure the highest accuracy in geographic recognition.
- Contrast Colors: When choosing a color scale, use contrasting colors (e.g., light blue to dark blue) to make the differences in data values immediately apparent to the viewer.
Troubleshooting
If the map does not display correctly or shows an error, try these steps in order:
- Check Connectivity: Ensure you are connected to the internet. Map charts cannot generate without a connection to the Bing mapping service.
- Verify Geography: If a county is missing, check the spelling. Try adding the state name in the cell (e.g., change "Cook" to "Cook County, IL") to help Excel identify the exact location.
- Clear Cache/Restart: If the map is stuck on "Loading," save your work, close Excel completely, and restart the application.
- Check Version: If the "Maps" option is greyed out or missing from the Insert tab, verify that you are using a supported version of Excel. Older versions (like Excel 2013 or 2016) do not have the built-in Map Chart feature.
Frequently Asked Questions
Can I map counties in countries other than the US?
Yes, the Map Chart feature supports most countries globally, provided the geographic names are recognized by Bing Maps.
How do I change the colors of the map?
Right-click the map, select Format Data Series, and use the Series Color dropdown to choose between a 2-color or 3-color gradient.
Why are some counties appearing as blank spaces?
This usually happens because Excel cannot match the text in your cell to a known location. Check for spelling errors or add the state/province name for better accuracy.
Can I create a map with bubbles instead of shaded areas?
No, the built-in "Filled Map" creates choropleth maps (shaded areas). For bubble maps, you would need to use the 3D Maps feature found under the Insert tab.
Does the map update in real-time?
Yes, if your map is linked to a data range or an Excel Table, changing the numerical values in your cells will instantly update the shading on the map.