Syntax
| Parameter | Description |
|---|---|
| array | Parameter of the TOROW function. |
| [ignore] | (Optional.) Parameter of the TOROW function. |
| [scan_by_column] | (Optional.) Parameter of the TOROW function. |
Examples
Flatten a grid to one row
=TOROW(A1:C4)
Skip errors
=TOROW(A1:D5, 2)
Scan by column
=TOROW(A1:B3, 0, TRUE)
Common Errors
After removing blanks or errors, no values remain.
The horizontal spill range is blocked by existing content.
Tips
Some chart types expect data in rows. Use TOROW to reshape vertical data into a horizontal series without restructuring your source data.
=TEXTJOIN(", ", TRUE, TOROW(A1:C4)) flattens a grid and joins all values into a single comma-separated string.
Set the ignore argument to 1 when your source range has gaps. This prevents empty positions in your output row.
Try TOROW in Viztab
Import your data and use TOROW with 370+ other formulas. No signup required.
Open Viztab