EXCEL BITLSHIFT FUNCTION

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

Syntax:

=BITLSHIFT( 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 form of 5 is 101, and 101 moved to the left by two positions equals 10100.
This value is returned as the integer 20 in decimal form.

  • #NUM! – Occurs if one of the following conditions is met: the provided number argument is not an integer;
    The number argument given is negative or larger than (248)-1.
    The function’s output is larger than 248.
  • #VALUE! – This error occurs if one or both of the supplied arguments is not a number.

Related Functions

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP 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