Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Use array to do advanced filter?

I'm still working with the various county spreadsheets I've mentioned
here in other threads. I have another problem. One of the things I've
done for the users is to create the various spreadsheet with
buttons/macros to filter down to the 10 largest counties and the 21
largest, as this is something they need but, in the past, have just
broken the list up into 2 or 3 separate lists on the same spreadsheet,
which causes other problems when they'd like to see all the counties in
one straight list.
My problem is this. I can get the Top 10 and Top 21 lists by creating
"marker columns" in which the appropriate counties have markers to
identify them. Then create macros with buttons to apply, and remove,
the filters. However, every time I get the data for a new spreadsheet,
I have to manually mark the Top 10 and Top 21 counties because every
list contains only some of the counties, but not always the same ones.
This is because any county with all zero values in that spreadsheet's
area of interest are eliminated by SPSS before being downloaded to me.
So the list of counties varies by a few nearly every time.
I am wondering if there is a way to create an array of the 10 counties
and another for the 21. Then create a macro that allows only those 10,
or 21, to display temporarily. Like an in-place filter. Whether or not
it acutally uses a filter, I don't care. Then I wouldn't have to
manually mark those counties everytime I do a new spreadsheet. Of
course, it has to be just as easy to "remove" the filter and display
all the counties when that is needed.
I should add that the Top 10 and Top 21 are always in the spreadsheets.
It's only the very small counties that are sometimes not shown in the
list.
I'm pretty sure someone here has done something similar before. Any
ideas how to do this?
Thanks in advance for the help.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Use array to do advanced filter?

SPSS... Should I assume that the data is coming from Essbase. If so ask the
person creating the raw data for you to uncheck suppress missing rows /
Suppress Zero Rows and you will get all of the data, even where there is no
data. The way in which the data comes to you. Is it possible to pivot the
data. Then you can use the advanced options to show Top 10, Top 21... If this
is Essbase (which I am very familiar with) and you would like to take this
off line let me know and we can exchange e-mails and really get into it.

HTH

"davegb" wrote:

I'm still working with the various county spreadsheets I've mentioned
here in other threads. I have another problem. One of the things I've
done for the users is to create the various spreadsheet with
buttons/macros to filter down to the 10 largest counties and the 21
largest, as this is something they need but, in the past, have just
broken the list up into 2 or 3 separate lists on the same spreadsheet,
which causes other problems when they'd like to see all the counties in
one straight list.
My problem is this. I can get the Top 10 and Top 21 lists by creating
"marker columns" in which the appropriate counties have markers to
identify them. Then create macros with buttons to apply, and remove,
the filters. However, every time I get the data for a new spreadsheet,
I have to manually mark the Top 10 and Top 21 counties because every
list contains only some of the counties, but not always the same ones.
This is because any county with all zero values in that spreadsheet's
area of interest are eliminated by SPSS before being downloaded to me.
So the list of counties varies by a few nearly every time.
I am wondering if there is a way to create an array of the 10 counties
and another for the 21. Then create a macro that allows only those 10,
or 21, to display temporarily. Like an in-place filter. Whether or not
it acutally uses a filter, I don't care. Then I wouldn't have to
manually mark those counties everytime I do a new spreadsheet. Of
course, it has to be just as easy to "remove" the filter and display
all the counties when that is needed.
I should add that the Top 10 and Top 21 are always in the spreadsheets.
It's only the very small counties that are sometimes not shown in the
list.
I'm pretty sure someone here has done something similar before. Any
ideas how to do this?
Thanks in advance for the help.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Use array to do advanced filter?

Jim,
Thanks for your reply. I will have to check with the person sending me
the data, they may or may not want to change how they do it.
I'm interested in finding out how to use a Pivot Table to filter data.
I've used them a little, but always to change the data display, never
to "hide" some of the data. Can you point me in the right direction on
how they can be used that way?

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
Advanced Filter - filter rows < jaws4518 Excel Discussion (Misc queries) 3 November 1st 06 05:48 PM
Why won't advanced filter return filter results? jaws4518 Excel Worksheet Functions 5 September 12th 06 06:11 PM
How do I use advanced filter to filter for blank cells? Monique Excel Discussion (Misc queries) 2 March 21st 06 06:43 PM
"Criteria Range" in the "Data/Filter/Advanced Filter" to select Du TC Excel Worksheet Functions 1 May 12th 05 02:06 AM
advanced filter won't allow me to filter on bracketed text (-456.2 LucianoG Excel Discussion (Misc queries) 1 December 6th 04 08:38 PM


All times are GMT +1. The time now is 09:11 PM.

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

About Us

"It's about Microsoft Excel"