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 Field

· 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 add a filter to a pivot table field, drag the field you want to filter into the Filters area (called "Filters" in Excel and "Filter" in Google Sheets), then use the drop-down arrow that appears above the pivot table to choose the values you want to keep. You can also filter a field that is already in Rows, Columns, or Values by clicking its drop-down arrow and using Label Filters or Value Filters. The exact labels vary slightly by version, device, and region, but the flow is the same in Excel for Windows, Excel for Mac, Excel for the web, and Google Sheets.

What You'll Need

  • A spreadsheet app that supports pivot tables: Excel (desktop, Mac, or web) or Google Sheets.
  • A source data range with a header row, no blank header cells, and consistent data types in each column.
  • An existing pivot table, or a couple of minutes to insert one from the source data.
  • For Excel: the source range should not contain merged cells in the header row, because merged headers break field names.

Step-by-Step

  1. Click anywhere inside the pivot table. This makes the PivotTable Fields pane (Excel) or the pivot table editor sidebar (Google Sheets) appear. If the pane is hidden in Excel, go to PivotTable Analyze > Field List. Labels can differ slightly by version.
  2. Decide which field you want to filter. A field is a column header from your source data, such as Region, Product, Salesperson, or Date. Filtering a field limits which rows are included in the totals.
  3. Add the field to the Filters area. In Excel, drag the field name from the field list into the Filters box at the bottom of the pane. In Google Sheets, drag it into the Filter section of the pivot table editor. The field name now appears above the pivot table with a drop-down arrow.
  4. Click the drop-down arrow next to the field name above the table. A checklist of the field's unique values appears.
  5. Untick the values you want to exclude, or tick only the values you want to keep. Use the search box in the filter menu to find a specific value quickly. In Excel, the menu also has a "Select Multiple Items" checkbox that must be ticked to show checkboxes.
  6. Click OK (Excel) or Apply (Google Sheets). The pivot table recalculates and shows only the filtered data. Totals update automatically to reflect the filtered rows.
  7. To filter a field already in Rows or Columns, click the drop-down arrow on that row or column label inside the pivot table and choose Label Filters or Value Filters. Label Filters match text or dates; Value Filters compare the aggregated numbers, such as showing only products with sales above a threshold.
  8. To filter a field in the Values area, click the drop-down arrow on the value field header and choose Value Filters. This filters based on the summarized number rather than the underlying rows, which is useful for top-10 lists or above-average results.
  9. Clear the filter when you are done. Click the drop-down arrow and choose Clear Filter (Excel) or select all values again (Google Sheets). Removing the field from the Filters area entirely also removes the filter.

Common Mistakes

  • Filtering the source data instead of the pivot table. A filter applied to the raw data range does not automatically change an existing pivot table unless you refresh it, and it can hide rows the pivot table still counts.
  • Dragging the field to the wrong area. Dropping a field into Rows or Columns groups the data instead of filtering it. The Filters area is what creates the drop-down above the table.
  • Forgetting to refresh after changing source data. In Excel, right-click the pivot table and choose Refresh so new or edited rows are included before you filter.
  • Leaving blank cells in the source header row. Blank headers become generic field names like Column1, which makes filters confusing and can merge unrelated columns.
  • Assuming a filter hides data permanently. Pivot filters only affect the pivot table view; the underlying source rows are untouched.
  • Using text filters on numbers or dates. Label Filters expect text patterns, so numeric or date columns are better handled with Value Filters or date grouping.

Tips

  • Rename fields in the pivot table (double-click the field name in the pane) so filter drop-downs read clearly.
  • Use the search box inside the filter menu for long value lists instead of scrolling.
  • In Excel, tick "Select Multiple Items" before unticking values, otherwise the menu behaves as a single-select list.
  • Combine a Filters-area field with a slicer for a clickable filter panel that is easier to use on a shared dashboard.
  • Group dates (right-click a date field and choose Group) before filtering by month, quarter, or year; this makes date filters far more useful.
  • If you need to filter by a condition that changes, such as "top 10 by sales," use a Value Filter rather than manually ticking items.

Troubleshooting

  • The drop-down arrow is missing. Make sure the field is in the Filters area, not Rows or Columns. In Excel, check that the field list is visible via PivotTable Analyze > Field List.
  • The filter menu shows no values or only blanks. Refresh the pivot table and check the source range for blank header cells or trailing spaces in the data.
  • Filtering does not change the totals. The field may be in the wrong area, or the pivot table may be showing cached data. Refresh and reapply the filter.
  • Excel says the pivot table needs to be refreshed. Right-click the table and choose Refresh, then reapply the filter.
  • Google Sheets filter does not apply. Click Apply in the pivot table editor sidebar; changes are not live until you apply them.
  • A value you expect is missing from the checklist. It may be filtered out by another active filter on the same pivot table. Clear all filters one at a time to isolate the cause.
  • The file was shared and filters behave differently. Filters are saved with the workbook or sheet, so check whether someone else changed the Filters area or added a slicer.

Frequently Asked Questions

Can I filter a pivot table by more than one field at once?

Yes. Add multiple fields to the Filters area, or combine a Filters-area field with a Label or Value Filter on a row field. Each filter is applied independently and the results stack.

What is the difference between a Label Filter and a Value Filter?

Label Filters match the text or date labels in the field, such as "begins with" or "contains." Value Filters compare the summarized numbers, such as "greater than" or "top 10," and are only available on fields that produce a value.

Does filtering a pivot table delete the hidden data?

No. Pivot filters only change what the pivot table displays. The source data remains intact, and clearing the filter brings the hidden rows back into the totals.

Why does my filter drop-down show different values than my source data?

The pivot table may be showing cached data from before the source was edited. Refresh the pivot table, then reopen the filter menu.

Can I filter by a date range?

Yes. In Excel, group the date field first (right-click the date field and choose Group), then use the filter drop-down to select months, quarters, or years. Google Sheets lets you filter date values directly in the filter checklist.

Do pivot filters work the same in Excel and Google Sheets?

The concept is the same, but the interface differs. Excel uses the PivotTable Fields pane and a Filters box; Google Sheets uses the pivot table editor sidebar with a Filter section. Menu labels can also vary by version and region.