Slicer in Pivot? A Clear Answer

Charts & pivot tables · Updated November 23, 2026

Yes, you can add a slicer to a pivot table in Excel. Slicers are visual filters that let you click buttons to filter the data in your pivot table, and they work with pivot tables in Excel 2010 and later. This article explains how to insert, connect, and manage slicers for pivot tables, plus common issues and best practices.

What Is a Slicer and Why Use It?

A slicer is an on-screen control that shows a set of buttons, one for each value in a field (e.g., each product, region, or year). Clicking a button filters the pivot table to show only rows and columns that match that value. Multi-select is possible by holding Ctrl (Cmd on Mac) while clicking.

Slicers are more intuitive than the old drop-down filters in pivot table row/column labels. They give a clear visual indication of what is filtered, and you can connect one slicer to multiple pivot tables, making it a powerful tool for dashboards.

How to Insert a Slicer for a Pivot Table

Here are the steps for Microsoft 365 on Windows (Mac differences noted):

  1. Click anywhere inside the pivot table to activate the PivotTable Analyze tab (called PivotTable Analyze on both Windows and Mac).
  2. On the PivotTable Analyze tab, in the Filter group, click Insert Slicer. (On Mac, the tab is also PivotTable Analyze, and the button is in the Filter group.)
  3. In the dialog box, check the field(s) you want to use as slicers. For example, check “Region” and “Product”.
  4. Click OK. A slicer appears for each selected field, floating over the worksheet.

You can also right-click a field in the PivotTable Fields pane and choose Add as Slicer (Windows only; on Mac, use the Insert Slicer button).

Connecting a Slicer to Multiple Pivot Tables

One slicer can control several pivot tables that share the same data source. This is essential for dashboards.

  1. Right-click the slicer and choose Report Connections (Windows) or Connections (Mac).
  2. In the dialog box, check the boxes for the pivot tables you want the slicer to control.
  3. Click OK. Now clicking the slicer filters all connected pivot tables simultaneously.

Note: The pivot tables must be based on the same data range or table, and the field used in the slicer must exist in each pivot table’s field list.

Slicer Formatting and Customization

Slicers are highly customizable. You can change the number of columns (buttons per row), button size, and color scheme.

  • Change columns: Right-click the slicer, choose Size and Properties, then set the number of columns under Button.
  • Resize buttons: Drag the edges of the slicer or set exact dimensions in the same dialog.
  • Change style: Use the Slicer tab (appears when the slicer is selected) to pick a style from the gallery. You can also create custom styles.
  • Move and align: Drag the slicer freely, or use the Align tool on the Shape Format tab (Windows) to align multiple slicers.

Common Problems and How to Fix Them

Here are typical issues you might encounter:

  • Slicer not filtering: Ensure the slicer is connected to the pivot table (right-click > Report Connections). Also check that the pivot table is not using a different data source.
  • Grayed-out slicer buttons: This happens when the field has blank values or the pivot table is filtered to hide them. Uncheck “Hide items with no data” in the field settings, or ensure the field has no blanks.
  • Slicer doesn’t appear: If you don’t see the slicer, it may be hidden behind other objects. Use the Selection pane (Home > Find & Select > Selection Pane) to bring it forward.
  • Can’t insert slicer: This occurs if the pivot table is in a legacy format or if you’re using an older Excel version (pre-2010). Also, slicers are not available in Excel Online for pivot tables (as of 2025).

Slicer vs. Traditional Filters

Traditional pivot table filters (the drop-down arrows on row/column labels) are still available, but slicers offer advantages:

  • Visual clarity: Slicers show all available values at a glance; filters hide them behind a menu.
  • Multi-select: Slicers allow easy multi-select with Ctrl/Cmd; filters require a checkbox toggle.
  • Connectivity: Slicers can control multiple pivot tables; traditional filters cannot.
  • Touch-friendly: Slicers are easier to tap on touchscreens.

However, traditional filters are more compact and don’t take up worksheet space. For simple single-table filtering, a drop-down filter may be sufficient.

Best Practices for Using Slicers

To get the most out of slicers:

  • Keep slicers near the pivot table or on a separate dashboard sheet for clarity.
  • Use consistent styling across all slicers for a professional look.
  • Limit the number of slicers to avoid clutter; use only the most important fields.
  • Sort slicer buttons logically (e.g., alphabetical) by right-clicking > Slicer Settings > Sort.
  • Clear filters with the eraser icon on the slicer, or right-click > Clear Filter.
  • Protect sheets to prevent accidental changes to slicer connections.

Frequently Asked Questions

Can I use a slicer with a pivot chart?

Yes, slicers work with pivot charts. When you insert a slicer for a pivot table, it automatically filters any pivot chart associated with that pivot table. You can also insert a slicer directly from a pivot chart by selecting the chart and using the PivotChart Analyze tab.

Why is my slicer not showing all values?

This usually happens because the pivot table is set to hide items with no data. To show all values, right-click the field in the pivot table, choose Field Settings, go to the Layout & Print tab, and check “Show items with no data”. Alternatively, ensure the source data has no blanks in that field.

Can I connect a slicer to a regular range (not a pivot table)?

No, slicers are only designed for pivot tables, pivot charts, and Excel tables (via the Table Slicer feature). For regular ranges, you can use AutoFilter or create an Excel table (Ctrl+T) and then insert a slicer from the Table Design tab.

How do I remove a slicer?

Select the slicer and press Delete on your keyboard. Or right-click and choose Cut. This removes the slicer but does not affect the pivot table data.

Does a slicer work in Excel Online?

As of 2025, slicers are not supported for pivot tables in Excel for the web. However, you can use slicers with Excel tables in the web version. For pivot tables, you must use the desktop version of Excel.

Can I use a slicer to filter dates by month or year?

Yes, if your date field is grouped in the pivot table (e.g., by month, quarter, year), the slicer will show those groups. To group dates, right-click a date in the pivot table and choose Group. Then insert a slicer for the date field.

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.