Excel tutorial
/

PivotTables

Advanced

Slicers and Timelines in Excel: interactive filters for PivotTables

Slicers and Timelines filter a PivotTable with buttons. How to add them, select several values, drive several PivotTables with one slicer and avoid the traps.

A regular PivotTable filter is hidden: you don’t know what’s selected until you click the button, and with several values it just says (Multiple Items). When a manager or colleague reads the report, that’s confusing.

A Slicer is a panel of buttons next to the PivotTable. Each button is one value: Bukhara, Samarkand, Tashkent. Click one and the PivotTable is filtered while the selected button stays highlighted. A Timeline (Excel 2013+) is a special slicer for dates: you pick a period by dragging across it.

Together they turn an Excel report into a real interactive dashboard.

Книга1 - Excel
—☐✕
B5fx41500000
ABCDE
1Row LabelsSum of AmountRegion
2Laptop25 500 000Bukhara
3Monitor9 600 000Samarkand
4Printer6 400 000Tashkent1
5Grand Total41 500 000
6
Готово
On the right is a Region slicer (in Excel it floats over the sheet as a separate object). Tashkent is selected, so the PivotTable shows only its sales

Adding and using a slicer

1

Click any cell in the PivotTable. On the PivotTable Analyze tab (Analyze in Excel 2016) click Вставить срез. The same command is also on the Вставка tab in the Filters group.

2

In the Insert Slicers dialog tick the fields to filter by — for example Region. Tick several fields and you get one slicer per field.

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

3

Click OK and the slicer appears on the sheet. Click the Tashkent button: the PivotTable now shows only Tashkent sales (the result above).

4

To select several regions, hold Ctrl while clicking the buttons, or turn on the Multi-Select button in the slicer header (Alt + S).

Книга1 - Excel
—☐✕
B5fx62000000
ABCDE
1Row LabelsSum of AmountRegion
2Laptop34 000 000Bukhara
3Monitor21 600 000Samarkand
4Printer6 400 000Tashkent
5Grand Total62 000 000
6
Готово
Samarkand + Tashkent: 62,000,000 UZS

5

To clear the filter, click the funnel icon with the red ✕ in the slicer header, or select the slicer and press Alt + C — all regions are visible again.

Timeline — a slicer for dates

Click inside the PivotTable, choose PivotTable Analyze → Insert Timeline and tick the date field (Date). A timeline appears on the sheet.

  • In the list at the top right pick the level: Years, Quarters, Months or Days.
  • To select a period, click one tile or drag across several.
  • Stretch the selection by dragging its edges.

A Timeline works only with PivotTables and requires real date values in the source column.

Книга1 - Excel
—☐✕
B8fx41500000
ABCDE
1Date
2Q1 2025Q2 2025Q3 2025Q4 2025
3
4Row LabelsSum of Amount
5Bukhara17 000 000
6Samarkand8 500 000
7Tashkent16 000 000
8Grand Total41 500 000
9
Готово
Q2 and Q3 are selected on the timeline: the PivotTable counts only April–September sales

One slicer — several PivotTables

1

Create a second PivotTable from the same source (for example by manager), or copy the first one and change its fields.

2

Click the slicer and on the Slicer tab click Подключения к отчётам (or right-click the slicer → Report Connections...).

Книга1 - Excel
—☐✕
A1fxRow Labels
ABCDEF
1Row LabelsSum of AmountRow LabelsSum of Amount
2Laptop25 500 000Aziz35 100 000
3Monitor9 600 000Malika6 400 000
4Printer6 400 000Grand Total41 500 000
5Grand Total41 500 000
6
Готово

3

Tick both PivotTables and click OK. Now selecting Tashkent filters both reports at once: products and managers alike show Tashkent only.

Pro level: tuning slicers for a dashboard

  • Buttons in a row. Slicer → Columns: 3 — the buttons line up horizontally and the slicer sits compactly above the report.
  • Style. Slicer → Slicer Styles — match your corporate colors, or duplicate a style and tweak it.
  • No extra header. Slicer Settings → untick Display header.
  • For Tables too. In Excel 2013+ a slicer can filter a regular Table: click inside it → Вставка → Slicer.
  • With charts. A slicer also drives a PivotChart — one click changes both the table and the chart.

Good dashboard rule: slicers and a timeline on top, 2–3 PivotTables and charts below, all connected to one cache.

Try it in the simulator

Recreate the two-region slicer selection with a formula: type =СУММЕСЛИМН($C$2:$C$8;$B$2:$B$8;D2;$A$2:$A$8;"Tashkent")+СУММЕСЛИМН($C$2:$C$8;$B$2:$B$8;D2;$A$2:$A$8;"Samarkand") in E2 and fill it down to E4. Laptop — 34000000, Monitor — 21600000.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1RegionProductAmountProductTashkent + Samarkand
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

63 / 154