OR function

Description

OR(condition1,condition2,...) returns 1 (=TRUE) of at least one of its arguments condition1, condition2, ... is TRUE (or 1).

If none of the conditions can be evaluated (for example because of missing data), the function returns an error.

Example

If GROUP is a variable defined in the spreadsheet then:

OR(GROUP=1,GROUP=5) returns 1 (=TRUE) if the case either belongs to group 1 or to group 5.

Calculator

OR(,)

Related functions

This site uses cookies to store information on your computer. More info...