Solved

excel filter multiples does not contain

Posted on 2013-12-11
7
433 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

My experience with Windows 10 over a one year period and suggestions for smooth operation
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

707 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

17 Experts available now in Live!

Get 1:1 Help Now