# TOROW Function

> Turn an array or range into a single row with the TOROW formula function of TX Sheet Control: skip blanks or errors, scan by row or by column, and an example.

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

---

Return the values of an array or range as a single row. `ignore` selects the values to skip: 0 keeps all values (the default), 1 skips blanks, 2 skips errors and 3 skips both; any other value returns `#VALUE!`. The values are read row by row, or column by column when `scan_by_column` is TRUE.

### Syntax

```text
TOROW(array, ignore, scan_by_column)
```

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

Available for supported offline calculation.

### Examples

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

The formula returns a row with the values 1, 2, 3 and 4.

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