TX Sheet Control

OR Function

Function

Return TRUE when at least one condition is true, and FALSE when all are false. The arguments are conditions, logical values, numbers, references or arrays; the number 0 counts as FALSE and any other number as TRUE. Text in references is ignored, and arguments without any logical value return #VALUE!.

Syntax

OR(logical1, logical2)

Category: Logical. Minimum arguments: 1. Maximum arguments: 255.

Available for supported offline calculation.

Examples

=OR(10<5,20<30)

The formula returns TRUE, because 20<30 is true.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also