Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Advanced Filter By Cell Contents

Hi

I have a column that contains different terms seperated by Comma.
Similar to "Apple, Ball, Cat,Dog, and so on".

I have upto 15 unique values that could be there and different rows
have different number of values. Some rows have no values, some can
have 3 "Apple,Cat,Egg" and some can have 12.

Now I need to find out how many records have a combination of values.
I could have used filter if I I needed two but there may be times I
want to find the number of records that have 9 of the values. (For
example iof these 9 are present in a row that has 12 values, even that
row should be displayed. I am NOT looking for EXACT match.)

Can this be solved using some worksheet functions?

Thanks in Advance

Best
Prasad
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Advanced Filter By Cell Contents

On Jan 9, 2:33*pm, EE wrote:
Hi

I have a column that contains different terms seperated by Comma.
Similar to "Apple, Ball, Cat,Dog, and so on".

I have upto 15 unique values that could be there and different rows
have different number of values. Some rows have no values, some can
have 3 "Apple,Cat,Egg" and some can have 12.

Now I need to find out how many records have a combination of values.
I could have used filter if I I needed two but there may be times I
want to find the number of records that have 9 of the values. (For
example iof these 9 are present in a row that has 12 values, even that
row should be displayed. I am NOT looking for EXACT match.)

Can this be solved using some worksheet functions?

Thanks in Advance

Best
Prasad


Hi

I found a workaround (or maybe its the solution). What I did was this.

My Requirements was to have a multiple "AND" conditions. SO I added 15
columns to my data with the first row defined as ="=*Apple*",
="=*Ball*" and so on. The reason for this was that I am not looking
for an exact match of Apple but I am looking for the word Apple in a
string that contains other words too.

Then I created a formula under the column in the next row =MAX
(COUNTIF($CK2,DA$1)).......CK2 is the cell I am searching for the text
that is in DA1. I replicated this formula for 15 columns and 5000+
rows.

Now using Auto filter I can serach for the value of "1" or "0" in the
15 columns to get what I need.

DO let me know if there is a more elgant solution.

Thanks again and hope this helps someone.

Best
Prasas
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 by Cell Formatting CJ Excel Worksheet Functions 1 May 2nd 07 06:43 PM
How do I use advanced filter to filter for blank cells? Monique Excel Discussion (Misc queries) 2 March 21st 06 06:43 PM
advanced filter - can't match a long text cell simpsons_rule Excel Discussion (Misc queries) 7 May 14th 05 11:00 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 12: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"