How to Use Table Slicer Options in Excel
In this article
Table slicers in Excel are visual filters that let you quickly narrow down data in a table or PivotTable. Instead of digging through filter drop-downs, you click a button to see only the records you need. This guide covers how to add, customize, and manage slicers for tables, including connecting them to multiple tables and using advanced options like multi-select and search.
What You'll Need
- A table in Excel (created via Insert > Table or Ctrl+T) or a PivotTable.
- Excel 2013 or later (steps are similar in Excel 2016, 2019, 2021, and Microsoft 365).
- The table should have at least one column with repeating values (e.g., Region, Category, Status) to filter by.
Step-by-Step
1. Insert a Slicer for Your Table
- Click anywhere inside your table (or PivotTable).
- Go to the Table Design tab (or PivotTable Analyze for a PivotTable).
- Click Insert Slicer.
- In the dialog box, check the box next to the column(s) you want to filter by. You can select multiple columns to create several slicers at once.
- Click OK. A floating slicer window appears for each selected column.
2. Use a Slicer to Filter Data
- Click a button in the slicer to filter the table to only rows with that value.
- To select multiple values, hold Ctrl while clicking additional buttons (if multi-select is enabled).
- To clear the filter, click the clear filter icon (a funnel with an X) in the top-right corner of the slicer.
3. Customize Slicer Appearance
- Click the slicer to select it. The Slicer tab appears in the ribbon.
- Use the Slicer Styles gallery to change colors and button style.
- Under Buttons, adjust the Height and Width to make buttons larger or smaller.
- Under Columns, enter a number to arrange buttons in multiple columns (e.g., 2 for two columns).
- Resize the slicer by dragging its edges or corners.
4. Change Slicer Settings
- Right-click the slicer and choose Slicer Settings.
- Here you can:
- Change the Name (used in formulas and VBA).
- Set the Header text (the title at the top).
- Enable or disable the Display header checkbox.
- Under Item Sorting and Filtering, choose to hide items with no data or show items deleted from the data source.
- Under Options, toggle Multi-select (allows selecting multiple items with Ctrl) and Show “Select All” checkbox.
5. Connect a Slicer to Multiple Tables
- If you have multiple tables or PivotTables that share the same data source (e.g., from the same PivotCache), you can connect a slicer to all of them.
- Right-click the slicer and choose Report Connections (or PivotTable Connections).
- Check the boxes for the tables/PivotTables you want the slicer to control.
- Click OK. Now clicking a button filters all connected tables simultaneously.
6. Use the Search Box in a Slicer
- By default, a search box appears at the top of the slicer (if the slicer has more than a few items).
- Type text in the search box to narrow the list of buttons. Only matching items remain visible.
- To clear the search, click the X in the search box.
7. Delete a Slicer
- Click the slicer to select it.
- Press the Delete key on your keyboard. The slicer is removed, but your data remains unchanged.
Common Mistakes
- Forgetting to convert data to a Table: Slicers only work with Excel Tables or PivotTables. If you insert a slicer on a normal range, it will not work.
- Selecting too many slicers: Each slicer adds visual clutter. Use only the columns you actually need to filter.
- Not using multi-select: If you want to see multiple categories at once, remember to hold Ctrl or enable multi-select in settings.
- Connecting to the wrong tables: When using Report Connections, ensure the tables share the same data source; otherwise, the slicer may not affect them.
- Overlapping slicers: Slicers are floating objects; they can overlap and hide data. Arrange them neatly.
Tips
- Use the “Select All” button: To quickly reset to showing all data, click the “Select All” button at the top of the slicer.
- Sort slicer items: Right-click a slicer, go to Slicer Settings, and under “Item Sorting and Filtering” choose ascending or descending order.
- Hide items with no data: In Slicer Settings, check “Hide items with no data” to keep the slicer clean when data changes.
- Use slicers in dashboards: Connect slicers to multiple PivotTables to create an interactive dashboard.
- Keyboard shortcut: Press Alt + F5 to refresh the slicer after data changes.
Troubleshooting
- Slicer is grayed out or not available: Make sure your data is formatted as a Table (Ctrl+T) or you are working with a PivotTable. Also, ensure you are not in cell editing mode.
- Slicer is not filtering the table: Check that the slicer is connected to the correct table. Right-click the slicer > Report Connections and verify the table is checked.
- Slicer buttons are too small or too large: Adjust the button height/width in the Slicer tab, or drag the slicer borders.
- Slicer items are not updating after data changes: Right-click the slicer and choose Refresh, or press Alt+F5. If the table is linked to an external data source, refresh that source first.
- Cannot move or resize slicer: Slicers are floating objects; if they are locked, check the sheet protection settings. Unprotect the sheet if necessary.
Frequently Asked Questions
Can I use a slicer with a regular range of cells?
No. Slicers only work with Excel Tables and PivotTables. Convert your range to a Table (Ctrl+T) first.
How do I filter multiple columns at once using slicers?
Insert a slicer for each column you want to filter. You can have multiple slicers active simultaneously; they all filter the same table.
Can I connect one slicer to multiple PivotTables?
Yes, if the PivotTables share the same data source (same PivotCache). Right-click the slicer, choose Report Connections, and check the PivotTables you want.
Why does my slicer show items that are not in the data?
This happens when items were deleted from the data source but still exist in the slicer cache. In Slicer Settings, check “Hide items with no data” to remove them from view.
How can I make the slicer buttons display in multiple columns?
Select the slicer, go to the Slicer tab, and in the Buttons group, increase the “Columns” number. For example, set it to 3 to arrange buttons in three columns.
Can I use slicers in Excel Online?
Yes, Excel for the web supports slicers for tables and PivotTables, though some advanced settings (like Report Connections) may be limited.