Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu Show menu

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