Filter a Pivot Table with Multiple Filters
In this article
Filtering a pivot table with multiple filters lets you narrow your summary data to exactly the slice you need—for example, showing sales for a specific region, product category, and time period all at once. This guide covers the built-in filter areas (Report Filter, Slicer, and Timeline) in Microsoft Excel and Google Sheets, so you can apply several conditions without losing the pivot’s totals.
What You'll Need
- A pivot table already created from your data (if not, select your data range and insert a pivot table).
- Your source data should have column headers—each column becomes a field you can filter by.
- For the steps below, you’ll need access to Excel (2016 or later) or Google Sheets. The interface may vary slightly by version, but the core steps are the same.
Step-by-Step
- Open the PivotTable Fields pane. Click anywhere inside your pivot table. In Excel, the pane appears on the right; in Google Sheets, it opens on the right as well. If it’s hidden, right-click the pivot and choose “Show Field List.”
- Add fields to the Filters area. In the field list, locate the field you want to filter by (e.g., “Region”). Drag it into the “Filters” area (Excel) or the “Filters” section (Google Sheets). This creates a drop-down above the pivot table.
- Add more fields to the Filters area. Repeat step 2 for each additional filter—for example, “Product Category” and “Year.” You can add as many as you need; each becomes a separate drop-down.
- Apply the first filter. Click the drop-down arrow next to the first filter field (e.g., “Region”). Uncheck “(Select All)” and check the specific values you want (e.g., “West,” “East”). Click OK.
- Apply the second filter. Click the next filter’s drop-down and choose its values. The pivot table updates instantly, showing data that meets all selected criteria simultaneously (AND logic).
- Use a slicer for more visual control (Excel only). If you prefer clickable buttons, go to the PivotTable Analyze tab (or Insert tab) and select “Slicer.” Choose the fields you want to filter by (e.g., Region, Product). Each slicer shows a list of values; click to select multiple (hold Ctrl to pick several). Slicers work together—selecting “West” in one slicer and “Electronics” in another filters to West + Electronics.
- Use a timeline for date filters (Excel only). For date fields, insert a Timeline from the same menu. Drag the timeline to cover the date range you want (e.g., Jan–Mar 2024). You can combine a timeline with slicers and drop-down filters.
- Clear filters to reset. To remove a filter, click its drop-down and choose “Clear Filter” (or select “(Select All)”). For slicers, click the eraser icon. For timelines, drag the handles back to the full range.
- Filter by value in row/column labels (alternative). If you don’t want to add fields to the Filters area, you can click the drop-down arrow on a row or column label (e.g., “Region” in the Row Labels area) and check/uncheck values. This works the same way but only affects that one field.
- Use search within filters. In Excel, each filter drop-down has a search box—type a word to quickly find values in long lists. In Google Sheets, the filter drop-down also has a search field.
Common Mistakes
- Dragging fields into the wrong area. If you drag a field into Rows instead of Filters, it changes the pivot’s layout rather than adding a filter. Double-check the area name before dropping.
- Forgetting that filters are AND logic. When you select “West” and “East” in the same filter, it’s an OR (any of those). But across different filters, it’s an AND—all conditions must be true. Don’t expect to see data that matches only one filter.
- Selecting “(Select All)” accidentally. If you check one item and then click “(Select All)” later, you’ve overridden your selection. Use “Clear Filter” to start over.
- Not refreshing after source data changes. Filters only apply to the data that existed when the pivot was last refreshed. If you add or change source rows, right-click the pivot and choose “Refresh” to update.
- Using slicers without connecting them. In Excel, if you have multiple pivot tables, a slicer may only connect to one. Right-click the slicer, choose “Report Connections,” and check all pivots you want it to control.
Tips
- Use the Filters area for quick, report-style filters. They’re easy to see and change, and they don’t clutter the pivot layout.
- Combine filters with slicers for dashboards. Slicers are more user-friendly for others who may not know pivot tables. You can have both drop-downs and slicers active at once.
- Keep your source data clean. Remove blank rows/columns and ensure consistent spelling in filter fields; otherwise, filters will show duplicates like “West” and “west.”
- Use “Label Filters” for text conditions. In row/column labels, you can use “Contains,” “Begins With,” etc., to filter without exact matches.
- Save a version before heavy filtering. If you’re experimenting, duplicate the sheet first. Filters can be confusing to undo when you’ve applied many.
- In Google Sheets, use the “Filter by condition” option. This lets you set rules (e.g., “greater than”) instead of picking individual values.
Troubleshooting
- Filters are grayed out or not clickable. This usually happens when the pivot table is not active. Click anywhere inside the pivot first. If it’s still gray, check that the pivot isn’t in a protected sheet—unprotect it via Review > Unprotect Sheet.
- Filter drop-downs don’t show all values. The pivot only shows values that exist in the current pivot layout. If a field is in the Filters area, it lists all values from the source, but if you’re using row/column label filters, only visible items appear. Refresh the pivot to pick up new values.
- Multiple filters seem to ignore each other. Remember, filters across different fields are AND. If you’re expecting OR across fields, you can’t do that with standard pivot filters. Instead, create a helper column in your source data that combines conditions, then filter on that.
- Slicer doesn’t affect the pivot. Right-click the slicer, choose “Report Connections” (or “PivotTable Connections”), and ensure the pivot table is checked. In Google Sheets, slicers are not available; use the filter drop-downs instead.
- Filters disappear when you refresh. Refreshing a pivot usually preserves filters, but if you’ve changed the source range, filters may reset. Reapply them after refreshing.
- Performance is slow with many filters. Large datasets and many filters can slow down Excel. Try limiting the source range, or use a Power Pivot model for better performance.
Frequently Asked Questions
- Can I apply more than one filter to the same field? No, a single field can have only one filter at a time (e.g., you can select multiple values, but you can’t have both “contains” and “does not contain” on the same field). Use separate fields or a helper column.
- Do filters affect the pivot’s totals? Yes. The Grand Total and subtotals recalculate based only on the filtered data. That’s usually what you want, but be aware that totals change when you filter.
- How do I filter by a date range in a pivot? Use a Timeline (Excel) or add the date field to the Filters area and select specific dates. In Excel, you can also use “Date Filters” in the row/column label drop-down to choose “Between,” “Last Month,” etc.
- Can I filter a pivot table in Google Sheets the same way? Yes, Google Sheets has a Filters area in the pivot editor. Drag fields there and use the drop-downs. Slicers are not available, but you can use the filter drop-downs directly.
- What’s the difference between a filter and a slicer? A filter is a drop-down that appears above the pivot; a slicer is a floating button panel that shows all values at once. Slicers are easier for multi-select and for dashboards, but they take up space.
- Can I filter a pivot table using a cell value (like a dropdown on the sheet)? Yes, you can use a formula with GETPIVOTDATA or a helper column, but it’s more advanced. For a simple approach, use the built-in filters and change them manually.