この関数は Google スプレッドシートでも Excel と同じように機能します。構文も引数も同じです。
BITXOR(number1, number2)The BITXOR function compares the binary representations of two integers and returns a result where each bit is 1 if the corresponding bits of the inputs are different, and 0 if they are the same. It is commonly used for low-level data manipulation and bitwise logic operations.
=BITXOR(5, 3)結果: 6
Binary 101 (5) XOR 011 (3) equals 110 (6).
BITXOR returns a #NUM! error if the numbers are negative or exceed the maximum allowed value.