Skip to main content

BITLSHIFT

The BITLSHIFT function returns a number shifted left by the specified number of bits.

Syntax

=BITLSHIFT(number, shift_amount)

Parameters

  • number: The number to shift
  • shift_amount: The number of bits to shift left

Examples

=BITLSHIFT(4, 2) // Returns 16 (shifts 100 left 2 positions to get 10000)
=BITLSHIFT(3, 1) // Returns 6 (shifts 11 left 1 position to get 110)