TechBuzzPro

Pivot Table Slicer Options: How to Use Them

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Pivot table slicers are visual, clickable filters that let you quickly narrow down your pivot table data without digging through drop-down menus. This guide shows you how to add, connect, format, and manage slicers so you can filter multiple pivot tables at once and make your reports more interactive.

What You'll Need

  • A workbook with at least one pivot table (Excel 2010 or later, or Google Sheets).
  • The field you want to filter by must be in the pivot table's field list (e.g., Region, Product, Date).
  • Basic familiarity with creating a pivot table.

Step-by-Step

  1. Select your pivot table. Click anywhere inside the pivot table. This activates the PivotTable Tools tabs in the ribbon (Analyze/Options and Design).
  2. Insert a slicer. Go to the Analyze tab (or Options in older versions) and click Insert Slicer. In the dialog box, check the box next to the field(s) you want to filter by (e.g., "Region") and click OK. A slicer panel appears with buttons for each unique value in that field.
  3. Filter with the slicer. Click any button to filter the pivot table to that value. To select multiple values, hold Ctrl while clicking (or use the multi-select icon in newer versions). To clear the filter, click the funnel icon with a red slash in the top-right of the slicer.
  4. Connect the slicer to other pivot tables. If you want the same slicer to control multiple pivot tables (e.g., on a dashboard), right-click the slicer and choose Report Connections (or PivotTable Connections). Check the box for each pivot table you want it to control, then click OK. Now clicking a button filters all connected tables simultaneously.
  5. Move and resize the slicer. Click and drag the slicer's border to move it. Drag the corner handles to resize. To keep it aligned with your report, hold Alt while dragging to snap it to the grid.
  6. Change slicer settings. Right-click the slicer and choose Slicer Settings. Here you can change the header caption, enable/disable the "Display header" option, and set the sorting order (ascending, descending, or data source order).
  7. Format the slicer. Select the slicer, then go to the Slicer tab (or right-click and choose Size and Properties). You can change the button size, column count, and style from the gallery. For example, set Columns to 3 to display the buttons in three columns, saving vertical space.
  8. Use slicer buttons in formulas (advanced). You can reference the selected values in formulas using the GETPIVOTDATA function or by using the slicer's selected items in a formula like =IF(ISNUMBER(SEARCH("East", slicer_selection)), ...). This is handy for dynamic titles or conditional formatting.
  9. Delete a slicer. Select the slicer and press Delete on your keyboard. Or right-click and choose Remove. Deleting a slicer does not delete the pivot table or any data.
  10. In Google Sheets (alternative). Click on the pivot table, then in the Data menu choose Pivot table editor. In the editor, under "Add" next to "Filters," select a field. Then click the filter dropdown in the pivot table and choose "Filter by condition" or "Filter by values". While not a true slicer, you can use the "Slicer" option from the Data menu > Add a slicer to get a similar visual filter.

Common Mistakes

  • Not connecting slicers to all relevant pivot tables. If you have multiple pivot tables and forget to connect the slicer, filtering only affects one table, leading to inconsistent reports.
  • Using slicers on fields not in the pivot table. A slicer only works if the field is part of the pivot table's source data and is either in the row/column labels or values. If the field is not in the pivot table, the slicer won't appear in the Insert Slicer dialog.
  • Clicking a slicer button that shows no data. If a slicer button is grayed out or shows no data, it's because the current pivot table state already excludes that value (e.g., another filter). This is normal, but users often think it's broken.
  • Forgetting to clear filters. Leaving a slicer active can confuse viewers. Always clear the slicer after reviewing a specific subset.
  • Using slicers with calculated fields incorrectly. Slicers filter the underlying data, but calculated fields are computed after filtering. This can produce unexpected results if you expect the slicer to affect the calculation itself.

Tips

  • Use multiple columns in the slicer. If you have many values (e.g., 50 products), set the slicer to 2 or 3 columns to reduce vertical height and make it easier to scan.
  • Color-code slicers. Use the slicer styles to match your company branding or to differentiate between slicers for different fields.
  • Keep slicers on a separate sheet. For a clean dashboard, place slicers on a dedicated sheet or in a consistent area, and use the "Report Connections" to control multiple pivot tables.
  • Use slicers with timeline for dates. For date fields, consider using a Timeline (Insert > Timeline) instead of a slicer, as it provides a more intuitive date range filter.
  • Sort slicer buttons alphabetically. In Slicer Settings, choose "Ascending (A to Z)" to make it easier to find values.
  • Hide the slicer header. If the field name is obvious, uncheck "Display header" to save space.

Troubleshooting

  • Slicer is grayed out. This means the slicer is not connected to any pivot table. Right-click the slicer, choose Report Connections, and check the pivot table(s) you want it to control.
  • Insert Slicer button is grayed out. You must have a pivot table selected. Click any cell inside the pivot table first, then go to the Analyze tab.
  • Slicer does not filter all pivot tables. Check the Report Connections for each slicer. Also, ensure the pivot tables share the same data source. If they use different ranges, the slicer cannot control them simultaneously.
  • Slicer buttons are too small or too large. Right-click the slicer, choose Size and Properties, and adjust the height and width of the buttons. Also set the number of columns to change the layout.
  • Slicer disappears when you close the workbook. Slicers are saved with the workbook, but if you have "Save as" as a different file type (e.g., .xls), slicers are not supported. Save as .xlsx to retain slicers.
  • Cannot find the slicer option in Google Sheets. Google Sheets has a built-in slicer feature (Data > Add a slicer) but it works slightly differently. Ensure you have the latest version of Sheets.

Frequently Asked Questions

  1. Can I use a slicer to filter a regular table (not a pivot table)? Yes, in Excel you can insert a slicer for a table by selecting the table and going to Table Tools > Insert Slicer. The same principles apply.
  2. How do I make a slicer filter multiple pivot tables at once? Right-click the slicer, choose Report Connections, and check all the pivot tables you want it to control. They must all be based on the same data source.
  3. Can I use a slicer in Google Sheets? Yes, Google Sheets has a slicer feature under Data > Add a slicer. It works similarly but with slightly different options (e.g., no button size control).
  4. Why does my slicer show blank buttons? Blank buttons appear when there are empty cells in the source data for that field. You can hide them by right-clicking the slicer, choosing Slicer Settings, and unchecking "Show items with no data" (or similar).
  5. Can I use a slicer to filter by date ranges? For date fields, a Timeline is better. But you can also use a slicer on a date field and multi-select specific dates. For ranges, create a calculated field (e.g., Year) and use that in the slicer.
  6. How do I remove a slicer but keep the pivot table? Simply select the slicer and press Delete. The pivot table remains, but any filters applied by the slicer are removed.