Smart Systems for Home

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

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

· 5 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 add a filter to a pivot table, drag the field you want to filter into the Filters area (called Filter on some versions) of the PivotTable Fields pane, then use the drop-down that appears above the table to choose the items to show. If you only want to hide items inside a row or column, use the row or column label drop-down instead. The steps below cover Excel for Microsoft 365 on Windows and Mac; Excel for the web and older versions use the same PivotTable Fields layout, but button labels can differ slightly by version, device and region.

What You'll Need

  • A spreadsheet with a pivot table already created, or the source data ready to insert one.
  • Excel (Microsoft 365, Excel 2019 or later, or Excel for the web). The steps also work in Google Sheets with small label differences.
  • Source data with clear column headers and no blank header cells.
  • Permission to edit the file if it is shared.

Step-by-Step

  1. Click any cell inside the pivot table. This makes the PivotTable Fields pane appear on the right. If it does not appear, go to PivotTable Analyze (or Analyze) on the ribbon and choose Field List.
  2. Find the field you want to filter by in the field list. This is the column header from your source data, such as Region, Salesperson or Month.
  3. Drag that field into the Filters area at the bottom of the PivotTable Fields pane. In some versions this area is labelled Filter. The field moves out of the Rows or Columns area if it was there, so the pivot table layout changes.
  4. Look above the pivot table for the filter drop-down. A cell now shows the field name with a drop-down arrow next to it. Click the arrow.
  5. Tick the items you want to keep in the list, or use the search box to find one. Clear the (Select All) checkbox first if you want only a few items.
  6. Click OK. The pivot table now shows only the selected items, and the filter cell displays (Multiple Items) or the single item you chose.
  7. To filter inside rows or columns instead, click the drop-down arrow on a row or column label in the pivot table and choose Label Filters or Value Filters. Label Filters work on text, dates and numbers; Value Filters work on summed or counted values, such as showing only regions above a sales target.
  8. To clear a filter, click the drop-down and choose Clear Filter, or tick (Select All) and click OK. To remove the filter field entirely, drag it out of the Filters area.

Common Mistakes

  • Dragging the field to Rows instead of Filters. That creates a collapsible row group, not a top-level filter. The Filters area is at the bottom of the field list.
  • Filtering the source data instead of the pivot table. Filters applied to the source range do not automatically apply to an existing pivot table. Use the pivot table's own drop-downs.
  • Forgetting to refresh. If you change the source data, right-click the pivot table and choose Refresh so the filter list and totals update.
  • Leaving blank headers. A blank column header in the source data stops Excel from creating or updating the pivot table correctly. Fill every header cell.
  • Assuming a filter hides data permanently. Filters only hide items from view; the underlying data is untouched.

Tips

  • Use the search box in the filter drop-down when a field has hundreds of items; scrolling and ticking is slow and error-prone.
  • Rename the filter field's caption if the header is cryptic: click the filter cell, type a new name in the formula bar and press Enter.
  • Add a slicer for a more visual filter: select a cell in the pivot table, then go to PivotTable Analyze > Insert Slicer and pick the field. Slicers stay visible and are easier for others to use.
  • Use a timeline for date fields: PivotTable Analyze > Insert Timeline lets you filter by month, quarter or year with a slider.
  • If you need to filter on a calculated value, add a helper column to the source data and include it in the pivot table, or use a Value Filter on an existing value field.

Troubleshooting

  • The field list is missing. Click a cell inside the pivot table, then on the ribbon choose PivotTable Analyze > Field List. If the pane is still empty, the pivot table may be based on a different data range; check the source.
  • The filter drop-down does not appear. Make sure the field is in the Filters area, not Rows or Columns. Also check that the pivot table has a header row enabled: PivotTable Analyze > Options > Display > Show Field Captions.
  • Items are missing from the filter list. Refresh the pivot table. If an item still does not appear, check the source data for trailing spaces, inconsistent capitalisation or blank cells; these create separate entries.
  • The pivot table shows old totals after filtering. Right-click the pivot table and choose Refresh, or press Alt+F5 on Windows (Fn+Alt+F5 on some laptops).
  • You cannot select the filter cell. The worksheet may be protected. Go to Review > Unprotect Sheet; you will need the password if one was set.
  • Filtering breaks a calculated field. Calculated fields recalculate on the filtered data, which can change results. Check the formula and test with the filter cleared.

Frequently Asked Questions

Can I add more than one filter to a pivot table?

Yes. Drag additional fields into the Filters area. Each one gets its own drop-down above the table, and the filters combine, so only items matching all active filters are shown.

What is the difference between Filters and Slicers?

Both filter the pivot table. A slicer is a floating button panel that stays visible on the sheet and is easier to click; the Filters area drop-down is built into the table. Slicers are added from PivotTable Analyze > Insert Slicer.

Does filtering a pivot table change the original data?

No. Pivot table filters only hide items from the summary view. The source cells are not edited, sorted or deleted.

Why does my filter show (All) even after I select items?

This usually means the selection matches every item, or the pivot table has not refreshed. Clear the filter, refresh, and select again. If it persists, check for hidden rows in the source data that the pivot table is including.

Can I filter by a date range?

Yes. Put a date field in the Filters area, click its drop-down and use Date Filters, or insert a Timeline from PivotTable Analyze > Insert Timeline for a slider-based range.

Do pivot table filters work in Google Sheets?

Yes, with different labels. In Google Sheets, open the pivot table editor, add the field under Filters, and use the drop-down above the table. The logic is the same, but menu names differ.