The BitLShift function in Excel produces an integer that has been shifted left by a given amount of bits.
Syntax:
=BITLSHIFT( number, shift_amount )
Parameter:
The following arguments are provided:
Number:
Shift_Amount:
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.
Ask Your Query