Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It seems that Microsoft Outlook 2010 can only use the "AND" boolean when setting RULES. I find that very disturbing since even the lower end Windows Live Mail can use "OR". Am I missing something? I'm trying to recreate this WLM rule in Outlook:

Apply this rule after the message arrives
Where the From line contains 'casoclinico' 
    or Where the Subject line contains 'caso' and 'clínico' 
Move it to the Isbrae - Caso Clínico folder 
share|improve this question
Not sure if this helps, but A || B can be refactored as !(!A && !B), i.e. A or B == not(not A and not B). – Lèse majesté Mar 28 '12 at 2:31
@Lèsemajesté: clever, but unfortunately Outlook will not support that sort of reasoning either. The rules wizard is very limited in that regard. – kmote Mar 28 '12 at 2:43
@kmote: Yea, I don't use Outlook and figured it was probably a long shot, which is why I made it a comment. – Lèse majesté Mar 28 '12 at 2:49
I'm using Outlook 2010 and am seeing the exact opposite of what you describe. I can only add a query that uses the OR boolean operator on a Subject line match. I want to use an AND boolean operator but it will not allow it. My query looks like this: Apply this rule after the message arrives from foo@bar and with 'foo' or 'bar' or 'baz' in the subject assign it to the Foo Bar Baz category What I want is: Apply this rule after the message arrives from foo@bar and with 'foo' and 'bar' and 'baz' in the subject assign it to the Foo Bar Baz category – Christopher Oct 18 '13 at 0:17
Any improvement in new versions of Outlook? – FernandoSBS Oct 18 '13 at 16:30

Remarkably, the Outlook Rules Wizard does not support OR'ing in the way you've described. You can create two separate rules to get the same result, if you don't mind a proliferation of rules. The only other alternative is to create a custom rule in VBA script, but it is not a trivial task by any means -- I wouldn't recommend it. (If you are interested, you might peruse the links found in this question.)

share|improve this answer
EEk. At my work, there are so many lists and such that rule count is actually a problem. Outlook 2010 has a rather low rule number limit, so a reasonable filtering strategy would be nice. Is it obvious why there isn't something like an "Advanced" button where you can type a quasi sql statement? – Limited Atonement Oct 10 '12 at 20:37

To get an "OR" you need to look further down the Step 1 conditions list. E.g. " with specific words in the subject or body" You can then list out all the criteria words required.

share|improve this answer
This comment is great. Thanks for this. I think this should be the answer to the question. – Josh Miller Jan 7 at 16:07

Well in this case because you are using the Subject, you could create one rule with two conditions, the first using the 'if specific words in the Subject' and the second using the 'if specific words in the Subject or Body'. The only drawback is that the rule would process messages into the designated folder if 'caso' was in the subject but 'clinico' was only in the body.

I suppose you could always write some VBA code to handle the case if this is a one-off.

share|improve this answer
what about the above guy who says you can use OR/AND – FernandoSBS Nov 25 '13 at 14:58

For subject line you can use both AND / OR Operators. Just separate words by capital OR/AND with space before and after the operator.

share|improve this answer
is this for Outlook 2010? – FernandoSBS Nov 22 '13 at 9:09

You must log in to answer this question.

protected by Community Mar 5 '15 at 14:49

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .