BITAND Function

The BITAND function is one of the engineering functions. It is used to return a bitwise 'AND' of two numbers.

The BITAND function syntax is:

BITAND(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 only if both parameter's bits at that position are 1.

To apply the BITAND function,

  1. select the cell where you wish to display the result,
  2. click the Insert function Insert function icon icon situated at the top toolbar,
    or right-click within a selected cell and select the Insert Function option from the menu,
    or click the Function icon icon situated at the formula bar,
  3. select the Engineering function group from the list,
  4. click the BITAND function,
  5. enter the required arguments separating them by comma,
  6. press the Enter button.

The result will be displayed in the selected cell.

BITAND Function