TOROW Function in Excel: Flatten Into One Row

⏱ 1 min readUpdated 28 September 2026

Dynamic ArrayLevel: ExpertAvailable in: Excel 365 / 2021+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Related functions

TOROW flattens a block into a single row, optionally skipping blanks and errors.

Syntax

=TOROW(array, [ignore], [scan_by_column])
Argument What it means
ignore 1 blanks, 2 errors, 3 both.

Examples

Example 1

=TOROW(B2:D5, 1)

A 4×3 roster as one row of names, no gaps.

TOCOL · WRAPCOLS

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong