Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Is it possible to specify a Search Folder in Outlook 2007 that will use an OR rule ("any") instead of an AND rule ("and")?

In particular, I have a search folder named A and another named B; I want a search folder named AB that will have all the messages that are in either A or B, or both.

When I specify AB with the rules "In Folder is A exactly" and "In Folder is B exactly", I get an empty folder, possibly because at the moment no messages are in both.

Is the workaround to rename "A" to "A workaround" and "B" to "B workaround" and then specify "AB" with the rule "In Folder contains workaround"? Urggh.

share|improve this question
up vote 4 down vote accepted

AFAIK, the "In Folder" attribute is not talking about search folders, but actual inbox/pst folders... A search folder is not considered a folder in this regard (it's just a set of search conditions).

So, there are two solutions:

  1. If you meant that FolderA and FolderB are inbox folders, then you simply select those folders in the "Mail from these folders will be included..." browse dialog.

  2. If FolderA and FolderB actually are search folders, then you'd have to analyze the criteria for these folders and combine them. If this is not possible because they are keying on different fields (different fields are considered AND), then you might try this outlook-tip , which references an MS-KB activating QueryBuilder (which allows complex and/or).

share|improve this answer
cool, thanks a lot for the hint on outlook QueryBuilder! – MostlyHarmless Oct 2 '12 at 9:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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