MrExcel's Learn Excel #793 - Pivot Filter Hack

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Jan 15, 2009.
Normally, you can not use AutoFilter within a pivot table. Today, Dan from Philly shares an amazing hack that allows you to filter the results of the pivot table. Episode 793 shows you how.

This blog is the video podcast companion to the book, Learn Excel 97-2007 from MrExcel. Download a new two minute video every workday to learn one of the 377 tips from the book!
maxresdefault.jpg


Transcript of the video:
Hey. Welcome back to the MrExcel netcast. I’m Bill Jelen.
Well, we just finished up the spring seminar season.
I love doing the seminars because, lots of times, someone in the audience will show me a brand new trick, and I have one of those today.
I was out near Philadelphia and Rich raised his hand, said, okay, well, you have that pivot table now but I need to filter.
I need to see all the records where the PROFIT is > $50,000.
Well, we can't do that in Excel 2003.
In fact, if you would go to DATA, FILTER, and try AUTOFILTER, it's grayed out.
Well, also in that seminar was Dan.
Dan raised his hand and he said, wait a second, I found a great work around for this.
He says what you do is you come here to the cell right next to the heading rows -- so, in this case, that would be cell G4 -- start in that cell, hold down the SHIFT key, and use the arrow keys to select all the headings.
Now, because we started outside of the pivot table, when you go to DATA, FILTER, AUTOFILTER is available.
This is amazing.
Turn on the AUTOFILTER and, now, I can create any kind of filter I want.
So, for example, if I come to the PROFIT heading, I would ask for a CUSTOM and say I want to see where it is GREATER THAN 50000, click OK, and, amazingly, I filtered the results of the pivot table.
Let’s go back.
DATA, FILTER SHOW ALL.
You know, there is a way to show the top 10 customers or top 5 customers.
Double click on CUSTOMER, click on ADVANCED, and then turn ON the TOP 10 AUTOSHOW, and ask for the TOP 5, click OK, but the problem with that it shows us the top 5 customers and then the total for only those 5.
I always like to see the total for everyone.
So, what we can do instead is kind of look at this and say, alright, basically, everyone larger than 600,000 is in the top 5.
So, we'll clear that TOP 10 AUTOSHOW, turn that OFF, and instead come here to the REVENUE dropdown, create a CUSTOM filter, and say, I want to see where the REVENUE IS GREATER THAN 600000, click OK, and there is our top 5 with a grand total of everybody because, of course, the grand total is > the 600,000.
An amazing trick.
I want to send a thanks out to Dan in Philly for showing us how we can create filters within a pivot table.
The trick, again, is just to start right out here, right outside of the pivot table.
Now, by the way, when you would want to turn this off normally, if you're inside the pivot table, you can't go and uncheck AUTOFILTER but you have to come to that extra cell and use DATA, FILTER, AUTOFILTER to turn the AUTOFILTER off -- very, very cool trick.
Thanks for stopping by.
We'll see you next time for another netcast from MrExcel.
 

Forum statistics

Threads
1,223,909
Messages
6,175,314
Members
452,634
Latest member
cpostell

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top