ROW

Returns the row number of a reference.

Syntax

ROW(reference)

Reference   is the cell or range of cells for which you want the row number.

Examples

ROW(A3) equals 3

When entered as an array formula in three vertical cells:

ROW(A3:B5) equals {3;4;5}

If ROW is entered in C5, then:

ROW() equals ROW(C5) equals 5