EXCEL BITRSHIFT FUNCTION

The BitRShift function in Excel produces an integer that has been shifted right by a given amount of bits.

Syntax:

=BITRSHIFT( numbershift_amount )

Parameter:

  • The following arguments are provided:

 Number:

  • The number on which you wish the operation to be performed (must be a positive integer).

 Shift_amount :

  • An integer value indicating how many bits the provided number should be shifted by.

 

Example:

The binary representation of 20 is 10100.
101 is 10100 moved right by two positions.
This value is returned as an integer in decimal form 5.

  • #NUM! – Occurs if any of the following conditions are met: the given number argument is a non-integer; the supplied number argument is negative or greater than (248); -1. \s
  • #VALUE! – Occurs when one or both of the given arguments is not a number.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now