Xor (operator)
Applies Exclusive OR logic to two Boolean operands.
The result is True if either operand is true, but not both.
Syntax
operand1 Xor operand2
operand1 = first operand
operand2 = second operand
operand2 = second operand
Remarks
Returns #ERR! if the operands cannot be understood as Booleans.
Examples
True xor True = FalseTrue xor False = TrueFalse xor True = TrueFalse xor False = False