Adding a Slicer to a Pivot Table: Step-by-Step

Charts & pivot tables · Updated November 23, 2026

To add a slicer to a pivot table in Excel, select any cell inside the pivot table, go to the PivotTable Analyze tab (or Options in older versions), and click Insert Slicer. Then check the fields you want to filter by and click OK. The slicer appears as a floating panel with buttons for each value; click a button to filter the pivot table instantly, and hold Ctrl to select multiple values.

What a Slicer Actually Does

A slicer is a visual, clickable filter control that connects to one or more pivot tables, pivot charts, or even regular Excel tables. Instead of using the dropdown arrows in the pivot table’s Row or Column labels, a slicer shows all available values for a chosen field as buttons. When you click a button, Excel filters the connected pivot table to show only that value. This is especially useful when you want to see the current filter state at a glance, because the slicer highlights selected items and dims unselected ones.

Slicers were introduced in Excel 2010 and are available in all later versions, including Excel for Microsoft 365, Excel 2021, and Excel for the web (with some limitations). They work with pivot tables, pivot charts, and regular Excel tables (via the Table Tools > Design tab).

How to Insert a Slicer (Step-by-Step)

Here are the exact steps for Excel for Microsoft 365 on Windows:

  1. Click anywhere inside your pivot table to activate the PivotTable Analyze tab on the ribbon.
  2. In the Filter group, click Insert Slicer.
  3. In the dialog box, check the boxes for the fields you want to use as slicers (for example, Region, Product, or Date).
  4. Click OK. Excel places a slicer on the worksheet for each field you selected.
  5. Drag the slicer to a convenient location, and resize it by dragging its edges.

On a Mac, the steps are the same: go to the PivotTable Analyze tab (or Analyze in some versions) and click Insert Slicer. In Excel for the web, the option is under Insert > Slicer (or in the PivotTable Tools menu).

If you want to filter multiple pivot tables at once, right-click the slicer, choose Report Connections (or PivotTable Connections), and check the other pivot tables you want to link.

Choosing the Right Fields for a Slicer

Not every field makes a good slicer. The best candidates are fields with a manageable number of distinct values—like region, product category, or salesperson. Avoid fields with hundreds of unique values (like customer names or order IDs) because the slicer becomes too long and hard to use. Also, consider using slicers for date fields, but be aware that a date field slicer shows every individual date unless you group the dates in the pivot table first. To create a month or year slicer, right-click the date field in the pivot table, choose Group, and group by months or years. Then insert a slicer on the grouped field.

Formatting and Customizing a Slicer

You can change a slicer’s appearance to match your report. Select the slicer, then use the Slicer tab (which appears when the slicer is selected) to:

  • Change the Buttons count (columns) to arrange buttons side by side.
  • Adjust the Height and Width in the Size group.
  • Apply a Slicer Style from the gallery, or create your own style.
  • Set the Header text (the title at the top of the slicer) by editing the text in the header area.

To clear the filter, click the filter icon (the funnel with an X) in the top-right corner of the slicer. To remove a slicer entirely, select it and press the Delete key.

Common Problems and How to Fix Them

Here are a few issues you might encounter:

  • Slicer not filtering the pivot table: Make sure the slicer is connected. Right-click the slicer, choose Report Connections, and verify the pivot table is checked. If you inserted the slicer before creating the pivot table, it won’t connect automatically.
  • Slicer is grayed out or disabled: This happens if the pivot table is based on an external data source that doesn’t support slicers, or if the worksheet is protected. Unprotect the sheet or check the data source.
  • Multiple values selection isn’t working: By default, clicking a button selects only that value. To select multiple, hold Ctrl while clicking buttons. To enable multi-select by default, click the Multi-Select icon (the funnel with a plus) in the slicer’s top-right corner.
  • Slicer doesn’t show all values: If the pivot table has a filter applied to the field (like a row label filter), the slicer will only show the filtered values. Remove the filter from the pivot table field to see all.

Comparing Slicers with Traditional Filters

Regular pivot table filters (the dropdown arrows on row/column labels) are simple and take no extra space, but they hide the current filter state and require multiple clicks to change. Slicers are more visual and allow one-click filtering, but they take up worksheet space and can clutter a dashboard if you add too many. For a single pivot table with one or two filters, a slicer is often worth it. For complex reports with many fields, consider using a timeline (a special slicer for dates) or a simple filter instead.

Alternatives to Slicers

If you don’t want to use a slicer, you have other options:

  • Report Filter (Filter area): Drag a field to the Filters area of the pivot table to create a dropdown at the top. It’s less visual but takes less space.
  • Timeline: For date fields, a timeline provides a scrollable date range filter. Insert it from the PivotTable Analyze tab > Insert Timeline.
  • Form controls: You can use combo boxes or list boxes from the Developer tab to control pivot tables via macros, but this requires VBA and is more complex.
  • Power Pivot and Power BI: In larger data models, slicers are available in Power Pivot and Power BI, but those are separate tools.

Frequently Asked Questions

Can I connect one slicer to multiple pivot tables? Yes. Right-click the slicer, choose Report Connections, and check the pivot tables you want to link. All connected pivot tables will filter simultaneously when you click a button.

Why is my slicer not showing all the values from the field? The slicer only shows values that exist in the pivot table’s data source, but if you have applied a filter to the field in the pivot table (like a label filter), the slicer will respect that filter. Remove any filters from the field to show all values.

Can I use a slicer with a regular Excel table (not a pivot table)? Yes. Select any cell in the table, go to Table Design (or Table Tools), and click Insert Slicer. It works the same way.

How do I make a slicer automatically update when I add new data? Slicers update automatically when you refresh the pivot table. If you add new rows to your source data, refresh the pivot table (right-click > Refresh) and the slicer will include the new values.

Can I change the order of buttons in a slicer? The order follows the sort order of the field in the pivot table. To change it, sort the field in the pivot table (for example, A to Z or Z to A) and the slicer will reflect that order.

Is there a way to search within a slicer? Yes, but only in Excel 2016 or later. When you click the search icon (magnifying glass) in the top-right corner of the slicer, a search box appears. Type a value to filter the buttons shown.

Final Tips for Using Slicers

Slicers are most effective when you keep them tidy. Use a consistent style, place them near the top of your report, and limit the number to two or three per dashboard. If you have many fields to filter, consider grouping them in a single panel or using a timeline for dates. Also, remember that slicers are not available in Excel 2007 or earlier—upgrade to a newer version if you need this feature.

Related

Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.

More in Charts & pivot tables

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.