In Excel: click inside the Table or PivotTable, then Insert ▸ Slicer, tick the field you want to filter by, and click OK.
On this page7
Convert the range to a Table with Ctrl+T, or build the PivotTable first — slicers need one or the other.
Click inside it, then Insert ▸ Slicer.
Tick each field you want a slicer for and click OK; you get one box per field.
Drag and resize the boxes, and set Slicer ▸ Columns to lay the buttons out horizontally.
To drive several PivotTables from one slicer: right-click it ▸ Report Connections and tick them.
Use the multi-select button (or Ctrl-click) for more than one value, and the clear-filter button to reset.
What this does
A slicer is a filter you can see. It does exactly what the filter drop-down does, but it stays on the sheet showing which values are currently selected — which is the whole point on a dashboard, where a hidden filter silently misleads everyone reading the numbers. Slicers need a Table or a PivotTable; they cannot be attached to a plain range, so Ctrl+T comes first. One slicer can drive several PivotTables at once through Slicer ▸ Report Connections, provided those PivotTables share a data source or Data Model. For dates specifically there is a purpose-built variant, the Timeline (Insert ▸ Timeline), which filters by year, quarter, month or day on a slider. Ctrl-click or the multi-select button in the slicer header selects more than one value; the funnel-with-a-cross button clears the filter. Before you run it on a workbook other people depend on, try it on a copy or a few rows first. Undo only reaches back through the current session, so a quick trial run is the cheapest way to see exactly what will change before the file is saved and shared. Treat “use slicer in excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected slicer shows up while it is still harmless. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That turns a data step that keeps your analysis trustworthy into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
A sales table converted with Ctrl+T. Insert ▸ Slicer ▸ tick Region ▸ OK. Clicking "North" filters the table to northern rows and the button stays highlighted, so anyone glancing at the sheet can see the total is regional and not the grand total. Slicer ▸ Columns = 4 lays the five region buttons out in a row across the top instead of a tall stack. On any sheet more than one person reads, a filter nobody can see is a reporting error waiting to happen — a slicer makes the current selection part of the page. A practical tip: try it on a copy of the sheet or a handful of sample rows first and check the result before you apply it to the real data. That one habit catches almost every surprise while it is still cheap to reverse.
In Google Sheets
This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. If you take one thing from this page on “use slicer in excel”, make it the order of checks rather than the individual clicks: confirm what is selected, apply the step, and look at the result before moving on. That small routine is what keeps Excel work predictable when the same task comes back in a slightly different workbook.
Common mistakes
- Trying to insert a slicer on a plain range and finding the button greyed out — Ctrl+T first.
- Expecting one slicer to filter PivotTables built on different source ranges; Report Connections only offers those sharing a cache or the Data Model.
- Leaving a slicer filtered and then reading the totals as if they covered everything — visible, but only if you look.
- Using a slicer for dates when a Timeline is the better control for a continuous range.
- Deleting the source Table and leaving an orphaned slicer that filters nothing.
Frequently asked questions
How do I add a slicer in Excel?
Click inside the Table or PivotTable, then Insert ▸ Slicer, tick the field and click OK.
Why is the Slicer button greyed out?
The selection is a plain range. Press Ctrl+T to convert it to a Table, or click inside a PivotTable first.
Can one slicer control several PivotTables?
Yes, if they share a data source or the Data Model: right-click the slicer ▸ Report Connections and tick each one.
How do I select more than one value in a slicer?
Click the multi-select button in the slicer header, or hold Ctrl while clicking. The funnel-with-a-cross button clears the filter.
What is the difference between a slicer and a filter?
They filter identically. A slicer stays visible on the sheet showing the current selection, which a filter drop-down does not.
Other ways people ask this
This is also commonly searched as “how to use a slicer in excel”, “how to use slicers in excel”, “using slicers in excel” and “use of slicer in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.
Why do people search for this in so many different ways?
Because the same task has many names. “how to use a slicer in excel”, “how to use slicers in excel”, “using slicers in excel” all point at the one operation explained on this page, which is why they all lead here.