How to Add Filters to Pivot Table Columns
In this article
To add filters to pivot table columns, you use the filter drop-down on the column header or the Filter field in the PivotTable Fields pane. In Excel, click the drop-down arrow on any column label in the pivot table, choose the items you want, and click OK. In Google Sheets, click the filter icon on the column header and select the values to show. This lets you hide unwanted data without changing the underlying source, so the pivot table recalculates and shows only the filtered results.
What You'll Need
- Excel (Microsoft 365, Excel 2019 or later) or Google Sheets — the steps below cover both, with differences noted.
- A pivot table already built from a data range or table.
- Your source data should have clean headers and no blank rows, or filters may behave unpredictably.
Step-by-Step
- Click any cell inside the pivot table. This activates the PivotTable Tools tabs on the ribbon (Excel) or shows the pivot table editor (Google Sheets).
- Locate the column you want to filter. In Excel, column labels appear as row or column headers in the pivot table. In Google Sheets, they appear as column headers in the pivot table output.
- Click the filter drop-down arrow on that column header. In Excel, the arrow appears at the right edge of the header cell. In Google Sheets, click the small filter icon that appears in the header cell when you hover over it.
- Choose the filter type. In Excel, the drop-down menu offers Label Filters, Value Filters, and a search box. In Google Sheets, the menu offers Filter by condition and Filter by values.
- Select the specific items or condition. For example, tick only the product names you want to see, or set a value filter such as greater than 1000. In Excel, use the search box to quickly find items in long lists.
- Click OK (Excel) or press Enter (Google Sheets). The pivot table updates immediately to show only the matching rows or columns.
- Verify the filter is active. In Excel, the drop-down arrow changes to a funnel icon to indicate an active filter. In Google Sheets, the filter icon turns green or shows a filled state.
- To remove the filter, click the same drop-down or filter icon and choose Clear Filter (Excel) or Select all (Google Sheets), then OK.
Note: Menu labels can differ slightly by Excel version, device, or region. The steps above are for Excel on Windows and Google Sheets in a browser; Excel for Mac uses the same drop-down arrows but the menu wording may vary slightly.
Common Mistakes
- Filtering the source data instead of the pivot table. Applying a filter to the original data range does not automatically filter the pivot table unless you refresh it. Always use the pivot table's own filter controls.
- Expecting the filter to remove items from the source. Pivot table filters only hide data in the pivot table view; the underlying data remains unchanged.
- Using the search box but forgetting to tick items. In Excel, typing in the search box and clicking OK without selecting items can result in an empty pivot table. Tick the items you want before clicking OK.
- Filtering a column that is not in the pivot table layout. You can only filter fields that are placed in the Rows, Columns, or Filters area. If a field is only in Values, you cannot filter it directly; add it to Rows or Columns first.
- Forgetting to refresh after changing source data. Filters apply to the data as it was when the pivot table was last refreshed. Right-click the pivot table and choose Refresh (Excel) or use the refresh option in the pivot table editor (Google Sheets) to update.
Tips
- Use the Filters area in the PivotTable Fields pane (Excel) to add a report filter at the top of the pivot table. This lets you switch between filter values without opening the drop-down each time.
- In Excel, use Label Filters > Contains to filter text that includes a specific word, which is faster than ticking individual items in a long list.
- In Google Sheets, use Filter by condition > Text contains for similar results.
- To filter multiple columns at once, apply filters one column at a time; each filter is independent and combines with AND logic.
- If you need to keep a record of the filtered view, copy the pivot table and paste it as values into a new sheet before changing filters.
Troubleshooting
- The filter drop-down is missing. Make sure you clicked inside the pivot table and that the field is in the Rows or Columns area. In Excel, check that the PivotTable Tools > Analyze tab is active; the filter arrows are always visible on row and column headers unless the pivot table style hides them.
- The pivot table shows no data after filtering. Clear the filter and check that you have ticked at least one item. In Excel, use the search box to confirm the item exists in the field.
- Filter options are greyed out. This can happen if the pivot table is based on a data model or if the field is grouped. Ungroup the field or check the data source settings.
- Filter does not update after source data changes. Refresh the pivot table. In Excel, right-click and choose Refresh; in Google Sheets, use the refresh icon in the pivot table editor.
- Filtered items reappear after refresh. This can happen if the filter was applied to a field that was later removed and re-added. Reapply the filter and avoid changing the pivot table layout.
Frequently Asked Questions
Can I filter a pivot table column by a date range?
Yes. In Excel, use Label Filters > Date Filters and choose a range such as Between or This Month. In Google Sheets, use Filter by condition > Date is between and enter the start and end dates.
How do I filter a pivot table column to show only the top 10 items?
In Excel, click the column header drop-down, choose Value Filters > Top 10, and set the number. In Google Sheets, use Filter by condition > Is top 10 and specify the number.
Why does my pivot table filter not show all items?
The filter may be set to exclude blank cells or items with no data. Check the filter settings and ensure the Show items with no data option is enabled if you need to see them.
Can I apply a filter to a pivot table column that contains calculated fields?
Yes, but calculated fields must be added to the Rows or Columns area to be filterable. Filters on calculated fields work the same way as on regular fields.
How do I remove all filters from a pivot table at once?
In Excel, go to PivotTable Tools > Analyze > Clear > Clear Filters. In Google Sheets, open the pivot table editor and click the filter icon on each column to reset, or use the Clear all option if available.
Does filtering a pivot table affect the original data?
No. Pivot table filters only change what is displayed in the pivot table; the source data remains untouched.