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 
  • 2
    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). Mar 28 '12 at 2:31
  • 1
    @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. 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 Oct 18 '13 at 0:17
  • It won't help this answer, but the Rules Wizard has pages for IF all conditions DO actions EXCEPT any conditions. Your logic can be in the form A && B && !(C || D), which might be enough depending on your needs.
    – Carl Walsh
    Dec 16 '13 at 20:55

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.)

UPDATE: I should mention that it is possible to combine multiple source emails in a single rule ("or"-ing them together, so to speak). This doesn't answer the original question, but it is something I just recently realized is possible. To do it, simply find the "from" field in the Rule Description window, and click on the hyperlink, then manually edit the "From" address line at the bottom, adding as many addresses as you want, separated with a semi-colon.

  • 4
    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? Oct 10 '12 at 20:37
  • 1
    I have one rule for "subject includes" and another for "from XYZ". You can add multiple From XYZ/ZYX/CCY in one rule so it's a little less cluttered. I spend more time cleaning my rules then making them, but I share my rules with co-workers... Nov 6 '19 at 5:46
  • this is really a shame for a mailer agent not to be able to do that in 2021...
    – OznOg
    Jun 14 '21 at 13:47

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.

  • 19
    The OP is wanting to filter by sender or subject and this does not address that need.
    – Wayne
    Aug 8 '16 at 16:09

I am on outlook for mac 2018. There are two kinds of rules 1) server side, and 2) client side. The server side rules don't support OR but the client side rules do.

enter image description here enter image description here

  • 1
    Ah. Thanks for explaining why I could get OR to work at home and not at work. I didn't even stop to consider that Outlook for macOS is that different from Outlook for Windows. Glad I have the better support on my preferred system, but really Microsoft Office people? Why have OR support on one platform but not another! It seems like such a simple thing to support...
    – RTHarston
    Dec 3 '19 at 18:43

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.

  • 1
    what about the above guy who says you can use OR/AND 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.

  • 1
    is this for Outlook 2010? Nov 22 '13 at 9:09
  • 3
    Not sure about Outlook 2010, but I just tested this in Outlook 2016 and it didn't work.
    – Sam
    Mar 1 '17 at 0:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.