ProofDrill

OR

Checks whether at least one condition is true.

Worked example

Which orders ship free: members, or over 50?

D2=OR(B2="Yes",C2>50)

RowABCD
1OrderMemberTotalFree
2O-1No72
3O-2Yes18
4O-3No30

One true condition is enough.

How to write it

=OR(logical1, [logical2], …)

logical1
The first condition.
logical2, …
More conditions. One is enough.
Part of Pro

Try OR yourself

The tasks for this function are part of Pro, which isn’t on sale yet. The lesson and its worked example are open to everyone.

See the lesson

Watch out for

  • Repeat the cell each time: OR(B2="A",B2="B"), not OR(B2="A","B").
  • To count or add rows with “or”, add two COUNTIF or SUMIF results.

Practise it