To add a filter to a map chart in Excel, put your data in a proper table (or a PivotTable), select any cell inside it, and use Data > Filter (or Insert > Slicer for a PivotTable) so the chart redraws as you narrow the data. Excel's map chart does not have its own built-in filter button the way a PivotChart has field buttons. Instead, it works the other way round: the map is drawn from a range, and anything that changes the range that feeds it — a filter on the table, a slicer on a PivotTable, or hiding rows — changes what the map shows. Once you understand that relationship, filtering a map chart is simple. The rest of this guide walks through the reliable ways to do it and the traps that make people think it is broken.
What You'll Need
- Excel for Microsoft 365, Excel 2019, 2021, or Excel for the web. Map charts require a Microsoft 365 or recent perpetual licence; very old versions do not have them.
- Data with a geographic column — country, state/province, county, or postal code — plus a numeric value column to colour the regions.
- The geographic column spelled the way Excel recognises it ("United States" rather than "USA/US", ideally). Excel's own geographic data types and the map chart both rely on this.
- Optionally, a PivotTable if you want slicers, which give the friendliest filtering experience.
Step-by-Step
Method 1: Filter the table the map is based on
- Select any cell in your source data and press Ctrl+T (Cmd+T on Mac) to convert it into a table. Confirm the range and tick "My table has headers". A plain range also works, but a table is more robust and updates automatically as you filter.
- With a cell in the table selected, go to Data > Filter. Drop-down arrows appear in each header.
- Create the map first if you have not already: select the geographic and value columns, then Insert > Maps > Filled Map. Excel inserts the chart and may show a "geographic data" prompt asking you to confirm the country or region — accept it.
- Now click the filter arrow on a text column (for example Region or Sales Rep) and tick only the values you want to see. Excel hides the other rows, and the map recalculates to show only the visible data.
- To filter by a numeric range instead, click the arrow on the value column and use Number Filters > Greater Than, Between, Top 10, and so on.
- Clear the filter by clicking the arrow and choosing Clear Filter from the column, or press Data > Clear. The map returns to showing everything.
Exact menu labels can differ slightly by Excel version, device and region, so if "Filled Map" appears under a different Maps submenu or is named slightly differently, look for the map icon in the Charts group.
Method 2: Use a PivotTable with a slicer
- Select your data and go to Insert > PivotTable. Place it on a new worksheet.
- Drag your geographic field (Country, State) into the Rows area and your numeric field into the Values area, set to Sum.
- With a cell in the PivotTable selected, go to PivotTable Analyze > Insert Slicer Choose the field you want to filter by, such as Region or Category. A floating slicer panel appears.
- Insert the map from the PivotTable's values: select the PivotTable's cells, then Insert > Maps > Filled Map (or use Recommended Charts). Because the chart is tied to the PivotTable, clicking a slicer button instantly redraws the map.
- Click one or more slicer buttons to filter. Ctrl+click selects multiple items; the small clear-filter icon at the top right of the slicer resets it.
- If the filter buttons on the map itself are visible, you can also use those — they behave like the slicer and are handy when you do not want a separate panel on the sheet.
Method 3: Filter with a helper column and slicer for plain (non-Pivot) data
- Convert the data to a table as in Method 1.
- Go to Table Design > Insert Slicer and pick the column you want to filter on. This gives you clickable buttons without any PivotTable.
- Insert the map from the table, then click slicer buttons. Excel hides non-matching rows and the map updates to match.
Common Mistakes
- Filtering a chart that is not based on the table. If you built the chart from a copy of the data or a range that excludes the table, filtering the table does nothing to the map. Select the chart and check which cells are outlined by the coloured highlighting.
- Deleting rows instead of filtering. Filtering hides rows; deleting removes them and breaks the source range. Always filter, never delete, when you just want a temporary view.
- Expecting the map to grey out filtered regions. A filtered-out region usually vanishes from the map rather than showing in grey, so the visual shifts. If you want all regions always visible with only the colours changing, you need a formula-driven value column, not a filter.
- Unrecognised place names. If a row's geography is spelled wrongly, Excel may plot it in the wrong place or not at all, and filtering will look inconsistent. Fix spellings before blaming the filter.
- Filtering on a column that is not in the chart's data. The filter must be part of the range feeding the chart. A column outside the table's boundaries is invisible to it.
- Very large datasets. Map charts can be slow when a filter change forces thousands of rows to recalculate. Narrow the data with a helper summary first if updates lag.
Tips
- Sort your geographic column and confirm Excel recognises it: if a cell shows a small geography icon after converting to a data type, the names are clean.
- Use consistent naming. Mixing "California" and "CA" in the same column splits one region into two and makes filters confusing.
- For dashboards, put the slicer next to the map and label it clearly so viewers know clicking a button changes the map.
- If you want a permanent "filter" that is not interactive, build a copy of the data already narrowed with formulas like FILTER (Microsoft 365) and chart that copy.
- Keep one value column per map. Added multiple series often confuses the filled-map type, which favours a single colour scale.
Troubleshooting
The map does not change when you filter. First check the chart's data range — click the chart and look at the coloured outlines on the sheet. If they cover only a fixed block of rows and exclude your filtered column, delete the chart and reinsert it from the full table. Then reapply the filter.
The filter arrows are greyed out. The sheet may be protected or the workbook shared in a way that blocks filtering. Go to Review > Unprotect Sheet (you will need the password if one was set), or check that the data is not in a protected view. Close and reopen the file if Excel appeared to freeze after a large filter action.
Regions appear in the wrong country. Excel guesses based on spelling. Select the geographic column and use the Geography data type, or give the country name in an adjacent column so the map knows which "Georgia" or "Victoria" you mean. Reinsert the chart after correcting labels.
The map shows "#N/A" or blank areas. This usually means some rows have no numeric value, no recognised place, or are filtered out but still referenced. Check that filtered-out rows are truly hidden, and that the value column contains numbers, not text.
The chart is slow or crashes on filter changes. Save the file, reduce the row count, and avoid filtering while other heavy workbooks are open. Restart Excel and try a slicer on a PivotTable instead, which is often lighter than filtering thousands of table rows.
If that did not work. Rebuild the chart from a PivotTable, since PivotCharts are designed to respond to filters and slicers directly, and then insert the map from that PivotTable's output.
Frequently Asked Questions
Does a filled map chart have its own filter button?
Not in the way a PivotChart does. A map chart reflects the data range it is built from, so you filter the table, PivotTable or slicer that feeds it rather than the chart itself. PivotChart-style field buttons can appear when the chart is tied to a PivotTable.
Why does my map disappear when I filter everything out?
With no matching rows, there are no geographic values or numbers to plot, so the chart has nothing to draw. Clear the filter to bring it back.
Can I filter the map by date?
Yes, if your table has a date column. Add it to the PivotTable's filters or slicer, or use the table filter on that column, and choose the period you want. The map redraws for the remaining rows.
Do slicers work with a plain table, not a PivotTable?
Yes. Convert the range to a table, then use Table Design > Insert Slicer. The slicer filters the table, and a map built from that table updates with it.
Why do some states or countries not show at all?
They may be misspelled, written differently from Excel's expected name, or genuinely absent from the data after filtering. Fix the spelling and confirm the chart's range includes those rows.
Does filtering delete the hidden data?
No. Filtering only hides rows; clearing the filter brings them back. Deleting rows removes them permanently, so save a copy before deleting anything.