New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Filtering using report filter fields

From: Excel 2008 for Mac: Pivot Tables for Data Analysis

Video: Filtering using report filter fields

Whenever you add a field to a Pivot Table's column area, or row area, you change the Pivot Table's structure by adding a layer of detail. But suppose you have a great Pivot Table layout and you want to filter the Pivot Table using the values in a field that doesn't appear in the arrangement. For example, you might want to filter monthly sales data by Quarter, but without having the Quarter field change the Pivot Table's layout. How do you filter the Pivot Table using the Quarter field? The answer is that you add the Quarter field to the Page Field area, and create the filters as normal. In this Pivot Table, I have the data arranged by Year, and then by Month.

Filtering using report filter fields

Whenever you add a field to a Pivot Table's column area, or row area, you change the Pivot Table's structure by adding a layer of detail. But suppose you have a great Pivot Table layout and you want to filter the Pivot Table using the values in a field that doesn't appear in the arrangement. For example, you might want to filter monthly sales data by Quarter, but without having the Quarter field change the Pivot Table's layout. How do you filter the Pivot Table using the Quarter field? The answer is that you add the Quarter field to the Page Field area, and create the filters as normal. In this Pivot Table, I have the data arranged by Year, and then by Month.

I have the Quarter field available to me, but I am not using it to change the structure the Pivot Table. If I want to filter the Pivot Table using the values in Quarter, I can do so by moving the Quarter field to the Page Fields area. I just added the Quarter field to the Pivot Tables arrangement, but I did not change the organization of the data in the body of the Pivot Table. Instead by adding the Quarter fields to the Page Fields area, I can now create filters using those values. For example, if I were to click the Filter arrow button here. I can select either to show 1, 2, 3, or 4, which is the number of a Quarter, or I can Show All.

I haven't created the filter yet, so Show All is selected. Let's say that I wanted to see the values just for the third quarter. To do that, I click in the number 3 and Excel filters the Pivot Table, so now all I see are month 7, 8, and 9, July, August, and September, which reflects quarter number three. To clear the filter, I click the Filter arrow, and select Show All. It's important to note that you can only select one Page Field at a time. There is no way to create a compound filter using a field in the Page Field area. One terrific aspect of using fields in the Page Field area is that you can create separate worksheets with Pivot Tables based on the values in that field.

For example, if I wanted to create four Pivot Tables, one for each of the four values in quarter: 1, 2, 3 and 4. To do that you go up to the PivotTable toolbar, click the PivotTable button, and click Show Report Filter Pages. In the Show Pages dialog box, you verify that the Quarter field is the one that you want, and that it is selected. And click OK. And Excel creates four new worksheets. Each one is a Pivot Table, and each one has a value from the Quarter field, and has a filter applied to reflect that value.

So for example, here on Sheet 1, we have Quarter 1, on Sheet 2, Quarter 2, Sheet 3, the same, and on Sheet 4, Quarter 4. If there is an existing worksheet with the same name as one of the field values that Excel uses to create the new worksheets, then Excel names the new sheet as the value and follows it with the parenthesis to and a close parenthesis. So you will never have a duplicate worksheet name, and also the operation will not fail. Instead, Excel will just rename the worksheet so that it can work.

Filtering Pivot Tables using the fields in the Page Field area is a powerful capability. Not only can you limit the data that appears in your Pivot Table without changing its structure, you can create separate worksheets for each value in the Report Filter field.

Show transcript

This video is part of

Image for Excel 2008 for Mac: Pivot Tables for Data Analysis
Excel 2008 for Mac: Pivot Tables for Data Analysis

26 video lessons · 5247 viewers

Curt Frye
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold

Are you sure you want to delete this note?

No

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.