BITOR Function
The BITOR function is one of the engineering functions. It is used to return a bitwise 'OR' of two numbers.
The BITOR function syntax is:
BITOR(number1, number2)
where
number1 is a numeric value in decimal form greater than or equal to 0,
number2 is a numeric value in decimal form greater than or equal to 0.
The numeric values can be entered manually or included into the cell you make reference to.
The value of each bit position is counted if either of the parameters has 1 at that position.
To apply the BITOR function,
- select the cell where you wish to display the result,
- click the Insert function
icon situated at the top toolbar,
or right-click within a selected cell and select the Insert Function option from the menu,
or click theicon situated at the formula bar,
- select the Engineering function group from the list,
- click the BITOR function,
- enter the required arguments separating them by comma,
- press the Enter button.
The result will be displayed in the selected cell.