Filter a table with slicers
Excel tables6 minPremium
Builds on Turn a range into an Excel table and Filter a list to the rows you need.
A regional sales manager in Phoenix goes through a sales table on a shared screen every Monday. Opening filter menus in front of the team is slow, and nobody can tell at a glance which regions are showing.
How it works
A slicer is a panel of buttons, one for each value in a column, that filters a table. Click a cell in the table, choose Insert > Slicer, tick the columns you want slicers for, and click OK. Each slicer sits on top of the sheet like a chart, so you can move and resize it.
- Click a button to show only the rows with that value.
- Hold Ctrl (Cmd on a Mac) and click to add values or take them away, or switch on the Multi-Select button at the top of the slicer.
- Click Clear Filter, at the top right of the slicer, to show every row again.
A slicer filters the way the filter buttons do. It hides rows, so the total row and any SUBTOTAL follow it, and it works together with filters on other columns. Its highlighted buttons show anyone looking at the sheet which values are in view. To remove a slicer, select it and press Delete.
Example
The manager adds slicers for Region and Product. She clicks West, then holds Ctrl and clicks South, and the table shows both regions while its total row adds up only their sales. Clear Filter on the Region slicer brings every region back.
Common mistakes
- A plain click replaces what the slicer shows, so a second region needs Ctrl+click (Cmd+click on a Mac).
- A slicer left on one value keeps hiding rows after the meeting, and the next person's totals come out short. Clear it when you're done.
- A SUM of a table column ignores the slicer and adds every row. Use the total row or SUBTOTAL for figures that should follow it.
In short
- Insert > Slicer adds a slicer for each column you tick.
- Click a button to filter, Ctrl+click (Cmd+click on a Mac) for several values, and Clear Filter to show every row.
- Slicers hide rows the way filters do, so the total row and SUBTOTAL follow them.
Practice
Premium3 exercises: 1 find-it task and 2 quiz questions.
Practice is part of Premium
Every lesson is free to read, and you can practice the free lessons without an account. This lesson's exercises are part of Premium, which you add to a free account.
Have one? Sign in