Smart Systems for Home

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

Add a Number Filter to a Pivot Table: Step-by-Step

· 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 number filter to a pivot table, click the drop-down arrow on the row or column field that contains the numbers you want to filter, choose Number Filters, pick a condition such as Greater Than or Between, and enter your value. In Excel for the web the menu is slightly different: use the field's filter icon and look for the number filter options there. The rest of this guide walks through the exact clicks for Excel on Windows and Mac, plus the fixes for the cases where the option is greyed out or the filter seems to do nothing.

What You'll Need

  • A pivot table built from a data range or Excel Table that has at least one numeric field in the Rows, Columns, or Values area.
  • Excel for Microsoft 365, Excel 2019 or later, or Excel for the web. The menu labels below are for recent desktop versions; they can differ slightly by version, device, and region.
  • Source data with no blank rows in the numeric column if you plan to filter on a field that contains blanks.

Step-by-Step

  1. Click inside the pivot table. This makes the PivotTable Fields pane appear and activates the PivotTable Analyze and Design tabs on the ribbon.
  2. Find the field you want to filter. Number filters apply to a field placed in the Rows or Columns area, not to a field in the Values area. If your numbers are currently summed in Values, drag that same field into Rows as well so it appears as a filterable label.
  3. Click the drop-down arrow at the right edge of that field's header cell in the pivot table. A menu opens with sorting options and a list of the field's items.
  4. Point to Number Filters. A submenu opens with conditions such as Equals, Does Not Equal, Greater Than, Greater Than Or Equal To, Less Than, Less Than Or Equal To, Between, Top 10, Above Average, and Below Average.
  5. Choose the condition you need. For a range, pick Between. For a single threshold, pick Greater Than or Less Than.
  6. Enter the value or values in the dialog box that appears. For Between, type the lower number in the first box and the upper number in the second. Leave the And/Or option set to And unless you deliberately want either condition to match.
  7. Click OK. The pivot table refreshes and shows only the rows or columns that meet the condition. A small funnel icon appears on the field's drop-down arrow to show a filter is active.
  8. Check the result against your source data. Compare a couple of totals with a manual count or a SUMIFS formula outside the pivot table to confirm the filter is catching the right rows.
  9. To change the filter, click the same drop-down arrow, choose Number Filters again, and pick the condition. Excel remembers the last condition, so you can edit the threshold rather than starting over.
  10. To remove the filter, click the drop-down arrow and choose Clear Filter From [field name], or use the Clear Filters option on the PivotTable Analyze tab.

Common Mistakes

  • Trying to filter a Values field. The drop-down on a Values header offers Value Filters (Top 10, Above Average) but not the full Number Filters list. If you need Greater Than on a sum, add the field to Rows or use a Value Filter instead.
  • Filtering the wrong field. Number filters apply to the field whose drop-down you clicked. Clicking the drop-down on a text field such as Region gives you Label Filters, not Number Filters.
  • Assuming the filter hides blanks. A Greater Than filter excludes blank cells, which can make a total look smaller than expected. Check whether your source column has empty cells.
  • Forgetting to refresh. If the source data changed after you set the filter, press Refresh on the PivotTable Analyze tab; the filter stays in place but recalculates against the new data.
  • Confusing Number Filters with Value Filters. Number Filters work on the row or column labels; Value Filters work on the aggregated values. Using the wrong one gives the wrong subset.

Tips

  • Use Between with inclusive bounds. Excel includes both the lower and upper values, so Between 10 and 20 returns 10 and 20 as well as everything in between.
  • Combine a number filter with a label filter on a different field to narrow results further; each field keeps its own filter independently.
  • If you filter often on the same threshold, consider adding a helper column to the source data (for example, a TRUE/FALSE flag) and filtering on that instead. It is easier to audit and survives pivot table rebuilds.
  • Top 10 is technically a number filter but works on the aggregated values, not the labels. Use it when you want the ten largest sums rather than rows whose label exceeds a number.
  • On Excel for the web, the filter menu is more compact. Click the field's filter arrow, choose Number Filters, and the same conditions appear; some advanced options available on desktop may not be present.

Troubleshooting

  • Number Filters is greyed out: You clicked the drop-down on a Values field, or the field contains text. Move the field to Rows or Columns, or convert the source column to numbers (check for cells stored as text with a green triangle).
  • The filter does nothing: Confirm you clicked OK in the dialog, then refresh the pivot table. If the source range was extended, the pivot table may not include the new rows; change the data source range.
  • Unexpected totals after filtering: The pivot table's grand totals recalculate from the visible rows only. Compare against a SUMIFS formula on the source data to verify.
  • Filter disappears after refresh: This usually means the field was removed from the pivot table layout. Re-add it to Rows and set the filter again.
  • Between returns nothing: Check the order of the bounds and that both boxes contain numbers, not text. Also confirm the field is numeric, not a date stored as text.
  • Option missing entirely: Very old Excel versions and some third-party spreadsheet apps do not offer Number Filters. Update Excel or use a helper column with a formula and filter on that.

Frequently Asked Questions

Can I filter a pivot table by a number range?

Yes. Click the field's drop-down, choose Number Filters > Between, and enter the lower and upper values. Both bounds are included.

Why is Number Filters greyed out?

Most often because the field is in the Values area or contains text. Move it to Rows or Columns and make sure the source column is formatted as numbers.

What is the difference between Number Filters and Value Filters?

Number Filters act on the row or column labels, such as filtering product IDs greater than 100. Value Filters act on the summed or counted values, such as showing only the top 10 products by sales.

Does a number filter update when the source data changes?

The filter condition stays, but you must refresh the pivot table to pull in new or changed source rows. The filter then applies to the refreshed data.

Can I use a number filter on dates?

Yes, if the field is a real date. Excel offers Date Filters with options like Between, Before, and After, which work the same way as Number Filters.

How do I remove a number filter?

Click the field's drop-down and choose Clear Filter From [field name], or use Clear Filters on the PivotTable Analyze tab to remove all filters at once.