XOR

XOR logical exclusive disjunction

Synopsis

XOR(b0,b1,…)

Arguments

b0: logical value

b1: logical value

Description

XOR calculates the logical exclusive disjunction of its arguments b0,b1,...

Note

If an argument is numerical, zero is considered FALSE and anything else TRUE. Strings and empty values are ignored. If no logical values are provided, then the error #VALUE! is returned. This function is strict: if any argument is an error, the result will be the first such error.

See also

OR, AND, NOT, IF.