Can I use "AND" in Outlook filters?
I'm afraid the answer is no.
You can't change the logic from the Rules Wizard itself. It's preset for "usual" requests. I tested a few different wizard options for you though.
If you key in the whole phrase (instead of just one word at a time) as one submission (e.g. "How do you get there") it will filter any messages that comes through with all the words in that order. That helps (maybe!) but if you get a message that has, "how do you ALWAYS get there" it won't activate the filter so it might not meet your needs. If you already know the difference between the AND and OR controller then you probably already know that this won't help you ;)
As you've already discovered, if you drop each word in separately, it will use the "or" controller and you'll filter out a lot more messages than you want.
You CAN import custom scripts for your Outlook rules but you have to use VBScript and you have to craft the rules in VBScript for applications, not just the editor. It's proprietary to Microsoft Corp.
There is an expanding knowledge base article from Microsoft
It's got examples of code you can use but you have to draft it from VBScript for applications as mentioned above.
You might consider a third party filter.
Source
(This question has been asked many times and the conclusion is always the same.)
I found a way around this. If you use the rule "with specific words in the subject" and then also use the rule "with specific words in the subject or body" then you can link two phrases together that are both in the subject with the "and" operator.
So, ehm, this is kind of ridiculous but it should work.
- Create a new temporary category
- Create a first rule that filters based on the first phrase and let it assign the temporary category (rule:
assign it to the category category
) - Create a second rule that filters on the temporary category (rule:
assigned to the category category
) and on the next phrase and does the action you want to do - Create a third rule that removes the temporary category (rule:
clear message's categories
) from all mail
Make sure the order is correct though, the first rule should execute first so put in top etc.
If you need more than 2 AND
phrase matches you'll need another temporary category.