From here:
Outlook has a hidden feature, QueryBuilder, which can be very useful for those of you who need to define complex criteria for Search Folders or Advanced Find.
To add the QueryBuilder key to the registry, follow these steps:
- Quit Outlook.
- Click Start, and then click Run.
- In the Open box, type regedit,and then click OK.
- Locate the following key in the registry based on your installed version:HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook
- On the Edit menu, click New, click Key, and then type QueryBuilder for the key name.
- Quit Registry Editor.
- Restart Outlook.
Then choose the Filed first, click Add to List button. Then choose AND/ OR in the Logical Group.