Returns TRUE if any argument is TRUE; returns FALSE if all arguments are FALSE.
Syntax
OR(logical1,logical2,...)
Logical1, logical2, ... are 1 to 30 conditions you want to test that can be either TRUE or FALSE.
Remarks
Example
Formula | Description (Result) |
---|---|
=OR(TRUE) | One argument is TRUE (TRUE) |
=OR(1+1=1,2+2=5) | All arguments evaluate to FALSE (FALSE) |
=OR(TRUE,FALSE,TRUE) | At least one argument is TRUE (TRUE) |
=OR(#NULL!,#NULL!) | Both arguments contain #NULL! (#NULL!) |
=OR(1+1=1,#NULL!) | First argument evaluates to FALSE and #NULL! is the other argument (#NULL!) |