Logiceasy
OR()
Returns TRUE if any of the provided arguments are logically true.
Syntax
fx
=OR(logical_expression1, [logical_expression2, ...])
Arguments
Try it
F2
→
TRUE
Sample data · sales.csv
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Company | Region | Quarter | Revenue |
| 2 | Acme Co | West | Q1 | 18,400 |
| 3 | Acme Co | West | Q2 | 22,100 |
| 4 | Acme Co | West | Q3 | 31,700 |
| 5 | Acme Co | West | Q4 | 48,200 |
| 6 | Globex | East | Q1 | 14,200 |
| 7 | Globex | East | Q2 | 19,800 |
| 8 | Globex | East | Q3 | 23,400 |
Common pitfalls
- Like
AND, OR returns a single boolean even when given ranges. For row-by-row OR inside array contexts use+instead. - Empty cells coerce to FALSE; numeric zero is FALSE; any other number is TRUE.
- If you only need to test if ANY cell in a range matches a value,
COUNTIF(range, value) > 0is often clearer thanOR.
Related formulas
Used by