# TRANSPOSE Function

> Swap the rows and columns of an array or range with the TRANSPOSE formula function of TX Sheet Control: syntax, spilled results and an example with an array.

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

---

Return an array or range with its rows and columns swapped. The first row of `array` becomes the first column of the result, and the result spills into as many cells as it needs.

### Syntax

```text
TRANSPOSE(array)
```

Category: Lookup. Minimum arguments: 1. Maximum arguments: 1.

Available for supported offline calculation.

### Examples

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

The formula returns the array {1,3;2,4}: the row 1, 2 becomes the first column.

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:** [TRANSLATE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/translate/llms-full.txt)
- **Next:** [TREND Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/trend/llms-full.txt)
