EngineeringExcel 2013

BITXOR

Set positions where the two integers’ bits differ.

Syntax

=BITXOR(number1, number2)

Worked example

Keep only the differing bits in binary 110 and 011.

=BITXOR(6,3)

Result 5

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor