Pivot Table Slicer

Article byWallstreetmojo Team
Edited byAshish Kumar Srivastav
Reviewed byDheeraj Vaidya, CFA, FRM

What Is A Pivot Table Slicer?

A Pivot Table Slicer is a tool in MS Excel that helps us filter the data further, and create a smaller PivotTable from the generated main PivotTable. The data can be presented based on various categories with the help of this slicer, as it offers a way to apply the PivotTable filters that dynamically change the view of the PivotTable data.

For example, we can create a Pivot Table Slicer after generating a Pivot Table using the “Insert → Slicer” for the required data, as shown below.

Pivot Table Slicer Example 1-4

Key Takeaways

  • Pivot Table Slicers allow us to get a mini-PivotTable of the generated main PivotTable.
  • It helps tofilter the data with a visual selection of the item, like name, region, or any sub-category.
  • In a PivotTable, when we generate a Slicer, by default, it will filter only that particular PivotTable. However, we can link the slicer to multiple PivotTables and display the impact of any changes.
  • Slicer and PivotTables depend on each other when linked using the “Report Connections”. If we filter one value in the PivotTable, it will also filter the same value in the linked slicer.

How To Create A Pivot Table Slicer In Excel?

Following are the steps to create a PivotTable Slicer in excelSlicer In ExcelSlicers are a handy feature in excel to use multiple auto filters in a data table. However, it involves many clicks to use a filter on every column to find a date. A slicer makes it easier as it can be done with a few clicks.read more: –

  1. Select the data, go to the “Insert” tab, and click the “PivotTable” option.

    Pivot Table Slicer Example 1-1

    The “PivotTable fields” dialog displays the fields to be added to the resultant report, which is the dataset for the PivotTable Slicer. In addition, the filter section has a column that acts as a table slicer.
    The columns field denotes the columns to be displayed. The rows section has the table field whose data should be shown for the selected column. Finally, the values field indicates the actual values to display, which the PivotTable is prepared for, e.g., SUM, PRODUCT, AVERAGE, etc.

    Pivot Table Slicer Example 1-2

  2. Now, a PivotTable is created.

    Pivot Table Slicer Example 1-3

  3. Once the PivotTable is ready, go to Insert → Filters tab → Slicer.

    Pivot Table Slicer Example 1-4

–>> If you want to learn Excel and VBA professionally, then ​Excel VBA All in One Courses Bundle​ (35+ hours) is the perfect solution. Whether you’re a beginner or an experienced user, this bundle covers it all – from Basic Excel to Advanced Excel, Macros, Power Query, and VBA.


We will consider some PivotTable Slicer Examples.

Download Template

This article must help understand Pivot Table Slicers with its formulas and examples. You can download the template here to use it instantly.

You can download this Pivot Table Slicer Excel template here – Pivot Table Slicer Excel template

Example #1 –  Display Fruit-wise Sales for Each Country

Pivot Table Slicer Example 1-5

Here, the rows are for each country, and the columns are for each of the fruits, as we need to display the fruit-wise sales figures for each country. Hence, as shown in the figure above, a slicer is created in the category field with two product values: “Fruit” and “Vegetables”. Since we must display the fruit records, we will select “Fruit” from the slicer.

Pivot Table Slicer Example 1-6

On the right side is the “PivotTable Fields” window. All those fields that must be considered while preparing the PivotTable are checked. E.g., quantity, product, country, and category. For example, “Apple/Banana/Mango” is the “Products”. Whereas “Fruit/Vegetable” is the “Category”.

The “Filters” field has the column selected as “Category”, as we have to choose between fruit or vegetable. The “Rows” section has a “Country”, and the “Columns” section has “Product”. Finally, the “Values” section has the “Sum of Quantity” selected as we have to display the total sales for each fruit across the countries.

The “Grand Total” column at the end displays the total sales figures for all the fruits for a given country. Likewise, the “Grand Total” row shows the total sales of a given fruit for all the countries.

Example 1-7

Example #2 – Monthly Fruit Sales for Each Country

Example 1-8

This extension is explained in Example #1 above. As shown in the above figure, it added the “Date” field to the “Fields” to add to the report. Likewise, the “Rows” sections add a “Date” field, as the sales figures for each month are displayed.

Example #3 – Multiple Slicers

Example 2-10

As illustrated in the above figure, multiple slicers are used: the product, country, and category. The “Fruit” is selected from the “Values” category. “Mango” and “Apple” are chosen from the “Product” options. “Australia,” “Canada,” and “France” are selected from “Country” values.

Consequently, the data displayed in the pivot tablePivot TableA Pivot Table is an Excel tool that allows you to extract data in a preferred format (dashboard/reports) from large data sets contained within a worksheet. It can summarize, sort, group, and reorganize data, as well as execute other complex calculations on it.read more on the left contains column data for fruit, “Apple,” and “Mango” values. The rows are only for the country options selected.

Important Things To Note

  • It is used to create various views from PivotTable in Excel based on the filters and visualize the dataset in the desired format.
  • For PivotTable data, there may be one or more table slicers. Ideally, more slicers in the PivotTable and more granular data visualization in Excel are possible.
  • A table slicer’s “Fields” or “Values” are multi-selectable.
  • Further, we can analyze the data filtered using a slicer.

Frequently Asked Questions (FAQs)

1. What is the purpose of a PivotTable Slicer?

A Pivot Table Slicer is used to create various views from PivotTable in Excel based on the filters and to visualize the dataset in the desired format.
Also, we can analyze the data filtered using a slicer.

2. How to format PivotTable slicers in Excel?

• Once the slicer is inserted, click on the Slicer to be formatted.
• Then the “Slicer” tab appears on the ribbon, as shown below.

Pivot Table Slicer - FAQ 2

3. How to connect two PivotTable Slicers in Excel?

To connect two PivotTable Slicers, we must first establish a connection between the PivotTables.
• Right-click on the slicer we want to connect, and click on the report connections.

Pivot Table Slicer - FAQ 3 - 1

The “Report Connections (Category)” window appears. We can see the list of PivotTables that are connected or not connected to this slicer.

FAQ 3 - 2

Check/tick the checkboxes of the PivotTable connections to connect the slicers.

This article is a guide to Pivot Table Slicer. Here we learn to insert single/multiple slicers in generated Pivot Table, examples, downloadable excel template. You may learn more about Excel from the following articles: –

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *