RHIGH function
Description
The RHIGH() function takes no argument and returns the highest row number used in the spreadsheet.
Example
When you enter RHIGH() in cell A1 of a spreadsheet that contains 20 cases (of which the data are entered in rows 1 to 20) the function returns the value 20.