# BITLSHIFT Function

> Shift the bits of a whole number to the left with BITLSHIFT in TX Sheet Control: shift amount, negative shifts to the right, the 2^48-1 limit and #NUM! errors.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > BITLSHIFT Function
- **207 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/bitlshift/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/bitlshift/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/bitlshift/llms-full.txt

---

Shift the bits of a number to the left by a number of positions, which multiplies it by a power of 2. `number1` is a whole number from 0 to 2^48-1, and `number2_or_shift` the number of bits to shift; a negative shift shifts to the right. A shift of more than 53 bits, or a result greater than 2^48-1, returns `#NUM!`.

### Syntax

```text
BITLSHIFT(number1, number2_or_shift)
```

Category: Engineering. Minimum arguments: 2. Maximum arguments: 2.

Available for supported offline calculation.

### Examples

```text
=BITLSHIFT(12,10)
```

The formula returns 12288, 12 shifted left by 10 bits (12 × 1024).

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [BITAND Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/bitand/llms-full.txt)
- **Next:** [BITOR Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/bitor/llms-full.txt)
