ID EN
#Engineering

BITLSHIFT

Excel Functions

Returns a number shifted left by some number of bits

Syntax

EXCEL
=BITLSHIFT(number, shift_amount)

Arguments

Parameter Description
number The number to be bit shifted.
shift_amount The amount of bits to shift, if negative shifts bits to the right instead.

Return Value

Decimal Number

Details

For any bit shift that results in integer overflow, where the result is larger than 2^48 -1, the function returns the #NUM! error. The shift_amount can either be positive or negative. If a negative number is provided, the bits are shifted to the right instead.

See Also

BITRSHIFT