Bitwise XOR (exclusive OR) of 2 numbers. Learn more.
BITXOR is a function in Google Sheets that performs a bitwise XOR operation on two decimal numbers and returns the result.
The "value1" and "value2" arguments should be references to cells containing decimal numbers, or valid decimal numbers enclosed in double quotes (""). The function will convert the decimal numbers to 32-bit binary numbers and perform a bitwise XOR operation on them.
The function returns a decimal number that represents the result of the bitwise XOR operation.
For example, if the cell A1 contains the decimal number 9 (which is 1001 in binary) and the cell B1 contains the decimal number 6 (which is 0110 in binary), the formula =BITXOR(A1,B1) will return the value 15.