describe
The OR function returns TRUE if any parameter is TRUE; if all parameters are FALSE, it returns FALSE.
grammar
OR (logical1, [logical2], ...)
debate
Argument | describe | Required/Optional |
---|---|---|
logical1 | The 1 to 255 conditions you want to test can be TRUE or FALSE. The 1 to 255 conditions you want to test can be TRUE or FALSE. |
Required |
logical2, … | Optional |
Notes
-
Arguments must evaluate to a logical value, such as TRUE or FALSE, or be evaluated in an array or reference containing a logical value.
-
If any of the supplied logical_test parameters are text values, OR returns a #VALUE! error value.
-
If the array or reference parameter contains text or empty cells, these values will be ignored.
-
If the specified range does not contain a logical value, OR returns a #VALUE! error value.
-
If a logical test returns a number rather than a logical value, zero is treated as the logical value FALSE and all non-zero numbers are treated as the logical value TRUE.
-
You can use the OR array formula to see if a value occurs in an array. To enter an array formula, press CTRL + SHIFT + ENTER
-
Common functions used by the OR function include IF function, AND function and NOT function.
applicability
Excel 2007,Excel 2010,Excel 2013,Excel 2016