ExcelFlux

TOROW function

the array in a single row.

Lookup and reference · Excel 2024+

Where can you use it?

Reporting and operations teams. Use functions in this group to retrieve a field from an item, employee or order list, select the right record, or move values into another report.

Scenario in the workbook

Flatten a column into a row and inspect the resulting positions.

A worked example from the workbook

RowAB
6InputSecond input
7101
8202
9303
Record 1
=INDEX(TOROW($A$7:$A$9),1,B7)

Expected result10

See the inputs and instructions for all 3 examples

Copyable formulas

English Excel · en-US
=INDEX(TOROW($A$7:$A$9),1,B7)
Turkish Excel · tr-TR
=İNDİS(SATIRA($A$7:$A$9);1;B7)

Worked examples

Flatten a column into a row and inspect the resulting positions.

Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.

Row A B
6 Input Second input
7 10 1
8 20 2
9 30 3
Case Formula Expected result
Record 1 =INDEX(TOROW($A$7:$A$9),1,B7) 10
Record 2 =INDEX(TOROW($A$7:$A$9),1,B8) 20
Record 3 =INDEX(TOROW($A$7:$A$9),1,B9) 30
Microsoft Excel reference