Excel TOROW Function: Flatten Any Range into a Single, Dynamic Row
The TOROW function converts any rectangular range or spilled array into one clean row that updates automatically as the source changes. It belongs to Excel’s dynamic array family in Microsoft 365 on Windows, Mac, and the web. The syntax is =TOROW(array, [ignore], [scan_by_column]). The array argument is the range or array to flatten. The optional ignore argument lets Excel drop blanks and/or errors during the transformation. The optional scan_by_column argument controls the read order, letting TOROW process by rows (default) or by columns. Microsoft’s documentation emphasizes that TOROW “returns the array in a single row”, with predictable options for ignoring blanks and errors and a switch for scan direction.