Excel tutorial
/

PivotTables

Intermediate

Filtering a PivotTable: report filter, label filters and value filters

Filter a PivotTable by region, label or value: the Filters area, Label Filters, Top 10, a separate sheet per region, and the hidden traps of filtered totals.

A big report rarely needs everything at once: your manager asks only about Samarkand, while marketing wants to see the top two managers. You don’t have to rebuild the PivotTable each time — just filter it.

A PivotTable has three ways to filter:

  • Report filter — a field in the Filters area: the whole report narrows to one or more values.
  • Label Filters — by row or column labels: “begins with”, “contains”.
  • Value Filters — by numbers: “top 5”, “greater than 10 million”.
Книга1 - Excel
—☐✕
B1fxSamarkand
ABCD
1RegionSamarkand
2
3Row LabelsSum of Amount
4Laptop8 500 000
5Monitor12 000 000
6Grand Total20 500 000
7
Готово
Region is in the Filters area: the report shows Samarkand sales only

Report filter: narrowing the whole report

1

Drag the Region field to the Filters area. A filter appears above the PivotTable (in row 1), currently set to (All).

Книга1 - Excel
—☐✕
B1fx(All)
ABCD
1Region(All)1
2
3Row LabelsSum of Amount
4Laptop51 000 000
5Monitor21 600 000
6Printer16 000 000
7Grand Total88 600 000
8
Готово

2

Click the arrow in B1 and pick Samarkand. Need several regions? Tick Select Multiple Items at the bottom and check the ones you want. Click OK.

Книга1 - Excel
—☐✕
B1fx(All)
ABCD
1Region(All)(Все)BukharaSamarkandTashkentВыделить несколько элементов
2
3Row LabelsSum of Amount
4Laptop51 000 000
5Monitor21 600 000
6Printer16 000 000
7Grand Total88 600 000
8
Готово

3

The report recalculates (the result above) and the button in B1 shows a filter icon. With several regions selected, B1 says (Multiple Items) — and doesn’t tell you which ones, so keep that in mind.

Value Filters: the top 2 managers

1

Put the Manager field in Rows. Click the arrow next to Row Labels → Value Filters → Top 10....

Книга1 - Excel
—☐✕
A1fxRow Labels
ABCD
1Row LabelsСортировка от А до ЯСортировка от Я до АДругие параметры сортировки...Фильтры по подписиФильтры по значениюВыделить всеSum of Amount
2Aziz35 100 000
3Dilnoza20 500 000
4Javohir26 600 000
5Malika6 400 000
6Grand Total88 600 000
7
Готово

2

In the dialog choose Top, the number 2, Items and Sum of Amount — that is, “the 2 largest items by amount”.

Книга1 - Excel
—☐✕
A1fxRow Labels
ABCD
1Row LabelsSum of Amount
2Aziz35 100 000
3Dilnoza20 500 000
4Javohir26 600 000
5Malika6 400 000
6Grand Total88 600 000
7
Готово

3

Click OK. Two managers remain, listed alphabetically. To sort them: right-click → Sort → Sort Largest to Smallest.

Книга1 - Excel
—☐✕
B4fx61700000
ABCD
1Row LabelsSum of Amount
2Aziz35 100 000
3Javohir26 600 000
4Grand Total61 700 0001
5
Готово
The Grand Total is now 61,700,000 — the sum of the two visible managers only

Label Filters and simple checkboxes

The Row Labels arrow offers two more ways:

  • Checkbox list — untick the items you don’t need. For a long list, type part of a name into the Search box at the top.
  • Label Filters — a condition on the label: Begins With, Contains, Does Not Equal, Between. For example, keep products whose name contains “Monitor” — new monitor models will fall into the filter automatically.

Date fields get Date Filters instead: This Month, Last Quarter, Between and more.

Pro level: a separate sheet for every region in one click

Do you send each regional manager their own report every month? No need to copy by hand:

  1. Keep Region in the Filters area.
  2. PivotTable Analyze → the arrow next to Параметры → Show Report Filter Pages....
  3. Select Region and click OK.

Excel creates a sheet for every region (Bukhara, Samarkand, Tashkent), each with the PivotTable filtered to that region. Even for 30 branches it takes seconds.

One more pro rule: (Multiple Items) in the Filters area tells the reader nothing. If the report is for other people, use a Slicer instead — the selected values are always visible on its buttons.

Try it in the simulator

Recreate the Samarkand filter with a formula: type =СУММЕСЛИМН($C$2:$C$8;$A$2:$A$8;"Samarkand";$B$2:$B$8;D2) in E2 and fill it down to E4. Laptop — 8500000, Monitor — 12000000, Printer — 0 (the PivotTable doesn’t show it at all).

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1RegionProductAmountProductSamarkand
2TashkentLaptop25500000Laptop
3SamarkandMonitor12000000Monitor
4TashkentPrinter6400000Printer
5BukharaLaptop17000000
6SamarkandLaptop8500000
7TashkentMonitor9600000
8BukharaPrinter9600000
9
10
11
12
Лист1
Готово

Has ExcelLab been useful?

Support the project and help us release new lessons and exercises.

Support us
Previous

62 / 154