Report Filter - Can I filter one drop down based on another?

micheller

New Member
Joined
Dec 8, 2011
Messages
1
I have a pivot table in Excel 2007 where I would like to have two report filters. If I select a value in the one drop down filter, I would like only those valid options to appear in the second drop down filter to appear.

In my example, The one field (COMPANY) in my table contains a list of 1000 companies. The second field (SUBSET) contains a flag (Yes/No) for a subset of 10 companies. I would like to be able to select Yes for the SUBSET filter and then ONLY show those 10 companies in the COMPANY [COLOR=blue !important][COLOR=blue !important][/COLOR][/COLOR]drop down filter.

Currently if I have both Company and Subset as my report filters, and I select YES, it WILL filter the total results for values but will show all 1000 Companies in the Company dropdown. This makes it very difficult for a user only interested in the 10 Subset's to find and select individual members in that subset.

Any help would be appreciated. Thanks!
 

Jerry Sullivan

MrExcel MVP
Joined
Mar 18, 2010
Messages
8,787
Hi and Welcome to the Board,

I'm pretty sure that you can't have the report filters of the PivotTable only show checkboxes for some of the items for a field.

One approach to the problem of long lists that you describe would be to create a range outside the PivotTable that lists the 10 or so PivotItems of interest. Then you could use VBA to filter your PivotTable to make only those items visible. I can post some code if you want to try that.

There are many ways to create the range that lists subset items of interest including having a second PivotTable that you filter by "Subset=Yes" to display your Company Items in RowFields.
 

Forum statistics

Threads
1,081,909
Messages
5,362,016
Members
400,667
Latest member
cryptomike

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top