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 referenceHow to Use BITXOR Function in Excel 365? GEEKEXCEL!
Practice BITXOR
Keep only the differing bits in binary 110 and 011.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Show example formula
=BITXOR(B2,B3) Lesson quiz
Answer three questions to see your level in this lesson.
