Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 172
Default questions on advanced filter

I'm trying to use an advanced filter to eliminate don't care rows from
a large data set and the filter is not behaving as I expect.

My dataset has 22203 rows plus a header row, I', reduced the data to
just the one column that I need to filter on.

My criteria set set is 155 rows plus an identical header row, again
only one column.

In all of my tests I have selected all 22204 row for the source data,
and I'm filtering in place (ultimately I will want to filter to a
different destination.) Also all of my filter criteria are of the
form:

<*term1*
<*term2* and so on

For the criteria I first selected just the header row and the first
criteria item and the correct number of rows were filter out, all is
good so far.

Then I undo this filter and select for the criteria range the header
and the first two rows. This time the filter result contains more rows
than the first test, and the result should be a smaller set.

Then I undo the previous result and I select for the filter range the
header row and the first three rows and this time there are no rows
filtered from the source, I am left with the original set.

I must be doing something wrong but I can't see it. Any suggestions?

Thanks


John Keith

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 172
Default questions on advanced filter

I should have noted I'm using Excel 2007 and WinXP.


John Keith

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 172
Default questions on advanced filter

After some further thinking I've solved the problem.

I orginally had the criteria in a column (as below)

<*term1*
<*term2* and so on

but since each criteria was a "NOT" function the criteria needed to be
configured as a "OR", thus in a row (with each column containing the
header) like this:

column 1 column 2 column 3
col 1 header col 2 header column 3 header
<*term1* <*term2* <*term2* and so on



John Keith

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 464
Default questions on advanced filter

You shouldn't need wildcard Characters as one has to force an exact match
with criteria like ="<term1"


--
Regards
Dave Hawley
www.ozgrid.com
"John Keith" wrote in message
...
After some further thinking I've solved the problem.

I orginally had the criteria in a column (as below)

<*term1*
<*term2* and so on

but since each criteria was a "NOT" function the criteria needed to be
configured as a "OR", thus in a row (with each column containing the
header) like this:

column 1 column 2 column 3
col 1 header col 2 header column 3 header
<*term1* <*term2* <*term2* and so on



John Keith


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 172
Default questions on advanced filter

On Tue, 18 May 2010 11:09:19 +0800, "ozgrid.com"
wrote:

You shouldn't need wildcard Characters as one has to force an exact match
with criteria like ="<term1"


Dave,

I removed the wildcards and the results were clearly not correct.

I would need to try this on a much smaller dataset to get a handle on
what the filter is doing.

Thanks for the suggestion.



John Keith

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
Excel Bar Graph Questions - Advanced Ruby Charts and Charting in Excel 1 April 17th 09 09:40 AM
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 04:49 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"