To filter a pivot table in Google Sheets, click anywhere on the pivot table, then in the task panel on the right, under the “Rows,” “Columns,” or “Values” section, click the “Add filter” button next to the relevant field, or use the “Filter” section at the bottom of the panel to apply conditions to the entire pivot table. This lets you show only the data you need without altering the underlying source data.
What a Pivot Table Filter Does
A pivot table filter is a way to restrict which rows or columns appear in your summary table. Unlike sorting (which just reorders) or manually deleting rows (which changes your source data), a filter hides data that doesn’t meet your criteria. For example, if you have a sales log with columns for Region, Product, and Revenue, you can filter the pivot table to show only the “West” region or only products with revenue above $500.
In Google Sheets, there are two main types of filters in a pivot table:
- Field filters – applied to a specific row or column field (e.g., show only certain categories).
- Pivot table-wide filters – applied to any field, including values, and affect the entire table (e.g., show only rows where total sales > $1,000).
Both are non-destructive; you can remove or change them anytime.
How to Add a Filter to a Pivot Table
Here are the exact steps for a pivot table you’ve already created (if you haven’t, select your data and go to Insert > Pivot table).
- Click anywhere inside the pivot table. The editing panel opens on the right.
- In the panel, look for the Rows, Columns, or Values sections. Each field you’ve added has a small drop-down arrow next to it. Click that arrow.
- In the drop-down, select Filter by condition or Filter by values.
- Choose your condition (e.g., “Greater than,” “Text contains”) or uncheck items you want to hide under “Filter by values.”
- Click OK. The pivot table updates instantly.
To add a filter that applies to the whole pivot table (not just one field), scroll to the bottom of the editing panel and click Add filter under the “Filter” section. Then pick a field and set the condition.
Filtering by Value (e.g., Top 10 or Above Average)
One of the most useful filters is by value, because it lets you see only the most significant data. For instance, to show only the top 3 products by total sales:
- Click the drop-down arrow next to the product field in the Rows section.
- Choose Filter by condition.
- Select Top 10 (or “Top N” where you can type 3).
- Set the “By field” to the values field (e.g., “Sum of Revenue”) and the “Sort by” to Sum of Revenue.
- Click OK.
You can also use conditions like “Above average” or “Greater than” with a number. For example, to see only products with average revenue above $200, choose Greater than and enter 200 in the value box.
Common Problems and How to Fix Them
Here are typical issues users run into and the solutions:
- Filter doesn’t appear to work – Make sure you’re not filtering on a field that isn’t part of the pivot table’s row/column structure. If you add a filter on a field that’s not in Rows or Columns, it still works, but the filter options may be limited.
- Can’t find the Add filter button – The “Add filter” button is at the very bottom of the editing panel, below the Values section. Scroll down if you don’t see it.
- Filter hides all data – This usually happens when your condition is too restrictive (e.g., “Greater than 1000” but all values are below). Double-check the condition and the field you’re using.
- Filter doesn’t update when source data changes – Pivot tables in Google Sheets refresh automatically when the source data changes, but if you’ve added new rows beyond the original range, you need to update the data range (Data > Pivot table > edit the range).
- Filter is grayed out – This can happen if you’re in “View” mode or the pivot table is protected. Make sure you have edit access.
Filter vs. Slicer: Which to Use?
A slicer is a visual control that sits on the sheet and lets you filter the pivot table with one click. It’s more user-friendly for dashboards because you can see all available values as buttons. To add a slicer, go to Insert > Slicer, then choose the column you want to filter by. The slicer will control any pivot table that uses that column as a field (if you have multiple pivot tables, you can connect them to the same slicer).
In contrast, a pivot table filter is embedded in the pivot table itself and is less prominent. Use a slicer when you want to share the sheet with others who may not know how to edit pivot table filters, or when you want to filter multiple pivot tables at once.
Filtering with Formulas vs. Pivot Table Filters
Sometimes you need to filter the underlying data before it even gets to the pivot table. In that case, you can use the FILTER function in Google Sheets. For example, to create a filtered dataset that only includes West region sales, you could put in a cell:
=FILTER(A2:C100, B2:B100="West")
This returns all rows where column B equals “West.” Then you can create a pivot table from that filtered range. This is different from a pivot table filter because it changes the data source itself. Use this approach when you want to exclude rows entirely (for example, to remove blank cells) before summarizing.
Frequently Asked Questions
Can I filter a pivot table by a date range?
Yes. Click the drop-down arrow next to the date field in Rows or Columns, choose Filter by condition, then select Date is before or Date is after and set the date. You can also use “Date is between” to specify a start and end date. For more flexibility, you can group dates (e.g., by month) first, then filter the grouped field.
Why doesn’t my filter show all the values in the field?
If you’re using “Filter by values,” the list shows only values that appear in the pivot table’s current view. If you’ve already filtered out some rows, those values won’t appear. To see all possible values, remove any existing filters first, then apply the new one.
How do I remove a filter from a pivot table?
Click the drop-down arrow next to the field that has the filter, then choose Clear (or “Clear filter”). For a pivot table-wide filter, go to the Filter section in the editing panel and click the “X” next to the filter condition to remove it.
Can I filter a pivot table by a calculated field?
Yes, but you need to add the calculated field first (in the Values section, click “Add” then “Calculated field”). After it’s added, you can use it in a filter condition just like any other field. For example, if you have a calculated field “Profit” (Revenue – Cost), you can filter to show only rows where Profit > 0.
Does filtering a pivot table affect my original data?
No. Pivot table filters only change what’s displayed in the pivot table. Your source data remains untouched. This is one of the main advantages of using pivot table filters over deleting rows or using a formula that alters the dataset.
Can I use a slicer to filter multiple pivot tables at once?
Yes. In Google Sheets, after you insert a slicer, click the slicer, then in the task panel under “Data,” you’ll see a list of pivot tables. You can check the ones you want the slicer to control. As long as the slicer’s column matches a field in those pivot tables, it will filter them all simultaneously.
Related
- Enum Tables in SQL: What They Are and How to Use Them
- Shortcut to Go to Cell in Excel (Jump Quickly)
- How to Start Data Entry: A Beginner’s Guide
Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.
More in Charts & pivot tables
- Grouping in Pivot? How to Group Data in Excel PivotTablesYes, you can group data in an Excel PivotTable. Grouping lets you combine rows or columns into categories—like…
- Excel Pivot Chart Pareto: Build and Read OneYes—but Excel cannot create a Pareto chart as a native PivotChart. The practical workaround is to build a…
- Excel Pivot Table Sort by Another ColumnYes, you can sort a pivot table by another column, but the method depends on what you mean…
- Nested Pie Chart in Excel: Create and Format a SunburstTo make a nested pie chart in Excel for Microsoft 365 on Windows, arrange your categories in separate…
- Auto Refresh Pivot Charts in Excel: Setup and LimitsIn Excel for Microsoft 365 on Windows, a PivotChart refreshes when its associated PivotTable refreshes; the chart does…
- Spider Web Chart in Excel: Create and Format a Radar ChartTo make a spider web chart in Excel for Microsoft 365 on Windows, arrange your categories in the…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.