Share this content
Spreadsheets and graphs on a desk

Filtering Grand Total Amounts Within Excel Pivot Tables

May 30th 2017
Share this content

Anyone who has worked with pivot tables has likely found it easy to filter rows or columns within the pivot table, and as you’ll see in this article, you can indeed filter any element of a pivot table that you wish.

When you click the arrow within the Row Labels or Column Labels sections, a drop-down menu lets you choose what you’d like to see. At first glance, it may appear that you cannot filter the Grand Total column or row within a pivot table.

To build a pivot table in Excel you must start with a list, as shown in Figure 1. Make sure that you have a unique title at the top of each column, and that the title is comprised of a single row. As shown in Figure 2:

  1. Click any cell within the list.
  2. Activate the Insert menu.
  3. Choose the Pivot Table command.
  4. Click OK.
  5. When the new pivot table appears, click any text-based field to add it to the Rows section, such as Vendor.
  6. Drag any text-based field to the Columns section, such as Product.
  7. Click amount-based field to add it to the Values section.


Figure 1: Ideal data for a pivot table is in a list form such as this.


Figure 2: Transforming a list into a pivot table report only requires a handful of mouse clicks.

You’re now ready to see how to filter data within the pivot table. For instance, let’s say that we wish to only see sales of apples and oranges, as shown in Figure 3.

  1. Click the arrow in the Column Labels field.
  2. Uncheck the checkboxes for all items except Apples and Oranges.
  3. Click OK.
  4. The pivot table only displays columns for Apples and Oranges.


Figure 3: The pivot table allows you to filter for specific columns.

You can filter rows in a similar fashion, as shown in Figure 4:

  1. Click the arrow in the Row Labels field.
  2. Type the word Fruit in the Search Box (or manually filter in Excel 2007 and earlier).
  3. Click OK.
  4. The pivot table now only has rows for vendors that have the word Fruit in their name.


Figure 4: The pivot table allows you to filter for specific columns.

As shown in Figure 5, we can reset the pivot table to show all the data again:

  1. Activate the Analyze menu in Excel 2013 or later, or the Options menu in Excel 2010 and earlier. This menu is only available when your cursor is within the pivot table.
  2. Choose the Clear command.
  3. Choose Clear Filters.
  4. The pivot table now shows all the data.


Figure 5: Reset the pivot table to view all the data again.

Now that you’re grounded on filtering within a pivot table, let’s now filter the grand totals, as shown in Figure 6:

  1. Assuming you wish to filter the Grand Total column, click the arrow in the Row Labels field.
  2. Choose Value Filters.
  3. Select an option from the submenu, such as Greater Than.
  4. Enter an amount, such as 300000.
  5. Click OK.
  6. The pivot table is filtered to show only grand total amounts greater than 300,000.


Figure 6: You can also filter the pivot table by the Grand Total column.

Filtering the Grand Total row works in the same fashion, except you’ll use the Value Filters command from the menu in the Column Labels field.

Replies (1)

Please login or register to join the discussion.

By Chris Hunter
Jun 7th 2017 13:42 EDT

David - another excellent article. You're one of my favorites for putting Excel to use in helping me help my clients get actionable insights from their data.

Chris Hunter
Cornerstone Business Solutions
Farmington, NM

Thanks (0)