Excel ROW Function
The Excel ROW function returns the row number for a reference. For example, ROW(C5) returns 5, since C5 is the fifth row in the spreadsheet. When no reference is provided, ROW returns the row number of the cell which contains the formula.
- reference - [optional] A reference to a cell or range of cells.
Use the ROW function to get the row number for a cell reference or a range. For example:
Note the ROW function returns a number for the row in a worksheet. If you need to find a row number based on a lookup or match, see the MATCH function.
- Reference is optional and will default to the cell in which the ROW function exists.
- Reference cannot include multiple references or addresses.