Logical Functions


Logical functions act upon an expression to return information about the values or sets in the expression.

Function Description
AND Checks whether all arguments are TRUE, and returns TRUE if all arguments are TRUE.
COALESCE Returns the first argument that does not evaluate to a blank value. If all arguments evaluate to blank values, BLANK is returned.
FALSE Returns the logical value FALSE.
IF Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE.
IF.EAGER Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE. Uses eager execution.
IFERROR Returns value_if_error if the first expression is an error and the value of the expression itself otherwise.
NOT Changes FALSE to TRUE, or TRUE to FALSE.
OR Returns TRUE if any of the arguments are TRUE, and returns FALSE if all arguments are FALSE.
SWITCH Returns different results depending on the value of an expression.
TRUE Returns the logical value TRUE.

Last update: Oct 27, 2020   » Contribute   » Show contributors

Contributors: Alberto Ferrari, Marco Russo, Kenneth Barber

Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

Row Context

This expression is executed in a Row Context. Click to read more.

Iterator

Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

Not recommended

The use of this parameter is not recommended.

Deprecated

This function is deprecated. Jump to the Alternatives section to see the function to use.

Deprecated

This parameter is deprecated and its use is not recommended.

Contribute

Want to improve the content of COALESCE? Did you find any issue?
Please, report it us! All submissions will be evaluated for possible updates of the content.


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.