ExcelFlux

BITLSHIFT function

a value number shifted left by shift_amount bits.

Engineering · Excel 2013+

Where can you use it?

Engineering and technical analysis teams. If the calculation needs a number base, unit, complex number or special mathematical operation, check the input format against the example.

Scenario in the workbook

Shift bits left. Each step doubles the value when it stays in range.

A worked example from the workbook

RowAB
6First valueSecond value
732
823
970
Record 1
=BITLSHIFT(A7,B7)

Expected result12

See the inputs and instructions for all 3 examples

Syntax

BITLSHIFT(number, shift_amount)

Copyable formulas

English Excel · en-US
=BITLSHIFT(3,2)
Turkish Excel · tr-TR
=BİTSOLAKAYDIR(3;2)

Expected result

12

Worked examples

Shift bits left. Each step doubles the value when it stays in range.

Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.

Row A B
6 First value Second value
7 3 2
8 2 3
9 7 0
Case Formula Expected result
Record 1 =BITLSHIFT(A7,B7) 12
Record 2 =BITLSHIFT(A8,B8) 16
Record 3 =BITLSHIFT(A9,B9) 7
Microsoft Excel reference