Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Apply a Filter to a Pivot Table (Step-by-Step)

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To apply a filter to a pivot table, click any cell inside the pivot table, open the field's drop-down arrow in the Row Labels or Column Labels area, choose the items you want to keep, and click OK. In Excel the fastest route is Insert > Slicer or the Filter drop-down on the pivot field; in Google Sheets you use the filter icon on the pivot table itself. The exact clicks differ slightly by version and platform, but the principle is the same: filter the pivot field, not the underlying data, so the summary recalculates instantly.

What You'll Need

  • A spreadsheet app that supports pivot tables — Microsoft Excel (desktop or web), Google Sheets, or LibreOffice Calc.
  • An existing pivot table built from a data range or table.
  • Clean source data: no blank header cells, consistent date formats, and no merged cells in the header row.
  • For Excel: the source range should be formatted as a table (Ctrl+T) if you plan to add rows later.

Step-by-Step

  1. Click any cell inside the pivot table. This activates the PivotTable Tools ribbon in Excel and the pivot editor in Google Sheets. If you click outside the pivot, the field buttons disappear.
  2. Locate the field you want to filter. In Excel, find the field name in the Rows or Columns area at the bottom of the PivotTable Fields pane. In Google Sheets, find the field row in the Pivot table editor sidebar.
  3. Open the filter menu. In Excel, click the small drop-down arrow next to the field name in the pivot table itself (the button on the row or column header). In Google Sheets, click the filter icon next to the field in the editor, or click the drop-down arrow on the pivot header cell.
  4. Choose your filter type. For a simple item list, untick the items you want to hide and click OK. For a condition, switch to Label Filters or Value Filters (Excel) or choose Filter by condition (Google Sheets) and pick options such as greater than, contains, or between.
  5. Set the criteria and confirm. Enter the value or range, then click OK. The pivot table recalculates and shows only the matching rows or columns.
  6. Add a slicer for faster toggling (Excel only). With a pivot cell selected, go to PivotTable Analyze > Insert Slicer, tick the fields you want, and click OK. A floating button panel appears; clicking an item filters the pivot instantly. Google Sheets does not have slicers for pivot tables; use the filter icon in the editor instead.
  7. Clear the filter when you are done. In Excel, click the filter arrow and choose Clear Filter From [field]. In Google Sheets, click the filter icon and select None or remove the condition. Clearing restores all items.

Common Mistakes

  • Filtering the source data instead of the pivot field. Applying AutoFilter to the raw data hides rows but does not change the pivot summary unless you refresh. Always filter through the pivot field or a slicer.
  • Forgetting to refresh after changing source data. Pivot tables cache their data. Right-click the pivot and choose Refresh (Excel) or click the refresh icon in the editor (Google Sheets) after edits.
  • Using the wrong filter type. Label filters work on text; value filters work on summed numbers. Mixing them up produces empty results.
  • Leaving blank cells in the source header row. Excel will name the field Column1 or similar, and filtering becomes confusing. Fix headers first.
  • Filtering a field that is not in Rows or Columns. A field must be placed in the pivot layout before its filter arrow appears.
  • Assuming a filter removes totals. Grand totals still reflect the filtered view in most cases, but subtotals can behave differently; check the totals after filtering.

Tips

  • Use a slicer when you filter the same pivot repeatedly — it is one click instead of reopening a menu.
  • Name your source range as a table so new rows are included when you refresh.
  • Combine a label filter with a value filter (for example, Region contains "North" and Sales greater than 1000) for tighter results.
  • In Google Sheets, the pivot editor keeps filters visible, so you can see exactly which condition is active without hunting for a drop-down.
  • Duplicate the pivot table before experimenting with complex filters so you can compare results side by side.
  • If a filter arrow is greyed out, the field is probably used in the Values area only; move it to Rows or Columns first.

Troubleshooting

  • The filter arrow is missing. Click inside the pivot table to activate the tools. If it still does not appear, the field may not be in the row or column area — drag it there in the field list.
  • The pivot shows no data after filtering. Your criteria may exclude everything. Clear the filter and reapply with a broader condition, and check for typos or extra spaces in text values.
  • New source rows are not included. The pivot range is fixed. Either convert the source to a table (Excel) or update the data range in the pivot settings, then refresh.
  • Filters reset after reopening the file. This usually means the pivot was built from an external connection that refreshed on open. Check the connection settings or rebuild the pivot from a local range.
  • Google Sheets filter icon does nothing. Make sure you are editing the pivot table, not a regular range. Click a cell inside the pivot and reopen the editor from the right sidebar.
  • Excel slicer does not affect the pivot. The slicer must be connected to that pivot. Right-click the slicer, choose Report Connections, and tick the correct pivot table.

Frequently Asked Questions

Can I filter a pivot table by a value that is not shown in the pivot?

Yes, if the field exists in the source data. Add the field to the pivot layout (Rows or Columns), then use its filter arrow. You cannot filter on a field that has not been placed in the pivot.

Does filtering a pivot table change the original data?

No. Pivot filters only hide items from the summary view; the source cells remain untouched. Clearing the filter brings everything back.

Why does my pivot table show all items even after I set a filter?

The most common cause is that the filter was applied to the source range instead of the pivot field, or the pivot has not been refreshed. Reapply the filter through the pivot field drop-down and refresh.

Can I apply more than one filter to the same pivot table?

Yes. You can filter multiple row fields, multiple column fields, or combine a label filter with a value filter. Each field keeps its own filter setting.

Do pivot filters work in Excel for the web and Google Sheets?

Yes, both support filtering pivot fields, though the interface differs. Excel for the web has fewer slicer options than desktop Excel; Google Sheets uses the filter icon in the pivot editor.

What happens to grand totals when I filter a pivot table?

Grand totals usually recalculate to reflect only the visible items, but behaviour can vary by app and pivot layout. Verify the totals after filtering if they feed a report.