BITXOR Function Explained

The BITXOR Function in Microsoft Excel returns the bitwise “Exclusive Or” of two numbers. It takes two arguments, both of which must be integers between -2^63 and 2^63-1. It returns a number that is the result of a bitwise comparison of the two numbers, where a bit is set to 1 if one, but not both, of the corresponding bits of the two numbers is 1.

BITXOR Function Syntax

BITXOR(number1, number2)

  • number1: The first number to be used in the bitwise XOR operation.
  • number2: The second number to be used in the bitwise XOR operation.