Blog/ Outlook how-tos

How to Build an Outlook Rule With Multiple Conditions

Nafiul HasanNafiul Hasan· 9 min read
Diagram of an Outlook rule combining multiple sender and subject conditions into a single filing action

The short answer

Outlook rules join separate conditions with AND, so every condition must match. For OR, put several values in one condition's list, such as multiple senders or subject words. For OR across different condition types, such as sender A or subject B, build two rules with the same action. Exceptions subtract cases.

Outlook rule conditions join with AND. Put several senders or words in one condition for OR, use two rules for OR across types, and add exceptions.

On this page
  1. 01How do I build a rule with several senders and a subject condition?
  2. 02How do I use OR in an Outlook rule?
  3. 03How do I make an Outlook rule match several words in the subject?
  4. 04How do Outlook rule exceptions work?
  5. 05Platform differences: where the multi-value list lives
  6. 06What to do when the rule still doesn't match
  7. 07Why do some Outlook rules not run on my phone?
  8. 08A faster way than maintaining a growing condition list

Outlook joins the conditions in one rule with AND: every condition has to be true for the rule to fire. Add "from sender A" and "from sender B" as two separate conditions and the rule needs both senders on one message, which never happens. The fix is to put several values inside one condition, where Outlook treats the list as any-of.

The rule editor doesn't warn you about this. You can save a two-sender rule, run it, and get no error and no matches.

WhereLogicExample
Between conditionsAND: all must matchFrom a vendor AND subject contains invoice
Inside one condition's listOR: any one matchesFrom [email protected], [email protected] or [email protected]
ExceptionsSubtract: any match cancels the ruleUnless subject contains overdue
OR across different condition typesNot possible in one rule: build two rulesFrom sender A, or subject contains invoice

How do I build a rule with several senders and a subject condition?#

This example uses one condition type with several values (sender) and a second type that genuinely needs to AND against it (subject). The steps are the same however many senders you add.

  1. 1

    Open the rule editor

    In classic Outlook, go to File > Manage Rules & Alerts > New Rule. In new Outlook and Outlook on the web, go to Settings > Mail > Rules > Add new rule.

  2. 2

    Add the sender condition once, with every sender inside it

    Choose the From condition, then add every sender you want to catch to that one condition's list. Do not add a second From condition per sender, which is what creates the impossible AND.

  3. 3

    Add a second, different condition if you need one

    A subject condition alongside the sender condition is fine. Different condition types AND together correctly, because one message can have both a matching sender and a matching subject.

  4. 4

    Add exceptions

    In new Outlook choose Add an exception, in Outlook on the web use the Add exception menu, and in classic Outlook it is its own wizard step. Pick the action, then save.

  5. 5

    Test it on existing mail before it runs unattended

    In new Outlook, select the run icon next to the rule under Settings > Mail > Rules. In classic Outlook use File > Manage Rules & Alerts > Run Rules Now. Outlook on the web has no run-now option in Microsoft's current help, so test with a fresh message instead.

One rule, all three pieces at once
Condition 1 (OR inside it)From: [email protected], [email protected], [email protected]
Condition 2 (AND with the above)Subject contains: invoice
Exception (subtracts a match)Subject contains: overdue
ActionMove to "Vendor Invoices" and mark as read

Start from a blank rule and name it for what it catches

Templates pre-fill a single condition you then have to undo. And "Vendor invoices" beats "Rule 14" once you have more than five rules and need to find the right one six months later.

How do I use OR in an Outlook rule?#

Inside one condition, add more values: several senders, several subject words, several domains. Outlook matches the condition when any one of them is present. That covers most OR needs.

The case it does not cover is OR across different condition types, such as "from sender A, or subject contains invoice". One rule can't express that, because the From and Subject conditions are ANDed. Build two rules with the same action instead: rule one catches the sender, rule two catches the subject, and both move the message to the same folder.

Keep an eye on the Stop processing more rules checkbox. In Outlook on the web it is on by default, so the first matching rule is the only one that applies. With identical actions that is harmless, but if later rules should also touch the message, turn it off on the first one. When two rules both match explains the order logic.

How do I make an Outlook rule match several words in the subject?#

In classic Outlook, choose the condition "with specific words in the subject", click the underlined "specific words" link and add the words one at a time. Each entry is an alternative, so a message matching any one of them qualifies. New Outlook and Outlook on the web work the same way: add each word as its own entry in the condition.

If you need an exact phrase, such as "purchase order", enter the whole phrase as a single entry. Quotation marks are not reliably treated as phrase markers across Outlook versions, so test the rule on a sample message before relying on it.

Needing two words to both appear is the harder case. A single list can't express AND, so people use a two-step workaround: one rule assigns a category when the first word is found, and a second rule checks for that category plus the second word. If you also want to look in the body, switch the condition to "subject or body".

How do Outlook rule exceptions work?#

An exception removes messages that would otherwise match. If a message meets every condition but also meets any one exception, the rule skips it, and Outlook doesn't say why. Use an exception when a rule is right most of the time but needs to skip a specific case, such as an urgent-flagged message that shouldn't be auto-filed.

Exceptions are also the safer way to write negatives. A condition like "subject does not contain overdue" behaves oddly when you stack several negated values, and community reports describe stacked "does not contain" entries matching nearly everything. Write the positive condition you want, then add the unwanted words as an exception.

Exception instead of a negative condition
ConditionFrom: [email protected]
ExceptionSubject contains: overdue, final notice
ActionMove to "Vendor Invoices"

Platform differences: where the multi-value list lives#

The AND and OR behaviour is the same wherever Outlook runs rules. What differs is where each editor puts the multi-value list and the exceptions.

PlatformMulti-sender conditionWhere exceptions liveNotes
Classic Outlook (Windows)Click the underlined "people or public group" link and add senders in one dialogDedicated wizard stepSome conditions and actions are client-only and run only while classic Outlook is open
New Outlook (Windows)Add the From condition and enter several addresses in the same fieldAdd an exception, inside the same ruleHas a run icon for applying a rule to existing mail
Outlook on the webSettings > Mail > Rules; the condition field accepts several sendersAdd exception menuRules run on the server
Outlook mobile (iOS/Android)Not available: you can't create or edit rulesNot availableServer-side rules still run before mail reaches your phone

What to do when the rule still doesn't match#

If a rule with several senders in one condition still misses messages, the usual cause is another condition you forgot is ANDing against it: a folder scope, a size filter, or a leftover importance check from a template.

Open the rule and read every condition as a sentence: "from A or B, AND subject contains X, AND received in the last 7 days." Any clause that isn't true for the message you expected is the one to remove or loosen. Check exceptions first if a rule that used to work suddenly skips a message.

Modular blocks representing individual rule conditions that combine into one filing rule
Each condition is a block that must be true together; values inside one block only need one to be true.

Rules can fill up

Inbox rules in Exchange Online share a 256 KB total for all enabled rules, and each rule's size depends on its name length and how many conditions it has. Merging near-duplicate rules into one multi-value rule helps; the quota fix covers the symptoms.

Why do some Outlook rules not run on my phone?#

The Outlook mobile apps can't create or edit rules, but a normal server-side rule runs in the mailbox, so mail arrives on your phone already filed. A rule that includes a client-only action runs only while classic Outlook is open on that PC. On POP and IMAP accounts, rules also run only in the desktop client where you created them. See why some rules do not run on mobile.

A faster way than maintaining a growing condition list#

One rule with a ten-sender list and an exception beats ten single-sender rules, but you still have to predict every sender up front and edit the list when a new vendor shows up.

AI Emaily's rules match on sender, subject, keywords, attachments, or an AI-understood concept such as "investor update", and you can describe a rule in plain English instead of building it by hand. Manual rules still suit a fixed set of senders. We build AI Emaily; the 7-day free trial connects to your existing Outlook mailbox through Microsoft Graph so you can try it on your own mail.

Frequently asked

Nafiul Hasan

Written by

Nafiul Hasan

Nafiul Hasan is an entrepreneur and AI automation system builder with 10+ years of experience turning messy, manual workflows into reliable automated systems. He designs and ships AI enterprise solutions end-to-end — the agent logic, the data plumbing, and the product people actually use — and founded AI Emaily to give busy professionals their attention back. He writes here from the builder's seat: what works, what breaks, and how to put AI to work without giving up control.

EntrepreneurAI Automation System BuilderAI EnthusiastBuilds AI Enterprise Solutions10+ years experience
More from Nafiul
Ready when you are

Stop maintaining a sender list by hand

Describe a rule in plain English and let AI Emaily build it. Start a 7-day free trial.

  • 7-day free trial
  • Cancel anytime
  • Every provider