The ROWS function is one of the lookup and reference functions. It is used to return the number of rows in a cell reference.
ROWS(array)
The ROWS function has the following argument:
How to apply the ROWS function.
The figure below displays the result returned by the ROWS function.