Skip to main content

Logical Functions

This document briefly describes logical functions implemented in the ASPxSpreadsheet.

AND(logical1, [logical2], ...)
Returns TRUE if all of its arguments are TRUE; returns FALSE if one or more arguments evaluate to FALSE.
FALSE()
Returns the logical value FALSE.
IF(logical_test, [value_if_true], [value_if_false])
Checks a condition and returns one result if the condition is TRUE, and another result if the condition is FALSE.
IFERROR(value, value_if_error)
Checks whether or not a value (or expression) returns an error, and if so, the function returns a specified value; otherwise, the function returns the initial value.
IFNA(value, value_if_na)
Checks whether a value (or expression) resolves to #N/A, and if so the function returns a specified value; otherwise the function returns the initial value.
NOT(logical)
Reverses the logical value of its argument.
OR(logical1, [logical2], ...)
Returns TRUE if any argument is TRUE; returns FALSE if all arguments are FALSE.
TRUE()
Returns the logical value TRUE.
XOR(logical1, [logical2],…)
Returns a logical exclusive OR of all arguments.