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

Hi,

I'm trying to do an advanced filter with many criterias
e.g.
1 "begins with A"
2 "does not end with B"
3 "does not contains c"

The problem is that I can only one of each at a time
e.g. I wrote:
"Name of column"
="=A*"


So the advanced filter shows me all data beginning with A in this column,
I've tried writting all 3 criterias in different cells like:

"Name of column"
="=A*"
="<*b"
="<*c*"

but It doesn't work.
I want to know how I could write an "and" so that I can use all 3 criterias
at the same time with excel's advanced filter or, if it's more optimal, how
to write a Vba code that will give a similar result?

Thank you

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default advanced filter

see my response to your posting in the Worksheet Functions group

"raph_baril" wrote:

Hi,

I'm trying to do an advanced filter with many criterias
e.g.
1 "begins with A"
2 "does not end with B"
3 "does not contains c"

The problem is that I can only one of each at a time
e.g. I wrote:
"Name of column"
="=A*"


So the advanced filter shows me all data beginning with A in this column,
I've tried writting all 3 criterias in different cells like:

"Name of column"
="=A*"
="<*b"
="<*c*"

but It doesn't work.
I want to know how I could write an "and" so that I can use all 3 criterias
at the same time with excel's advanced filter or, if it's more optimal, how
to write a Vba code that will give a similar result?

Thank you

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default advanced filter

giving credit to Walt the answer to my questions is

"Name of column" "Name of column" "Name of column"
="=A*" ="<*b" ="<*c*"


We need to think of columns as
"and" and rows as "or" criteria.

Thank you everybody!!


"raph_baril" wrote:

Hi,

I'm trying to do an advanced filter with many criterias
e.g.
1 "begins with A"
2 "does not end with B"
3 "does not contains c"

The problem is that I can only one of each at a time
e.g. I wrote:
"Name of column"
="=A*"


So the advanced filter shows me all data beginning with A in this column,
I've tried writting all 3 criterias in different cells like:

"Name of column"
="=A*"
="<*b"
="<*c*"

but It doesn't work.
I want to know how I could write an "and" so that I can use all 3 criterias
at the same time with excel's advanced filter or, if it's more optimal, how
to write a Vba code that will give a similar result?

Thank you

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 03:41 AM.

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"