We want to start with 1, however, so we need to subtract 5, which yields 1.

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.

Excel ROW function

When no reference is provided, ROW returns the row number of the cell which contains the formula.

COLUMN Function

The Excel COLUMN function returns the column number for a reference.

For example, COLUMN(C5) returns 3, since C is the third column in the spreadsheet.

Excel COLUMN function

When no reference is provided, COLUMN returns the column number of the cell which contains the formula.