Multiple criteria in filters

3,319 views
Skip to first unread message

John MacPherson

unread,
Oct 28, 2014, 6:26:25 PM10/28/14
to gmail...@googlegroups.com
Hi All,

I have a filter set up which moves certain notices I receive a lot of into a label and skips the inbox.

I've then added a criteria in "doesn't have" to leave those in the inbox but I cannot find out how to use multiple criteria.

So basically

Doesn't have

"Condition1" or "Condition2"

Any help is a appreciated.

Kenneth Ayers

unread,
Oct 28, 2014, 10:06:59 PM10/28/14
to gmail...@googlegroups.com
John,

I'm probably misunderstanding something but I'm not sure why you need to use "doesn't have" at all.

You say you have a filter setup to label certain emails and to have them skip the inbox but then you want others to remain in the inbox?  The others don't need a filter then.  If they don't meet the labeling criteria then they'll remain in the inbox by default.

Kenneth


--
You received this message because you are subscribed to the Google Groups "Gmail-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gmail-users...@googlegroups.com.
To post to this group, send email to gmail...@googlegroups.com.
Visit this group at http://groups.google.com/group/gmail-users.
For more options, visit https://groups.google.com/d/optout.

Andy

unread,
Oct 28, 2014, 11:30:09 PM10/28/14
to [Gmail-Users]
On Tue, Oct 28, 2014 at 6:26 PM, John MacPherson <jrmacp...@gmail.com> wrote:

"Condition1" or "Condition2"

​If you want something to happen when either of two conditions is satisfied, the syntax (in all Gmail searches and filters) is to separate them with a capitalized "OR":

Condition1 OR Condition2

Use quotes when quoting the actual text when it contains spaces (or certain other characters).  Use parentheses to group conditions together.

To summarize:

Condition1 Condition2

is true only when BOTH conditions are true (logical AND)

Condition1 OR Condition2

is true when either condition is true (logical OR).

The alternate version of the logical OR operation uses curly braces:

{Condition1 Condition2 Condition3}

which is equivalent to writing:

Condition1 OR Condition2 OR Condition3

The "OR" must always be capitalized.

Regards,
Andy


John MacPherson

unread,
Oct 29, 2014, 3:56:57 PM10/29/14
to gmail...@googlegroups.com
Thanks Andy, 

That worked a dream and exactly what I needed.

Kenneth, 

Sorry probably my poor wording.. I needed to move 'all emails except ......'

Thanks again!
Reply all
Reply to author
Forward
0 new messages