OR
Checks whether at least one condition is true.
- Decide
- Practised in 1 lesson
Worked example
D2=OR(B2="Yes",C2>50)
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Order | Member | Total | Free |
| 2 | O-1 | No | 72 | |
| 3 | O-2 | Yes | 18 | |
| 4 | O-3 | No | 30 |
One true condition is enough.
How to write it
=OR(logical1, [logical2], …)
logical1- The first condition.
logical2, …- More conditions. One is enough.
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 lessonWatch 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.