Use Slicer with a Pivot Table

By Denise Etheridge

Summary: Excel 2010 introduces Slicer. You can use Slicer with Pivot Tables to filter your data in a myriad of ways. Creating a Slicer is easy. After you create your Pivot Table, just click Slicer on the Pivot Table tools Options tab.

With Excel, you can easily organize your data into columns and rows that you can sort and filter. However, in some instances, in addition to sorting and filtering, you may want to summarize, aggregate, or subtotal your data. You may even want to change a row into a column or a column into a row. This is where Pivot Tables come in. You can use Pivot Tables to sort, filter, summarize, aggregate, subtotal, change columns into rows, and change rows into columns.

Excel 2010 introduces Slicer. You can use Slicer with Pivot Tables to filter your data in multiple ways. For example, if your data is organized by region and year, you can choose the region and/or year you want to view.

Creating a Slicer is easy. After you create your Pivot Table, just click Slicer on the Pivot Table tools Options tab. The Insert Slicers dialog box appears. In the Insert Slicers dialog box, select the fields you want to use to create a filter. Excel creates a Slicer box for you. Select the fields you want to see; Excel filters out the rest. You can useSlicer to slice and dice your data in a myriad of ways by using multiple Slicer boxes.

Create a Pivot Table

Worksheet with the range selected

Worksheet with the Range Selected

  1. Select the range of data you want to include in your Pivot Table. Include column labels.
  2. Activate the Insert tab.
  3. Click Pivot Table in the Tables group. The Create Pivot Table dialog box appears showing the range you selected in the Select A Table Or Range field.

Create PivotTable dialog box

The Create Pivot Table Dialog Box

  1. Click to choose whether you want to place your Pivot Table in a new worksheet or an existing worksheet. If you choose an existing worksheet, enter the location.
  2. Click OK. The Pivot Table Field List panel appears and Excel reserves spaces for the Pivot Table.

A PivotTable and the PivotTable Field List

A Pivot Table and the Pivot Table Field List

  1. Check the fields you want to include in your report. Excel places them in the Column Labels, Row Labels, and ∑ Values boxes. Click and drag to place fields in the proper boxes.
  • If you want to use a field to filter, place the field in the Report Filter box.
  • If you want the field to appear as a column, place the field in the Column Labels box.
  • If you want the field to appear as a row, place the field in the Row Labels box.
  • If you want to use the field to calculate, place the field in the ∑ Values box.

Excel creates your Pivot Table.

PivotTable

A Pivot Table

Add Slicer

The PivotTable tools activated

The Pivot Table Tools Activated

  1. Click anywhere within your Pivot Table. The Pivot Table tools become available.
  2. Activate the Options tab.
  3. Click Insert Slicer in the Sort & Filter group. The Insert Slicers dialog box appears.

The Insert Slicers dialog box

The Insert Slicers Dialog Box

  1. Click the fields you want to use to filter your data.
  2. Click OK. Slicer boxes for the fields you selected appear in your worksheet. You may need to drag the boxes to a new location.

Two Slicer boxes and a PivotTable

Two Slicer Boxes and a Pivot Table

Filter with Slicer

A PivotTable showing Year 1 only

A Pivot Table Showing Year 1 Only

  1. To restrict the Pivot Table to a particular field value, click the field name in the Slicer box.

A PivotTable showing the years 1 and 3

A Pivot Table Showing the Years 1 and 3

  1. To choose to see multiple fields, click the first field you want to see, hold down the Ctrl key and click the second field, hold down the Ctrl key and click the third field, and so on.
  2. To see all fields again, click the Clear Filter button Clear Filter Button. You can filter using multiple Slicer boxes.

PivotTabel showing year 1, year 2, region 1, and region 2

A Pivot Table Showing Year 1, Year 2, Region 1, and Region 2

You May Be Interested In
Capture a Screen Shot Add Artistic Effects Remove a Background Add a Custom Tab Use Slicer with Pivot Tables Add Sparklines

Legal Dot Privacy