ROW

Returns the row number for the given cell or formula.

Syntax

ROW({cell-reference})

Arguments

cell-reference Cell name. If omitted, the function assumes the cell for the function. 

Example

ROW(A2) = 2