Edit

Share via


OR ER function

Note

Community interest groups have now moved from Yammer to Microsoft Viva Engage. To join a Viva Engage community and take part in the latest discussions, fill out the Request access to Finance and Operations Viva Engage Community form and choose the community you want to join.

The OR function returns a Boolean value of FALSE if all the specified conditions are false. If any specified condition is true, the function returns a Boolean value of TRUE.

Syntax

OR (condition 1[, condition 2, …, condition N])

Arguments

condition 1: Boolean

A valid conditional expression that must be tested. This argument is required.

condition N: Boolean

A valid conditional expression that must be tested. These additional arguments are optional.

Return values

Boolean

The resulting Boolean value.

Example

OR (1=2, "a"="a") returns TRUE.

Additional resources

Logical functions