SheetRocks
Documentation/Formulas/OR

OR

Returns true if any argument evaluates to true

Syntax

OR(logical1, [logical_n])

Arguments

Argument Description Required
logical1 The first logical value or expression to evaluate Required
logical_n Additional logical values or expressions to evaluate Optional

Examples

Check if any condition is true

=OR(A1>20, A2>20)
Result ⇒ true
A
1 15
2 25

Validate age ranges

=OR(A1<18, A1>65)
Result ⇒ true
A
1 17

Check multiple boolean values

=OR(false, false, true)
Result ⇒ true

Related Functions

Other Logical functions:


← Back to Formula Reference