How to Create USA Map in Excel
In this article
This guide shows how to create an interactive map chart in Excel using the built-in Geo Data feature. You will turn a list of states with sales figures into a visual map. This requires a modern version of Excel with the Maps chart type enabled (available in Office 365, Excel 2019, and Excel 2021 on Windows or Mac).
What You'll Need
- A computer running Windows or macOS.
- A modern version of Microsoft Excel (2019, 2021, or Office 365).
- A working internet connection (Excel requires an online data service to render maps).
- A dataset containing at least two columns: one with the names of US states (or country names) and one with numerical values like revenue, population, or units sold.
Step-by-Step
- Prepare your data table. Ensure your data is in a clean, flat table format. The first column must contain the names of the geographic locations. For a USA map, these should be the standard two-letter state abbreviations (e.g., CA, NY, TX) or the full state names (e.g., California, New York, Texas). Excel is generally case-insensitive, but using standard abbreviations is safer. The second column must contain the numerical data you wish to visualize. Do not include a header row if you are using the "Insert Map" button, or ensure you select the "First row contains column labels" option if prompted.
- Select your data. Click anywhere inside your data table to select it. It is best to select the entire block of data, including the headers if you plan to use them as labels. Do not select the entire worksheet; just the specific range containing your state names and values.
- Insert the map chart. Go to the "Insert" tab in the top ribbon. Locate the Charts group, find the icon labeled "Maps" (it looks like a world globe with a red pushpin), and click the arrow to expand the options. Choose the first option, "Filled Map." In some older versions or specific regions, this may appear as "Maps (2D)." Excel will attempt to guess the type of map based on your data. If you have a list of US states, it will create a map of the United States.
- Verify the map data. Once inserted, a map chart will appear on your sheet. Click on the map chart to activate it. In the top right corner of the chart area, you will see the "Edit Data" button (pencil icon) and the "Map Legend" toggle. Click the "Edit Data" button. A new window will appear listing your data. Ensure the category (Y-axis) is set to your numerical values and the series (X-axis) is set to your state names. If Excel incorrectly identifies the data, you can simply swap the references by clicking the dropdowns next to Series and Category and selecting the correct column.
- Customize the legend and labels. By default, the map will use the category values to determine the color intensity. Ensure the legend is visible and shows the correct scale (e.g., "Low" to "High"). You can toggle the legend on or off by clicking the "Map Legend" button in the chart elements menu. To add a title, click the chart, then click the "Chart Title" button in the top-left of the ribbon and choose "Above Chart." Type a descriptive title like "Sales by State." To add a data label, click the "+ Add Chart Element" button, hover over "Data Labels," and select the option you prefer (e.g., "Outside End"). This will display the exact numbers on top of each state.
- Format the map. You can change the color palette of the map by clicking the "Change Colors" button in the map design tab. This allows you to select from different color schemes to match your presentation or report theme. You can also change the map type (e.g., from a filled map to a line map) if your data represents a trend over time, though a filled map is standard for static geographic data.
Common Mistakes
Using full country names instead of states. If your data contains "United States" or "USA,” Excel may fail to recognize the locations and produce an empty map. You must use the specific state names or two-letter abbreviations (e.g., "California" instead of "USA") for the map to render correctly.
Confusing Maps with 3D Map. Note that the standard "Filled Map" is a 2D chart. It is not the same as the "3D Map" feature (formerly Power Map), which creates an immersive, rotating 3D globe experience. The steps above are for the standard 2D map chart, which is easier to embed in reports and slides.
Missing internet connection. The map feature relies on Bing Maps data. If you are offline, the map will not render and you will see an error message indicating that the map data is unavailable.
Tips
Sort your data. Sorting your data alphabetically before inserting the map can sometimes help Excel process the data more efficiently and ensure the colors are applied in a logical order.
Use state abbreviations for cleaner data. If you have a long list of states, using the two-letter abbreviations (CA, TX, FL) in your source data will result in a cleaner, less cluttered map than using full names.
Combine with slicers. If your data is part of a larger PivotTable, you can create a PivotChart map and add slicers to filter the data by region or category dynamically.
Troubleshooting
The map is blank or shows a generic world map.
This usually happens because the data in the first column is not formatted as text or contains invalid entries. Ensure that the cells are not formatted as numbers or dates. Try converting the state names to "Text" format via the Home tab. Also, double-check for any extra spaces in the cell data (e.g., "California " with a trailing space) as this will break the matching.
The legend does not update when I change the data.
Click anywhere on the map to ensure it is selected. Right-click on the map and choose "Refresh Data.” This forces Excel to re-read the source cells and update the colors and legend.
The "Maps" option is missing from the Insert tab.
This feature requires an active internet connection and a valid Office 365 subscription. If you are on an older version of Excel, you may not have this feature. For older versions, you must use a third-party add-in or an image-based map, which is not covered in this standard guide.
Frequently Asked Questions
Can I use this map on a Mac?
Yes, the map chart feature is available in Excel for Mac, provided you are running a modern version (2019 or later) with an internet connection.
Why does my data show as "USA" instead of states?
Excel attempts to match your text to a geographic database. If you only enter "USA," it treats it as a single location. You must list individual states or countries for the map to break them down.
Can I add a hover tooltip with more details?
Yes. Once the map is created, click the "+ Add Chart Element" button, hover over "Tooltip,” and select "Tooltip Title" and "Tooltip Content.” You can then link these to other data points in your table.
Does this require Power BI?
No. This uses the standard Excel chart engine, which is built-in. You do not need to install Power BI or connect to a Power BI service.
Why is the color scale not distinct enough?
The color scale is determined by the range of your data. If all your values are very close together (e.g., between 100 and 110), the colors will look similar. Try scaling your data to a wider range or adjusting the number of classes in the legend settings.
Can I export this map as an image?
Yes. Click the map to select it, then press Ctrl+C to copy it. You can paste it directly into PowerPoint, Word, or an image editor like Paint or Photoshop.