Templates, guides & honest tool reviews for small business

Monday, November 30, 2026

Slicers in Excel: Filter a Pivot Table With Buttons

Section: Excel & Google Sheets

Slicers in Excel - explanatory illustration for Slicers in Excel
Illustration: Slicers in Excel

A slicer in Excel is a panel of buttons that filters a pivot table or a table with one click. Instead of opening a field dropdown and hunting for a tick box, you press North and the pivot shows North, with the pressed button showing at a glance what is filtered. This guide covers inserting one, selecting several items, connecting a single slicer to more than one pivot, formatting and resizing, disconnecting and deleting, and the limits that decide whether a slicer will work at all.

What a slicer is

Microsoft describes slicers as buttons you can click to filter tables or pivot tables, and adds the part people underrate: a slicer also shows the current filtering state, so anyone opening the file can see what is being displayed.

Slicers pair naturally with a pivot whose dates are grouped by month, and with a calculated field for the measures that are not in the source data.

That visibility is the difference between a slicer and a filter dropdown. A dropdown hides its selections behind a menu; a slicer puts them on the page, which is why slicers belong on a dashboard and dropdowns belong in a working sheet.

Insert a slicer

  1. Click anywhere in the table or pivot table.
  2. On the Insert tab, select Slicer.
  3. In the Insert Slicers dialog, tick the fields you want and select OK.
  4. Click any button to apply that filter to the linked table or pivot.

One slicer is created for every field you ticked. Two fields means two panels, and both filters apply at once, so a region slicer and a month slicer narrow the pivot together.

Inserting a slicer - explanatory illustration for Slicers in Excel
Inserting a slicer (explanatory illustration, not a software screenshot).

Selecting more than one item

Hold Ctrl and click to select several items, which is how you show North and East but not South. On a Mac the key is Command.

To clear everything, select the Clear Filter button inside the slicer. That restores every item and is much faster than clicking each button off.

Format and resize

The Slicer tab on the ribbon, or the Design tab in Excel 2016 and older, holds the styles. Pick a colour and the whole panel follows.

To resize, select and hold the corner of the slicer and drag. Microsoft's own instruction is exactly that, and it is worth doing before you lay out a dashboard: a slicer that shows six buttons and a scroll bar looks broken next to one that shows all twelve.

One slicer for several pivot tables

A single slicer can drive more than one pivot, which is how a dashboard with four pivots gets one shared filter. The condition is firm: Microsoft states that slicers can only be connected to pivot tables that share the same data source.

  1. Create the second pivot from the same data source as the first.
  2. Select the slicer, which brings up the Slicer tab.
  3. Select Report Connections.
  4. Tick the pivot tables that should follow the slicer.

If the second pivot was built from a copy of the data rather than the same table, the connection will not hold, and the pivot will ignore the slicer without an error. Build every pivot from the same table and this problem disappears.

One slicer, several pivots - explanatory illustration for Slicers in Excel
One slicer, several pivots (explanatory illustration, not a software screenshot).

Disconnect and delete

To stop a pivot following a slicer, click in that pivot, open PivotTable Analyze and select Filter Connections, then clear the tick for the field. The slicer stays; it just stops driving that pivot.

To remove a slicer altogether, select it and press Delete, or right-click it and select Remove. Deleting a slicer does not change the data or the pivot layout; it only removes the filter control, and the pivot keeps whatever filter was applied last.

The parts of a slicer

Microsoft lists six components: a header naming the field, buttons that are unselected, buttons that are selected, a Clear Filter button, a scroll bar when there are more items than fit, and the border handles for moving and resizing.

Knowing the header is a field name matters when you rename a field later: the slicer header follows the field, so a confusing header is usually a confusing field name in the source.

The parts of a slicer - explanatory illustration for Slicers in Excel
The parts of a slicer (explanatory illustration, not a software screenshot).

Common problems

  • The Slicer button is greyed out. The active cell is not inside a table or pivot table.
  • A second pivot ignores the slicer. Different data source. Rebuild it from the same table.
  • Buttons are missing from the panel. The field has more items than the panel height. Resize it or use the scroll bar.
  • A filter that seems stuck. Another slicer or a field dropdown is also filtering. Clear them all.
  • A slicer that shows old items. The pivot cache has not refreshed. Refresh the pivot.
  • A dashboard that breaks when the file moves. Slicers are tied to their pivots. Keep them on the same sheet as the pivots they drive.
Why a slicer misbehaves - explanatory illustration for Slicers in Excel
Why a slicer misbehaves (explanatory illustration, not a software screenshot).

Questions and answers

Can a slicer filter a normal range?

It filters a table or a pivot table. Convert the range to an Excel Table first, which also makes the slicer's source grow with the data.

How many slicers can one pivot have?

One per field is the practical limit, and every one you add narrows the result further.

Do slicers work on a Mac?

Yes. Microsoft documents the same steps, with Command instead of Ctrl for multiple selection.

Can I print a slicer?

Yes, it prints as part of the sheet, which is one reason to keep it inside the print area.

What is the difference between a slicer and a timeline?

A timeline filters dates only, with a slider. A slicer filters any field with buttons. For dates, a timeline is often the friendlier control, and for everything else a slicer is.

Official references

العربية