How to Add a Filter to a Pivot Table: Step-by-Step
In this article
You add a filter to a pivot table by dragging the field you want to filter into the Filters (or "Filter") area of the field list, then choosing the values to keep in the report filter dropdown above the table. If you just need to hide a few rows from one field, the row or column label dropdown arrow does the same job faster. What you get either way is a table that shows only the records you care about while the full source data stays untouched, so you can flip between views without rebuilding anything.
This guide covers Excel for Windows and Mac and Google Sheets, since the menus are close enough to follow together. Labels can differ slightly by version, device or region, so if you cannot find an exact name, look for the section that matches the description. Note that Excel for the web and the mobile apps have a reduced pivot table editor; filter options usually work, but the field list layout is different.
What You'll Need
- A spreadsheet with an existing pivot table, or source data you can turn into one (select a cell in the data, then Insert > PivotTable).
- Source data with a proper header row, no blank rows inside the range, and one value type per column.
- Access to the file. If the pivot table is on a shared sheet, check whether you have edit rights, since filtering changes only the view but still requires edit access in some shared setups.
- Google Sheets: a Sheet with a pivot table created from Data > Pivot table.
Step-by-Step
- Click any cell inside the pivot table. This wakes up the pivot tools: the PivotTable Analyze and Design tabs in Excel, or the pivot table editor panel on the right in Google Sheets. If no panel or tab appears, you clicked outside the table - click a cell that holds a number or label from the pivot.
- Open the field list. In Excel it is the pane on the right of the window (PivotTable Fields). If it is hidden, click PivotTable Analyze > Field List. In Google Sheets the editor panel should already be showing; if not, click the pivot table and use the pencil icon or the panel's collapse handle.
- Find the column you want to filter in the field list at the top of the pane. This list shows every header from your source data, not just the fields already in the table.
- Drag that field into the Filters area (labeled "Filters" in Excel, "Filters" in the Google Sheets editor). Release it when the area highlights. A new dropdown appears above the pivot table labeled with that field name.
- Click the dropdown above the table. You will see the list of distinct values with checkboxes, plus options for searching and for multiple selections.
- Choose what to keep. To keep a single value, clear the checkboxes (or untick "(Select All)") and tick just the one you want. To keep several, tick each. In Excel, if you want the filter to reflect a cell you can change later, tick "Use current selection" style options only if you are sure of the behavior in your version; otherwise stick to manual ticks.
- Click OK. The table recalculates and shows only matching records. The grand totals shrink to match, because totals are calculated from the filtered set.
- Verify the numbers. Cross-check one total against the unfiltered view. If you cleared the filter and the number did not return to its original value, you have probably applied a label filter on a row or column field as well - check the arrows next to the row and column headers.
- For a quicker one-field filter, use the row or column label arrow instead. Click the small dropdown arrow on the row label heading (for example next to "Region") and untick the values you do not want. This is a label filter and is stored on that field, which is usually what people mean by "filtering a pivot table by a category".
- For range or text conditions, use Value Filters or Label Filters. Open the row label dropdown and choose Label Filters for text or date conditions (Equals, Begins With, Between) or Value Filters for number conditions such as Greater Than or Top 10. These filter the summarized results rather than the raw rows, so the behavior differs from the report filter - if a total looks wrong, this is the usual cause.
- Save and, if you want, preserve the filter for others. The filter is stored with the workbook or Sheet, so anyone opening it sees the same view. If you need a permanent subset, copy the filtered pivot and paste as values into a new location instead of relying on the filter.
Common Mistakes
Dragging the field into Rows or Columns by accident. Dropping a field into the wrong area adds a whole new grouping level instead of a filter. Undo it, then drag again and watch for the area highlight before releasing.
Assuming a report filter changes the source data. It does not. The source rows stay as they are and other formulas pointing at the source are unaffected. If those formulas need the same subset, use FILTER or a helper column instead.
Forgetting that report filters and label filters stack. A report filter plus a hidden row label plus a value filter can all be active at once, and the result can look empty or oddly small. Clear them one at a time to find the culprit.
Filtering on a field with blank cells. Blanks usually appear as a separate "(blank)" entry at the bottom of the checkbox list. If you untick it you also hide records that are missing that value, which often looks like lost data.
Adding a new source row and expecting the filter to include it. If the pivot's source range did not expand, the new row is outside the data. Refresh the pivot (PivotTable Analyze > Refresh, or Data > Refresh All); if it still does not appear, the source range needs widening or converting to a proper table.
Filtering a shared sheet without telling anyone. Anyone who opens the file sees your filtered view and may think records have gone missing. Leave a note or reset the filter before sharing.
Tips
- Rename the filter dropdown by typing a clear label in the cell above it, so readers know what is being hidden.
- Use a slicer for touch-friendly, obvious filtering: with a cell in the pivot selected, choose Insert > Slicer (Excel) and pick the field. Slicers show every option as buttons and make the current selection visible at a glance.
- Keep one pivot per question. A single pivot with three stacked filters is harder to trust than three pivots with one filter each.
- Convert the source range to a table (Ctrl+T or Insert > Table) so new rows are picked up by refresh.
- Place filter fields at the top of the field list so the dropdown order matches how you talk about the report.
- If you need to compare filtered and unfiltered totals side by side, add a second pivot from the same source rather than toggling the filter back and forth.
Troubleshooting
The dropdown does not appear after dragging. Check the field went into the Filters area and not into Values. Also confirm you are clicked inside the pivot; if the field list is grayed out, the active cell is outside the table.
The table shows no data. You have selected values that do not exist together with other active filters. Open each filter in turn and set it to show all, then reintroduce conditions one at a time.
The filter list shows old values. The pivot needs a refresh. Use PivotTable Analyze > Refresh; in Google Sheets, the editor updates when the data changes, but reload the page if it looks stale.
You cannot tick a specific value because it is missing from the list. That value may not exist in the current data, or it may be hidden by another active filter on the same field. Clear the field's filter first.
The totals look wrong after filtering. You may have filtered on a row label while reading a column total, or the pivot was set to count instead of sum. Right-click a value, choose Summarize Values By, and confirm Sum is selected.
If that did not work, rebuild the pivot from scratch (Insert > PivotTable on the same data range, then drag the four areas again). This clears any stacked or leftover filter state that is hard to see, and takes less time than hunting for it.
Frequently Asked Questions
Does filtering a pivot table delete data?
No. Filters only change what the pivot displays. The underlying rows stay in the source range and remain available in other sheets and formulas.
What is the difference between a report filter and a label filter?
A report filter (the Filters area) restricts which source records feed the whole pivot. A label or value filter on a row or column field hides summarized categories from the display. They often look identical but behave differently, especially with totals and calculated items.
Can I filter by more than one field at once?
Yes. Drag several fields into the Filters area, or combine one report filter with label filters on different row fields. Each gets its own dropdown, and the conditions combine with AND logic, meaning records must match all of them.
Can I filter a pivot table on my phone?
You can open and refresh pivot tables in the Excel and Google Sheets mobile apps, and simple filter dropdowns are usually usable, but the full field list is limited. For building or heavily filtering a pivot, use the desktop or web version.
Why did my filtered total not update?
The pivot is probably not refreshed, or a value filter is hiding categories. Refresh first, then check the row and column arrows for active filters.
Can I save a filter as a reusable view?
Not as a named view in the pivot itself. The practical workaround is to copy the filtered pivot, paste it as values elsewhere, and keep the original for other questions.