Contact

TOROW Function in Google Sheets: Syntax, Examples & Compatibility

Array Intermediate Google Sheets

Learn how to reshape a rectangular table into one horizontal row in Google Sheets. Includes syntax, two verified-by-reasoning results, troubleshooting and portability notes.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: reshape a rectangular table into one horizontal row in Google Sheets. The reproducible examples below use explicit values so the formula’s meaning is testable without a large workbook.

Evidence: The function name and syntax are documented in the linked vendor function reference. Expected outputs were independently reasoned or checked outside the application. These are not native Google Sheets test results. A guide being published here does not certify every software release or file-import scenario.

Availability and version history

  • Introduced: Announced February 1, 2023; rollout paused February 22, resumed March 1, with access scheduled by March 14. These are service rollout dates, not desktop versions. Google release history.
  • Availability: Documented in the rolling Google Sheets service; examples use the web spreadsheet workflow.
  • Checked: October 14, 2026; official TOROW reference. Documentation check, not a new native test; existing example-verification notes retain their scope.

Syntax and arguments

=TOROW(array_or_range, [ignore], [scan_by_column])

The first argument is the source range. The optional flags control ignored blank/error values and scan orientation.

Best use case: Reshape a rectangular table into one horizontal row.

Set up the example sheet

Enter A2=Pen, B2=12, A3=Pad, B3=5 and leave sufficient space to the right of the formula.

Enter the formula in an unused cell. For a formula returning several values, leave an unobstructed area where those values can expand. These formulas use comma argument separators in a typical English-language locale; commas or semicolons inside quoted text are data, not argument separators. Adapt the separator if your regional settings require it.

Worked example 1: TOROW with known input

=TOROW(A2:B3,0,FALSE)

Expected output: one row Pen, 12, Pad, 5.

Row-major scan follows the cells from left to right in the first row, then in the second.

Worked example 2: a second TOROW case

=TOROW(A2:B3,0,TRUE)

Expected output: one row Pen, Pad, 12, 5.

Column-major scan reads A2:A3, then B2:B3.

Compare both results before replacing literal values or short sample ranges with your own workbook data. For a spilling formula, compare every output cell, not only the top-left result.

Practical advice and troubleshooting

When this formula helps: Use TOROW when an external export expects a single record line instead of multiple spreadsheet rows.

Important edge case: A blocked output area or insufficient space to the right can prevent the expanded row from displaying.

If the result differs, first verify the text-versus-number types of the input cells, the argument separators for your locale, and the range size. For dynamic arrays, inspect occupied cells in the output area. After importing a file, check function names and the destination application’s support as well as the input data.

Compatibility and version considerations

The same function name exists in recent Excel, but availability depends on the actual Excel release.

Google Sheets is a rolling service; record the check date and spreadsheet locale. Verify the destination application and release separately when exporting a workbook.

Function availability and parameter behavior must be judged for the specific application and release; a function documented in one spreadsheet does not automatically work in another.

Editorial verification: Direct function documentation reviewed October 14, 2026. The two example outputs are independently reasoned; no native application run, screenshot, or version-specific output is claimed. Review the editorial testing standards if you require stronger proof before importing a workbook.