ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Data tools
  3. Slicers in Excel: Click-to-Filter Pivot Tables

Slicers in Excel: Click-to-Filter Pivot Tables

By ExcelReady Team·Updated November 1, 2026·5 min read

The short answer

A slicer in Excel is a box of buttons that filters a pivot table or an Excel table when you click them. To add one, click inside the pivot, go to PivotTable Analyze > Insert Slicer, tick a field such as Region and click OK. Click a button to filter, and click Clear Filter to show everything again.

Key takeaways

  • Insert a slicer from PivotTable Analyze > Insert Slicer, or from Table Design for an Excel table.
  • Click one button to filter; turn on Multi-Select or hold Ctrl to pick several items.
  • Report Connections lets one slicer filter several pivots built from the same data.
  • A timeline is a slicer for dates that filters by year, quarter, month or day.
  • Two slicers combine as AND, just like two criteria in SUMIFS.
On this page+
  1. What does a slicer do?
  2. How to insert a slicer for a pivot table
  3. How to filter with a slicer
  4. How to connect one slicer to several pivot tables
  5. How to add a timeline to filter by date
  6. How to use a slicer with an Excel table
  7. How to format slicers and change their settings
  8. Slicers, pivots and formulas
  9. Practise it

A slicer in Excel is a panel of buttons that filters a pivot table, or an Excel table, with one click. Each button is one item, such as East or West, and the highlighted buttons show exactly what the report includes. Slicers make a pivot easy for anyone to use, which is why they appear in so many dashboards. This guide shows how to add, use, connect and format them.

What does a slicer do?#

A slicer is a visible filter. A pivot's normal filter hides behind a small drop-down arrow, so readers can't see what's filtered. A slicer sits on the sheet as a box of buttons:

  • Highlighted buttons are included in the report.
  • Plain buttons are filtered out.
  • Faded buttons have no data with the current filters.

The examples use this sales list in A1:D9, with a pivot showing Sales by Region:

ABCD
1RegionProductUnitsSales
2EastLaptop33600
3WestPhone53000
4EastPhone42400
5SouthLaptop22400
6WestLaptop11200
7EastTablet61800
8NorthPhone21200
9EastLaptop11200

Slicers for pivot tables arrived in Excel 2010 for Windows, and slicers for tables in Excel 2013. Current Microsoft 365 versions on Windows, Mac and the web all support them.

How to insert a slicer for a pivot table#

  1. Click any cell inside the pivot table.
  2. Go to PivotTable Analyze > Insert Slicer.
  3. Tick one or more fields, for example Region and Product.
  4. Click OK.

Excel adds one slicer box per field. Drag each box by its border to place it next to the pivot, and drag the corner handles to resize it.

You can slice by a field that isn't in the pivot layout at all. A pivot that shows only Sales by Region can still have a Product slicer.

How to filter with a slicer#

Click a button to show only that item. Click East in the Region slicer, and the pivot shows East's total of 9,000 (3,600 + 2,400 + 1,800 + 1,200).

To work with several items:

  • Multi-Select. Click the checklist icon at the top of the slicer (Windows shortcut: Alt+S). Now each click adds or removes an item.
  • Ctrl+click. On Windows, hold Ctrl and click to add single items. Click and drag to select a run of buttons next to each other.
  • Clear Filter. Click the funnel icon with the red cross at the top right (Windows shortcut: Alt+C) to show all items again.

Two slicers combine with AND logic. Click East in Region and Laptop in Product, and the pivot shows only East laptops: 3,600 + 1,200 = 4,800. That is the same as a SUMIFS with two criteria, which you can try in the exercise on this page.

How to connect one slicer to several pivot tables#

One slicer can drive several pivots at once, which is the heart of a simple dashboard.

  1. Right-click the slicer and choose Report Connections (on the ribbon: Slicer > Report Connections).
  2. Tick every pivot table the slicer should filter.
  3. Click OK.

Now clicking East updates, say, a Sales by Product pivot and a Units by Month pivot together. The pivots must come from the same source data; pivots built from different ranges don't appear in the list. If you need a month breakdown for a dashboard, see how to group dates in a pivot table.

How to add a timeline to filter by date#

A timeline is a slicer made for dates. Instead of buttons, it has a bar you click or drag across.

  1. Click inside the pivot and go to PivotTable Analyze > Insert Timeline.
  2. Tick a date field and click OK.
  3. Use the drop-down in the top-right of the timeline to choose Years, Quarters, Months or Days.
  4. Click one period, or drag across several, such as January to March.

Timelines work with pivot tables in Excel 2013 and later, and the source field must contain real dates. A column with text dates won't show up in the Insert Timeline list.

How to use a slicer with an Excel table#

Slicers aren't only for pivots. Click inside an Excel table (press Ctrl+T, Mac: ⌘T, to make one), then go to Table Design > Insert Slicer. Clicking a button hides the table rows that don't match, just like the filter buttons.

A normal SUM still adds the hidden rows. To total only what the slicer shows, use SUBTOTAL, for example =SUBTOTAL(109,D2:D9), which ignores hidden rows. Put it above the table so it stays visible.

How to format slicers and change their settings#

Click a slicer to see the Slicer tab on the ribbon. The most useful settings:

  • Slicer Styles change the colours. Pick one that matches your report.
  • Columns (in the Buttons group) lays the buttons out side by side. Set it to 4 for a short horizontal bar of regions.
  • Slicer Settings lets you rename the header, sort items, and tick Hide items with no data so empty buttons disappear.
  • Lock position. In Size and Properties, choose Don't move or size with cells, so the slicer stays put when columns change width.

To remove a slicer, click its border and press Delete.

Slicers, pivots and formulas#

Slicers make pivots friendly, but sometimes you need the same numbers in fixed cells for a report. A formula like =SUMIFS(D2:D9,A2:A9,"East",B2:B9,"Laptop") returns 4,800 without any clicking. The comparison of pivot tables vs SUMIFS explains when each fits. Once the pivot is filtered, you can show each slice as a share with percent of total or add a ratio with a calculated field. Slicers and pivot dashboards are also a core part of the Excel skills data analysts need.

Practise it#

Filtering a pivot quickly, and knowing what the filtered total should be, is a common task in analyst tests. Practise pivot tables in a live spreadsheet: add filters, nest row fields and show percent of total, with instant checks. Then try the SUMIFS exercise on this page to confirm a two-slicer answer.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Slicers for Region = East and Product = Laptop would leave one total in the pivot. Get it with a formula: in G2, use SUMIFS to add D2:D9 where A2:A9 is East and B2:B9 is Laptop.

fx
ABCDEFGH
1
Region
Product
Units
Sales
2
East
Laptop
3
3600
East laptops
3
West
Phone
5
3000
4
East
Phone
4
2400
5
South
Laptop
2
2400
6
West
Laptop
1
1200
7
East
Tablet
6
1800
8
North
Phone
2
1200
9
East
Laptop
1
1200
10
11
12

Tip: SUMIFS starts with the column to add, then pairs of range and value: A2:A9 with "East", B2:B9 with "Laptop".

Practise this in a lesson

LessonPivot tables 2Go further with PivotTables: nest two row fields with subtotals, add a report filter, show values as a % of the grand total, update the source when new rows arrive, and know when SUMIFS is the better tool.

Frequently asked questions

What is a slicer in Excel?

+

A slicer is an on-sheet panel of buttons, one per item in a field, that filters a pivot table or Excel table. It also shows at a glance which items are currently filtered.

How do I insert a slicer in Excel?

+

Click inside a pivot table, go to PivotTable Analyze > Insert Slicer, tick the fields you want and click OK. For an Excel table, use Table Design > Insert Slicer.

How do I select multiple items in a slicer?

+

Click the Multi-Select button at the top of the slicer, or press Alt+S on Windows, then click each item. You can also hold Ctrl on Windows while clicking.

How do I connect one slicer to multiple pivot tables?

+

Right-click the slicer and choose Report Connections, then tick every pivot table it should filter. The pivots must be built from the same source data.

What is the difference between a slicer and a timeline?

+

A slicer filters by the items in any field, such as regions or products. A timeline only works with date fields and filters by a period you drag across, such as two months or a quarter.

Sources

  • Filter data in a range or table - Microsoft Support
  • Create a PivotTable to analyze worksheet data - Microsoft Support
  • SUMIFS function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What does a slicer do?
  2. How to insert a slicer for a pivot table
  3. How to filter with a slicer
  4. How to connect one slicer to several pivot tables
  5. How to add a timeline to filter by date
  6. How to use a slicer with an Excel table
  7. How to format slicers and change their settings
  8. Slicers, pivots and formulas
  9. Practise it

Keep reading

Data tools· 6 min read

Pivot Table Tricks: Subtotals, Filters and % of Total

To show a percent of total in a pivot table, click the ▾ on the field in the Values area, choose Value Field Settings, open Show Values As and pick % of Grand Total. Each number then shows its share of the total, and the parts add up to 100%. You can also right-click a value and choose Show Values As.

Data tools· 5 min read

Calculated Fields in a Pivot Table

A calculated field is a new value column you create inside a pivot table from a formula, such as =Sales-Cost for profit. Click the pivot, go to PivotTable Analyze > Fields, Items & Sets > Calculated Field, type a name and formula, then click Add. It works on summed fields, so ratios work but row-level maths like Units*Price doesn't.

Data tools· 5 min read

Group Dates by Month or Year in a Pivot Table

To group dates in a pivot table, put the date field in Rows, right-click any date and choose Group. In the Grouping box, select Months and Years, then click OK. The pivot then shows one total per month, split by year. If Excel says it cannot group the selection, the date column holds blanks or text.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free