# DROP Function

> Remove rows or columns from the start or end of an array with the DROP formula function of TX Sheet Control: negative counts, the #CALC! error and an example.

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

---

Remove rows or columns from the start or end of an array. `rows` is the number of rows to drop from the top, or from the bottom when negative, and `columns` the number of columns to drop from the left, or from the right when negative. Dropping all rows or columns returns `#CALC!`.

### Syntax

```text
DROP(array, rows, columns)
```

Category: Lookup. Minimum arguments: 2. Maximum arguments: 3.

Available for supported offline calculation.

### Examples

```text
=DROP({1,2;3,4},1)
```

The formula returns the array {3,4}: the first row of the 2 × 2 array is dropped.

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:** [DPRODUCT Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/dproduct/llms-full.txt)
- **Next:** [DSTDEV Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/dstdev/llms-full.txt)
