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 Header

· 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

Adding a filter to a pivot table header means enabling the filter drop-down buttons on your row and column field headers so you can show or hide specific items without rebuilding the table. In Excel, the fastest way is to click any cell inside the pivot table, go to the PivotTable Analyze tab, open the Filter drop-down, and choose Field Buttons. In Google Sheets, pivot tables always show filter controls on row and column headers by default, so you only need to click the header arrow to filter. The steps below cover Excel for Windows and Mac, with notes for Google Sheets where they differ. Menu labels can vary slightly by version, device, and region.

What You'll Need

  • A spreadsheet application that supports pivot tables: Microsoft Excel (desktop) or Google Sheets. Excel for the web has a reduced pivot table feature set, and some filter button options may not appear.
  • An existing pivot table, or source data you can turn into one. The source range should have a clear header row with one label per column and no blank header cells.
  • Edit access to the file. If the workbook is shared as read-only or protected, you cannot change filter settings.

Step-by-Step

  1. Click any cell inside the pivot table. This activates the PivotTable Analyze and Design tabs on the ribbon. If those tabs do not appear, you clicked outside the pivot table or the range is not actually a pivot table.
  2. Go to PivotTable Analyze. On the ribbon, find the PivotTable Analyze tab (called Analyze in some versions). The exact tab name can differ slightly by Excel version.
  3. Open the Filter menu. In the Filter group, click the Filter button. A small menu appears with options for showing or hiding the field buttons.
  4. Choose Field Buttons. Select Field Buttons to turn on the filter drop-down arrows for all row and column field headers at once. The arrows appear directly on the header labels inside the pivot table.
  5. Filter a specific header. Click the drop-down arrow on the row or column header you want to filter. In the menu, tick or untick the items you want to show, or use the search box to find an item. Click OK to apply.
  6. Check the result. The pivot table recalculates and shows only the selected items. A filter icon on the header indicates an active filter. To clear it, click the same arrow and choose Clear Filter, or tick Select All.
  7. For Google Sheets: click any cell in the pivot table, then click the arrow on a row or column header inside the table. Tick or untick items and click OK. Google Sheets shows these header controls by default; there is no separate Field Buttons toggle.

Common Mistakes

  • Using the wrong filter command. The Filter button on the Data tab filters a normal table or range, not a pivot table. Use the Filter command on the PivotTable Analyze tab instead.
  • Clicking outside the pivot table. The PivotTable Analyze tab only appears when the active cell is inside the pivot table. Click a value cell first.
  • Confusing field buttons with report filters. Field buttons filter individual headers. A report filter (the filter area at the top of the pivot table) filters the whole table by one field. They are different tools.
  • Filtering the source data instead. Hiding rows in the source range does not automatically hide them in the pivot table unless the pivot table is refreshed and the source filter is set up to exclude hidden rows.
  • Expecting the arrows on every header. Field buttons appear on row and column field headers. Value fields do not get filter arrows in the same way.

Tips

  • Use the search box in the header drop-down when a field has many items; scrolling and ticking dozens of checkboxes is slow and error-prone.
  • After changing the source data, refresh the pivot table (right-click inside it and choose Refresh) so the filter list reflects new items.
  • If you want the filter arrows hidden for a cleaner printout, turn Field Buttons off from the same Filter menu and turn them back on when you need to filter again.
  • For repeated filtering by the same field, drag that field into the Filters area above the pivot table instead of filtering the header each time.
  • Name your source range as a table or defined name so the pivot table expands automatically when you add rows.

Troubleshooting

  • The PivotTable Analyze tab is missing: click a cell inside the pivot table. If it still does not appear, the selected range may be a plain table, not a pivot table. Check by right-clicking the range; a pivot table shows PivotTable Options in the context menu.
  • The Filter button is greyed out: the workbook may be protected or shared in a mode that limits pivot table changes. Ask the file owner to remove protection, or work on a copy.
  • No arrows appear after choosing Field Buttons: the pivot table may have no row or column fields, only values. Add at least one field to Rows or Columns, then try again.
  • Filtered items still show: refresh the pivot table. If the source data changed, the filter list may be stale until refresh.
  • Filter options are limited in Excel for the web: some pivot table features are reduced there. Open the file in desktop Excel if a filter option is unavailable.
  • Google Sheets header arrow does not respond: make sure you clicked the arrow inside the pivot table header, not a cell in the source data. Reload the sheet if the control seems stuck.

Frequently Asked Questions

Why can't I see filter arrows on my pivot table headers?

Field Buttons are probably turned off. Click inside the pivot table, open PivotTable Analyze, click Filter, and choose Field Buttons. In Google Sheets the arrows are shown by default, so a missing arrow usually means you are not clicking inside the pivot table.

What is the difference between a field button and a report filter?

A field button is the drop-down arrow on a row or column header and filters that one field. A report filter is a field placed in the Filters area above the pivot table and filters the entire table by that field. Both can be used together.

Can I add a filter to just one header instead of all of them?

Excel's Field Buttons command toggles all row and column header arrows at once. To filter a single field without showing every arrow, use a report filter for that field or apply a label filter from the header menu. Google Sheets always shows the header arrows.

Does filtering a pivot table header change the source data?

No. Filtering a pivot table only hides items in the pivot table view. The underlying source cells are not modified, and clearing the filter restores the full view.

Why does my filter list show old items after I update the data?

The pivot table caches its source data. Right-click inside the pivot table and choose Refresh so the filter list and values pick up the changes.

Can I filter a pivot table in Excel for the web?

Basic pivot table filtering is available in Excel for the web, but the feature set is reduced compared with desktop Excel. If a specific filter option is missing, open the workbook in the desktop app.