Advanced Filters - using 'not contains' and 'is not' filters | Community
Skip to main content
Shane_Rourke2
Level 4
Apr 7, 2020 6:29 PM UTC
Solved

Advanced Filters - using 'not contains' and 'is not' filters

Hello, 

 

I have TWO filters that include 'not contains' and 'is not' and want to make sure neither value appears in my smart list. 

 

Most of the members won't have both but I want to make sure that if they have one, they are excluded. 

 

Should I use (4 and 5) instead of (4 or 5)? 

 

Attached is a screenshot. Filters 4 and 5 are the ones in question. 

 

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Apr 7, 2020 7:15 PM UTC

It's everyday Boolean logic. We use it implicitly in real life, too.

 

Let's say I'm going to the grocery store and someone says "get me some produce that's not a vegetable and not orange".

 

Section IS Produce AND ((Type IS NOT Vegetable) AND (Color IS NOT Orange))

 

6 replies

SanfordWhiteman
Level 10
Apr 7, 2020 6:38 PM UTC

Should I use (4 and 5) instead of (4 or 5)? 

Yes.

Translate
Shane_Rourke2
Level 4
Apr 7, 2020 7:06 PM UTC

Thanks, Sanford!

 

What's the reasoning? Is it because I am using negative filters? 

Translate
Shane Rourke
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Apr 7, 2020 7:15 PM UTC

It's everyday Boolean logic. We use it implicitly in real life, too.

 

Let's say I'm going to the grocery store and someone says "get me some produce that's not a vegetable and not orange".

 

Section IS Produce AND ((Type IS NOT Vegetable) AND (Color IS NOT Orange))

 

Translate