Solved

excel filter multiples does not contain

Posted on 2013-12-11
7
509 Views
Last Modified: 2014-01-02
Is there any way in excel to acheive the following, I am trying to filter a huge record set based on "does not contain" type text filters. However I have about 15 does not contain filters, yet when constructing your filter criteria it only seems to give you one "and/or" option. Any workaround?
0
Comment
Question by:pma111
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 35

Assisted Solution

by:[ fanpages ]
[ fanpages ] earned 250 total points
ID: 39711027
Hi,

You could use Advanced Criteria Filtering:

"Filter by using advanced criteria"
[ http://office.microsoft.com/en-gb/excel-help/filter-by-using-advanced-criteria-HP005200178.aspx ]

Here you specify the fifteen items in row 2 to row 16 above the data to be filtered.  The first row must contain the same column heading of the data to be filtered.

You would then opt to use the "Advanced Filter" function, set the "Filter the list, in-place" Action, set the "List range" to be the original set of data (including the column heading), & the "Criteria range" to be the first sixteen rows in the same column as the data to be filtered.

BFN,

fp.
0
 
LVL 3

Author Comment

by:pma111
ID: 39711041
Does the above not "include" all results based on your range, as opposed to cutting them out the results?
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 39711050
It depends what you enter into the filter rows:

<>*text1*

would filter out items that contain "text1" somewhere in them, for example
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 3

Author Comment

by:pma111
ID: 39711067
could anyone upload an example please as I am struggling with what you are recommending.
0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 250 total points
ID: 39711112
If you want to AND multiple conditions (as you do here), you need to repeat the column header, so your criteria range would look like:

Field1          Field1         Field1
<>*test1*   <>*text2*  <>*text3*

Here's a file showing two ways - the one described, and a criteria formula approach.
Advanced-filter-exclusions.xlsx
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39711217
You can also use one helper column and use a formula like

=or(NOT(ISERR(FIND("abc",A1))),NOT(ISERR(FIND("def",B1))),NOT(ISERR(FIND("ghi",C1))),....)

which covers all conditions and returns a true or false. You can then filter on this column.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39711221
Already covered by rorya so ignore mine.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you how to use shortcut menus in the Access run-time environment.
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now