Can You Add a Filter to Pivot Table Values?
In this article
Yes, you can filter values in a pivot table, but it works differently from filtering row or column labels. In Excel, Google Sheets, and most spreadsheet tools, you filter values by using a value filter (also called a filter by condition or a calculated filter) that hides items based on a summary number such as sum, average, or count. The exact menu path varies by version and platform, but the capability is built in.
What "filtering values" actually means in a pivot table
A pivot table has three kinds of fields: rows, columns, and values. Filtering rows or columns is straightforward — you untick the items you do not want. Filtering values is different: you keep or hide whole row or column items based on the number that the pivot table calculates for them. For example, if you have sales by product, a value filter can show only products with total sales above a threshold, or only the top 10 products by revenue. The filter applies to the aggregated result, not to the raw source data.
This distinction matters because a value filter does not remove individual transactions. It removes entire row labels or column labels from the displayed pivot. The underlying data stays intact, and clearing the filter brings everything back. That is why value filters are sometimes called "label filters on values" or "filters by condition" depending on the tool.
How value filters work in Excel
In Excel, value filters are available from the filter dropdown on a row or column field in the pivot table. The exact labels can differ slightly by version, device, and region, but the general path is: click the filter arrow next to a row or column field, choose Value Filters, then pick a condition such as Greater Than, Less Than, Between, Top 10, or Above Average. Excel then asks for the value or the field to compare against.
Excel offers two families of value filters:
- Filter by value: conditions like equals, greater than, less than, between, and top/bottom N items or percent.
- Filter by label: conditions based on the text of the label itself, not the number.
A common example: a pivot table lists salespeople in rows and total sales in values. To show only salespeople above a certain amount, you would use a value filter of Greater Than on the Sum of Sales field. The pivot then hides every salesperson whose total is at or below that number. You can stack filters — for instance, top 10 by sales and also above a minimum — but the order and interaction can be confusing, so test with a small copy first.
One limitation: value filters apply to the field you opened them from. If you filter on a row field, the filter hides row items. If you filter on a column field, it hides column items. You cannot apply a value filter directly to the Values area as a whole in the same way; instead, you filter the row or column field that the value is calculated for.
How value filters work in Google Sheets
Google Sheets pivot tables support filter by condition as well. The pivot table editor has a section for filters, and you can add a filter on a row or column field. The condition options include text conditions, number conditions, and custom formulas. The wording and placement can change between versions, so look for the filter section in the pivot table editor sidebar rather than memorizing a single path.
In Sheets, a filter by condition on a value field typically requires you to reference the value field in the condition. For example, you can set a condition such as "Sum of Sales is greater than 1000." Sheets also supports a custom formula condition, which is more flexible but also easier to get wrong. If the condition does not seem to apply, check that you selected the correct value field and that the aggregation type (sum, count, average) matches what you expect.
Common problems and how to fix them
Value filters are powerful but they fail in predictable ways. Here are the most common issues:
- The filter seems to do nothing: You may have applied it to the wrong field, or the pivot has no value field that matches. Check which field the filter arrow belongs to.
- Totals look wrong after filtering: Grand totals recalculate based on visible items in many tools, so a filtered pivot's total is not the same as the unfiltered total. If you need both, keep a second unfiltered copy.
- The filter disappears after refresh: Some tools preserve filters on refresh, others do not. If your filter vanishes, reapply it and check whether the source data range changed.
- Top N filters include ties unpredictably: When several items share the same value at the cutoff, the tool may include or exclude them inconsistently. Use a value threshold instead of top N if ties matter.
- Custom formula errors: In Google Sheets, a custom formula must return TRUE or FALSE and must reference the correct field. A wrong reference silently hides everything or nothing.
If a value filter will not behave, the simplest safe check is to clear all filters, refresh the pivot, and reapply one filter at a time. That isolates whether the problem is the filter itself or an interaction between multiple filters.
Value filters vs. slicers and source-data filters
Value filters are not the only way to narrow a pivot table. Slicers are visual controls that filter the pivot by field items, but they filter labels, not calculated values. Filtering the source data before building the pivot is another approach, but it changes the data the pivot sees and is harder to undo. Value filters are best when you want to keep the full dataset but display only the rows or columns that meet a numeric condition.
A practical comparison:
- Value filter: show products with sales over 500. Good for numeric thresholds.
- Slicer: show only the East region. Good for quick label toggles.
- Source filter: exclude returns before pivoting. Good when the exclusion is permanent.
Each has a place. Mixing them without documenting the logic is a common source of confusion when someone else opens the file.
When to use a calculated field instead
Sometimes what looks like a value filter is really a calculation. If you want to show only items where profit margin is below a percentage, a value filter on a sum may not express that directly. A calculated field that computes margin, combined with a value filter on that field, is often cleaner. The same applies to ratios and per-unit metrics. Build the calculation first, then filter on its result. This keeps the pivot readable and avoids stacking conditions that are hard to audit.
Frequently Asked Questions
Can I filter a pivot table by a value in the Values area?
You filter by value through the row or column field's filter menu, not by clicking directly on the Values area. The value filter compares the aggregated number for each row or column item.
Why does my pivot table total not match after filtering?
Many tools recalculate totals from visible items only. The filtered total is therefore the sum of what is shown, not the sum of all source data. Keep an unfiltered copy if you need the full total.
Do value filters work on text fields?
Value filters are for numeric results. To filter text labels, use a label filter or untick items in the field's dropdown. The two filter types are separate in most spreadsheet tools.
Can I apply more than one value filter?
Yes, but the interaction can be hard to predict. Apply one filter at a time, check the result, then add the next. If the result looks wrong, clear all filters and start again.
Does filtering a pivot table change the original data?
No. Value filters only hide items in the pivot display. The source data and the pivot cache remain unchanged, and clearing the filter restores the full view.
Why did my value filter disappear after refreshing?
Filter persistence varies by tool and version. If the filter is lost on refresh, reapply it and confirm the source range has not changed. Some setups require the filter to be reapplied after structural changes to the pivot.