What a slicer does and when to use one
A slicer is a button-based filter tool in Excel that lets you narrow down data in a table or pivot table without typing formulas or using dropdown menus. Instead of clicking into a column header and unchecking items one by one, you click buttons on a slicer to show only the rows you want to see. Slicers work best when you have a table with many rows and several columns you might want to filter by — like a sales list where you want to show only one region, or a product inventory where you want to see only items in stock.
The main reason to use a slicer instead of the built-in filter dropdowns is speed and clarity. A slicer stays visible on your sheet, so you can see at a glance which filters are active. If you share the spreadsheet with others, they can see the slicer buttons and understand how the data is being filtered without hunting for hidden dropdown arrows.
Key Takeaways
- Slicers work on tables and pivot tables, not on raw data ranges — you may need to convert your data to a table first using the Format as Table option.
- To insert a slicer, select any cell in your table, go to the Insert tab, click Slicer, and choose which columns to add as slicer buttons.
- Click the buttons on the slicer to filter your data; hold Ctrl and click multiple buttons to show rows that match any of those values.
- You can move, resize, and style slicers to match your sheet layout, and delete them without affecting the underlying data.
Converting your data to a table so you can add a slicer
Slicers only work on tables and pivot tables, not on a plain range of cells. If your data is just rows and columns without table formatting, you need to convert it first. Click any cell in your data range, then go to the Home tab and click Format as Table. Choose a table style from the gallery — the color doesn't matter, only the formatting does. Excel will ask you to confirm the range; make sure "My table has headers" is checked if your first row contains column names.
Once the table is formatted, you'll see filter dropdown arrows appear in the header row. At this point, you're ready to add a slicer. If your data is already in a pivot table, you can skip this step and go straight to inserting the slicer.
Inserting a slicer on your sheet
Click any cell inside your table. Go to the Insert tab at the top of the ribbon. Look for the Slicer button — it usually appears in the Filters group, though the exact location varies slightly by Excel version. Click Slicer, and a dialog box will open showing all the columns in your table.
Check the box next to each column you want to turn into a slicer button. For example, if your table has columns for Region, Product, and Status, you might check Region and Product but not Status. You can add slicers for multiple columns at once, or add them one at a time later. Click OK, and Excel will place the slicers on your sheet.
Using slicer buttons to filter your data
Each slicer appears as a small window with buttons inside it. Click any button to show only rows that match that value. For example, if you have a Region slicer with buttons for North, South, East, and West, clicking North will hide all rows except those in the North region. The button you clicked will turn blue to show it's active.
To filter by multiple values at once, hold Ctrl (or Cmd on Mac) and click additional buttons. If you click North and then Ctrl+click South, you'll see rows from both regions. To clear all filters and show all data again, click the eraser icon in the top right corner of the slicer window.
Moving and resizing slicers to fit your layout
Slicers can take up space on your sheet. To move one, click its border and drag it to a new location. To resize it, grab the corner or edge and pull. Making a slicer wider shows more buttons in a single row; making it taller shows more buttons in a single column. Arrange your slicers so they don't cover important data or leave large empty spaces.
If you have multiple slicers, you can stack them vertically down one side of your sheet, or arrange them in a grid above your table. There's no single right way — organize them however makes sense for how you'll use the sheet.
Styling and removing slicers
Right-click a slicer to access styling options. You can change its color scheme, rename it, or adjust settings like whether buttons show a count of matching rows. These changes are purely visual and don't affect the data itself.
To delete a slicer, click it once to select it, then press Delete. Deleting a slicer removes only the filter buttons from your sheet — it does not delete any data or change your table. You can add the slicer back later if you need it.
Frequently Asked Questions
Can I use a slicer on data that isn't formatted as a table?
No. Slicers only work on tables and pivot tables. If you try to insert a slicer on a plain data range, the Slicer button will be grayed out. Convert your data to a table first using Home > Format as Table, then insert the slicer.
What's the difference between a slicer and the filter dropdown in the header row?
Both filter the same data, but slicers stay visible on your sheet and show which filters are active at a glance. Dropdowns are hidden in the header row and require you to click to see what's filtered. Slicers are better for sheets you share or reference often; dropdowns take up less space.
Can I connect one slicer to multiple tables?
Not directly. Each slicer is tied to one table. However, if you have two tables with a shared column (like Region), you can create a slicer for each table and they'll filter independently. Some advanced users use pivot tables or data models to connect multiple tables, but that's beyond basic slicer use.
Why does my slicer show a count number next to each button?
That number shows how many rows match that value after all other filters are applied. Right-click the slicer, choose Slicer Settings, and uncheck "Display header" or adjust other options if you want to hide the count or change how the slicer looks.