Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 160
Default Use filters from a different sheet

So, I have a workbook that consists of two sheet. On the first sheet I have a
bunch of raw data. I then applied an autofilter to all the columns. Next I
inserted several rows/columns of subtotals at the top.
On the second sheet Ihave differet charts that are fed from the subtotals on
the first sheet. This is great because the charts will change when I apply
filter criteria on the first sheet.

What I want is to be able to use the filters (from the fisrt sheet) on the
second sheet. I have tried creating another sheet that contains lists of the
unique values for each of the pertinent filter columns, assigning them names,
using drop-down lists and some code to apply the selected values as filters
against the first sheet. The problem here is that as I apply criteria to one
drop-down list, it does not subset the values in the rest of the drop-down
lists.... thus I can select mutually exclusive values from different
drop-downs. Also, there is no real hierarchy for filtering the different
drop-downs. (the drop-downs are things like: Regions, Areas, Cost Centers).
Thus, there is no real way for me to constantly rebuild the unique value
lists for each of the drop-downs.

Does anyone have a solution or idea on how to accomplish this? Any help is
greatly appreciated!
regards,
patrick
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Use filters from a different sheet

You could have a third sheet with a bunch of hairy array formulas that build
the unique lists (probably very slowly) and feed the data validation
dropdowns I assume you are using in the second sheet. Or you could build
these lists using code. In code You can build a unique list using a
collection or dictionary object.

the technique shown here uses a collection:

http://www.j-walk.com/ss/excel/tips/tip47.htm

--
Regards,
Tom Ogilvy


"Patrick" wrote:

So, I have a workbook that consists of two sheet. On the first sheet I have a
bunch of raw data. I then applied an autofilter to all the columns. Next I
inserted several rows/columns of subtotals at the top.
On the second sheet Ihave differet charts that are fed from the subtotals on
the first sheet. This is great because the charts will change when I apply
filter criteria on the first sheet.

What I want is to be able to use the filters (from the fisrt sheet) on the
second sheet. I have tried creating another sheet that contains lists of the
unique values for each of the pertinent filter columns, assigning them names,
using drop-down lists and some code to apply the selected values as filters
against the first sheet. The problem here is that as I apply criteria to one
drop-down list, it does not subset the values in the rest of the drop-down
lists.... thus I can select mutually exclusive values from different
drop-downs. Also, there is no real hierarchy for filtering the different
drop-downs. (the drop-downs are things like: Regions, Areas, Cost Centers).
Thus, there is no real way for me to constantly rebuild the unique value
lists for each of the drop-downs.

Does anyone have a solution or idea on how to accomplish this? Any help is
greatly appreciated!
regards,
patrick

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sheet Data Filters Steve Excel Discussion (Misc queries) 2 April 23rd 09 04:41 PM
Filters not working on Protected sheet Krishna Kumar L Excel Discussion (Misc queries) 1 February 9th 09 07:08 AM
Copy/paste with filters from one sheet to another? krakatoakt Excel Discussion (Misc queries) 4 December 19th 07 08:12 PM
Multiple Filters in one Sheet Hickeym Excel Worksheet Functions 1 May 26th 06 08:34 PM
Protecting a sheet with filters Libby Excel Programming 1 July 27th 04 04:15 PM


All times are GMT +1. The time now is 06:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"