What you will learn
- Add a filter to a pivot table
- Use two filters at once
How it works
Drag a field into Filters. The filter shows on the sheet, above the pivot table: the field name in A1 and (All) in B1.
Click the ▾ in B1, pick what you want, like Shipped, and click OK. Now the pivot table only counts the rows you picked.
You can put two fields in Filters. Then both must match.
Where things go
Insert › PivotTable | make a pivot table |
Rows | one line for each item |
Columns | one column for each item |
Values | the numbers |
Filters | show only some rows |
Example
Make a pivot table. Show the total Amount for each Region. Use only Shipped orders.
The data (first rows):
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Order | Region | Product | Month | Amount | Status |
| 2 | 1001 | North | Laptop | Jan | $1,370.00 | Shipped |
| 3 | 1002 | North | Laptop | Jan | $790.00 | Shipped |
| 4 | 1003 | West | Phone | Jan | $460.00 | Shipped |
| 5 | 1004 | West | Tablet | Jan | $320.00 | Pending |
| 6 | 1005 | West | Tablet | Jan | $550.00 | Shipped |
| 7 | 1006 | West | Phone | Jan | $710.00 | Pending |
| 8 | 1007 | North | Tablet | Jan | $430.00 | Shipped |
Click inside the data, then Insert › PivotTable › OK. Rows: Region. Values: Sum of Amount. Filter: Status = Shipped.
The pivot table you get:
| Row Labels | Sum of Amount |
|---|---|
| East | $4,150.00 |
| North | $5,450.00 |
| South | $8,070.00 |
| West | $8,950.00 |
| Grand Total | $26,620.00 |
When to use it
- Only shipped orders
- Only one region or one year
- Switching a report between groups quickly
Common mistakes
- Forgetting a filter is onCheck the cells above the pivot table for a filter.
- Filtering in Rows when you meant FiltersFilters hide rows from the whole pivot table.
- Picking more than you meantOpen the ▾ and check what is ticked.
Practice it on a real sheet
Reading is a start. Doing it is how it sticks. This lesson walks you through every click on a live spreadsheet and checks each answer.