BITRSHIFT Function

The BITRSHIFT function is one of the engineering functions. It is used to return a number shifted right by the specified number of bits.

The BITRSHIFT function syntax is:

BITRSHIFT(number, shift_amount)

where

number is an integer greater than or equal to 0,

shift_amount is a number of bits by which you want to shift number, an integer.

The numeric values can be entered manually or included into the cell you make reference to.

Shifting a number right is equivalent to removing digits from the rightmost side of the binary representation of the number.

To apply the BITRSHIFT function,

  1. select the cell where you wish to display the result,
  2. 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 the
    icon situated at the formula bar,
  3. select the Engineering function group from the list,
  4. click the BITRSHIFT function,
  5. enter the required arguments separating them by comma,
  6. press the Enter button.

The result will be displayed in the selected cell.

BITRSHIFT Function