BITOR
Set every bit position present in either integer.
Syntax
=BITOR(number1, number2)Worked example
Combine the set bits in binary 110 and 011.
=BITOR(6,3)Result 7
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceExcel BITOR Function Explained
Practice BITOR
Combine the set bits in binary 110 and 011.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Show example formula
=BITOR(B2,B3) Lesson quiz
Answer three questions to see your level in this lesson.
