TechBuzzPro

How to Filter a Pivot Table by Value

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Filtering a pivot table by value lets you show only the rows or columns that meet a numeric condition—like top 10 sales, amounts over $500, or counts below a threshold. This is different from a label filter (which filters by text) and is essential when working with large datasets. You'll need a pivot table already created from your data, and the field you want to filter must be in the Values area of the pivot table.

What You'll Need

  • A spreadsheet application with pivot table support (Microsoft Excel, Google Sheets, LibreOffice Calc).
  • A pivot table already inserted, with at least one field in the Values area (e.g., Sum of Sales, Count of Orders).
  • The field you want to filter by must be numeric (numbers, not text).

Step-by-Step

  1. Open your pivot table in the spreadsheet and click anywhere inside it. This will show the PivotTable Fields panel (in Excel) or the Pivot table editor (in Google Sheets).
  2. Locate the field you want to filter by—it should be in the Values section of the field list. For example, if you want to filter by total sales, find "Sum of Sales" in the Values list.
  3. Click the drop-down arrow next to the field name in the Values area. In Excel, this arrow is on the field button in the pivot table itself (usually in the row or column labels area) or in the field list. In Google Sheets, click the field name in the Values section of the editor.
  4. Choose "Value Filters" from the menu. In Excel, this is under "Value Filters" in the drop-down. In Google Sheets, click "Filter by condition" and then select a condition like "Greater than" or "Top 10".
  5. Select the condition that fits your need. Common options: "Greater than," "Less than," "Between," "Top 10," "Bottom 10," or "Above average." For example, to show only rows with sales over $1,000, choose "Greater than" and enter 1000.
  6. Enter the value in the dialog box. If you chose "Between," enter the lower and upper bounds. For "Top 10," specify the number of items (e.g., 10) and whether you want the top 10 items or top 10 percent.
  7. Click OK or Apply to apply the filter. The pivot table will immediately update to show only the rows/columns that meet the condition.
  8. To remove the filter, go back to the same drop-down, choose "Value Filters" (or "Clear filter" in some apps), and select "Clear Filter" or "No filter."

Common Mistakes

  • Filtering the wrong field: Make sure you are filtering the field in the Values area, not the row/column labels. If you click on a label field, you'll see "Label Filters" instead of "Value Filters."
  • Using text instead of numbers: Value filters only work on numeric fields. If your values are stored as text (e.g., "$1,000" as a string), the filter won't work correctly. Convert them to numbers first.
  • Forgetting to refresh after data changes: If you update the source data, the pivot table may not reflect the new values until you refresh it. Use the Refresh command (right-click > Refresh) to update.
  • Applying the filter to the entire pivot instead of a single field: In some apps, the filter might apply to all fields if you select the wrong option. Double-check that you are using the field-specific value filter.

Tips

  • Use Top 10 for quick insights: Instead of manually sorting, use "Top 10" to instantly see your best-performing categories or products.
  • Combine with label filters: You can apply both a label filter (e.g., only "Product A") and a value filter (e.g., sales > 500) to narrow down further.
  • Use the "Between" option for ranges: If you need to see values within a specific range, "Between" is more efficient than two separate filters.
  • Copy the filtered pivot: If you need to share the filtered view, copy the pivot table and paste it as values to avoid confusion for others.
  • Check the filter indicators: In Excel, a funnel icon appears on the field button when a filter is active. In Google Sheets, a filter icon appears in the field name. This helps you know a filter is applied.

Troubleshooting

  • Value filter option is grayed out: This happens if the field is not in the Values area. Move the field to Values by dragging it there, or re-add it as a value (e.g., Sum, Count).
  • Filter shows no results: Check that your condition is possible. For example, if you filter "Greater than 1000" but all values are below 1000, you'll get an empty table. Try lowering the threshold.
  • Filter works but then disappears after refresh: Some apps reset filters when the pivot table is refreshed. Re-apply the filter after refreshing, or use a slicer (Excel) for a more permanent filter.
  • Numbers are not being treated as numbers: If your source data has numbers stored as text, convert them using a number format or use the VALUE() function in a helper column.
  • Can't find the value filter in Google Sheets: In Google Sheets, the value filter is under "Filter by condition" in the field's drop-down. If you don't see it, make sure you are clicking on the field in the Values section of the pivot editor, not the row/column labels.

Frequently Asked Questions

Can I filter by a value that is not in the Values area?

No, value filters only work on fields that are in the Values area (i.e., summarized fields like Sum, Count, Average). If you want to filter by a raw column, add it to the Values area first (e.g., as a Count) or use a label filter if it's text.

How do I show only the top 5 items by sales?

Click the drop-down on the "Sum of Sales" field in the Values area, choose "Value Filters" > "Top 10," then change the number to 5. Make sure "Items" is selected (not "Percent").

Can I filter by a percentage of the total?

Yes, use the "Top 10" option and choose "Percent" instead of "Items." For example, "Top 10 Percent" shows items that make up the top 10% of the total value.

Why does my filter not work when I have multiple value fields?

If you have multiple fields in the Values area (e.g., Sum of Sales and Count of Orders), you need to apply the filter to the specific field you want. Click the drop-down on that field specifically, not on the row/column label.

Can I filter by a calculated field?

Yes, you can filter by a calculated field just like any other value field, as long as it's in the Values area. The calculated field must be numeric.

Is there a way to filter by value without using the drop-down?

In Excel, you can use Slicers for value fields (available in newer versions) by inserting a slicer and connecting it to the pivot table. In Google Sheets, you can add a filter view over the pivot table, but it's less direct.