In Excel: click inside the Table or PivotTable, then Insert ▸ Slicer, tick the field you want to filter by, and click OK.
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. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. 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 before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.
In Google Sheets
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. If you take one thing from this page on “use slicer in excel”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.
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.