This Excel tutorial explains how to use the Excel ROW function with syntax and examples.
The Microsoft Excel ROW function returns the row number of a cell reference.
The syntax for the ROW function in Microsoft Excel is:
ROW( [reference] )
If the reference parameter is omitted, it assumes that the reference is the cell address in which the ROW function has been entered in.
For example, the ROW function used in the picture above returns 1 because the ROW function has been entered in cell A1. Therefore, it assumes the following formula:
The ROW function can be used in the following versions of Microsoft Excel:
The ROW function can be used in Microsoft Excel as the following type of function:
Let's look at some Excel ROW function examples and explore how to use the ROW function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following ROW examples would return:
=ROW(B4) Result: 4 =ROW(A5:C5) Result: 5 =ROW(B1:G9) Result: 1
(scroll to see more)