TX Sheet Control

XOR Function

Function

Return the exclusive OR of logical values: TRUE when an odd number of arguments is TRUE, and FALSE otherwise. The arguments are conditions, logical values or ranges; numbers count as TRUE unless they are 0, and text in referenced cells is ignored. Text typed as an argument returns #VALUE!. An array constant such as {TRUE,TRUE,TRUE} also returns #VALUE! in TX Sheet Control, while a range of the same values is evaluated.

Syntax

XOR(logical1, logical2)

Category: Logical. Minimum arguments: 1. Maximum arguments: 255.

Available for supported offline calculation.

Examples

=XOR(TRUE,FALSE,TRUE)

The formula returns FALSE, because two of the three arguments are TRUE.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also