How to Filter a Column in a Pivot Table
In this article
To filter a column in a pivot table, click the drop-down arrow on the column header (or on the Row/Column Labels cell), choose the filter type you want — label filter, value filter, or search — tick the items to keep, and click OK. The pivot table recalculates immediately and the filter icon on that header turns into a funnel to show it is active. The exact menu wording varies slightly between Excel for Windows, Excel for Mac, Excel for the web, and Google Sheets, so treat the labels below as a guide and look for the equivalent option in your version.
What You'll Need
- A spreadsheet application that supports pivot tables — Microsoft Excel (desktop or web) or Google Sheets. Excel for iPhone and Android can view pivot tables but cannot create or fully filter them; use a desktop or browser session for that.
- A pivot table that is already built and has at least one field in the Columns, Rows, or Values area.
- Your source data should have a header row and no completely blank rows, so the field names appear correctly in the filter menus.
Step-by-Step
- Click any cell inside the pivot table. This activates the PivotTable Tools tabs (Analyze and Design in Excel) or the pivot table editor panel (Google Sheets). If you click outside the table, the filter arrows disappear.
- Locate the column header you want to filter. This is the cell in the pivot table that shows the field name — for example, “Region” or “Product.” In Excel, a small drop-down arrow appears at the right edge of that cell when the table is selected. In Google Sheets, the same arrow appears on the pivot table header.
- Click the drop-down arrow. A menu opens listing every unique item in that column with checkboxes next to them.
- Choose the filter type. In Excel the menu has sections for Label Filters, Value Filters, and Search. In Google Sheets you will see Filter by values and Filter by condition. Pick the one that matches what you want to do:
- Label filter — keep or exclude items by their text, such as “begins with,” “contains,” or “does not equal.”
- Value filter — keep items based on a number in the Values area, such as “greater than 1000” or “top 10.”
- Search — type part of a name to narrow the checkbox list quickly.
- Set the condition and confirm. For a label or value filter, choose the operator, type the value, and click OK. For a simple checkbox filter, untick “Select All,” tick only the items you want, and click OK.
- Check the result. The pivot table updates and the header arrow changes to a funnel icon in Excel, indicating an active filter. In Google Sheets, the filtered header shows a filter symbol. Rows or columns that do not match are hidden, and totals recalculate to reflect only the visible data.
- Clear the filter when you are done. Click the funnel icon and choose Clear Filter (Excel) or select “None” under Filter by condition (Google Sheets). Alternatively, on the Analyze tab in Excel, click Clear > Clear Filters. This restores all items without deleting the pivot table.
Common Mistakes
- Filtering the source data instead of the pivot table. Applying an AutoFilter to the raw data does not change the pivot table until you refresh it, and it can hide rows the pivot table still counts. Filter inside the pivot table itself.
- Using the wrong filter type. A label filter works on text; a value filter works on the numbers in the Values area. Choosing “Greater Than” under Label Filters when you meant to filter a sum will not give the expected result.
- Forgetting that filters hide, not delete. Hidden items still exist in the source data. If totals look wrong, check whether a filter is active before assuming the data is missing.
- Filtering a field that is not in the pivot table layout. You can only filter fields that appear in Rows, Columns, or Filters. To filter by a field that is not shown, drag it into the Filters area first.
- Expecting the filter to survive a refresh. Refreshing the pivot table usually keeps filters, but if the underlying items change (for example, a new product name appears), the filter may need to be reapplied.
Tips
- Use the Filters area (drag a field into it from the PivotTable Fields pane) when you want a filter that applies to the whole table rather than one column.
- Combine a column filter with a slicer for a visual, clickable filter that is easier to clear than a drop-down menu.
- If you filter by value and the pivot table has multiple value fields, make sure you are filtering the correct one — Excel asks you to choose the value field in the dialog.
- Rename the pivot table header if the field name is long; the drop-down arrow can be hard to see in a narrow column.
- In Google Sheets, the pivot table editor on the right lets you add a filter to a row or column field without using the drop-down arrow — useful on smaller screens.
Troubleshooting
- The drop-down arrow is missing. Click inside the pivot table first. If it still does not appear, the field may be in the Values area only — value fields do not have filter arrows in the same way. Move the field to Rows or Columns, or use a value filter from the header of a row/column field.
- The filter does not change the numbers. Refresh the pivot table (Analyze > Refresh in Excel, or the refresh button in Google Sheets). If the source data changed, the pivot table may be showing stale results.
- “Clear Filter” is greyed out. No filter is active on that field. Check other fields — a filter on a different column can still hide rows.
- The pivot table shows “(blank)” items. The source data has empty cells in that column. Either filter out blanks or fill them in the source data and refresh.
- You cannot filter because the pivot table is on a protected sheet. Unprotect the sheet (Review > Unprotect Sheet) if you have permission, or ask the sheet owner.
Frequently Asked Questions
Can I filter a pivot table column by a date range?
Yes. If the field is a date, the drop-down menu includes date filters such as “Between,” “Before,” or “After.” In Google Sheets, use Filter by condition and choose a date condition. Make sure the source cells are formatted as dates, not text.
Why does my pivot table filter show items I excluded?
The source data may have new items that were added after the filter was set, or the filter was applied to a different field. Reapply the filter and refresh the pivot table.
Can I filter multiple columns at once?
Yes. Apply a filter to one column, then apply another to a different column. The pivot table shows only rows that meet all active filters. To remove them all, use Clear Filters on the Analyze tab in Excel.
Does filtering a pivot table change the original data?
No. Pivot table filters only hide items in the pivot table view. The source data is untouched, and clearing the filter brings everything back.
Can I filter a pivot table on my phone?
Excel for iPhone and Android can display existing filters and let you tap a header to filter in some versions, but the full filter menu is limited. For reliable results, use Excel on a computer or in a browser.
What is the difference between a label filter and a value filter?
A label filter works on the text in the row or column field (for example, product names). A value filter works on the calculated numbers in the Values area (for example, total sales). Choosing the wrong one is the most common reason a filter seems to do nothing.