Documentation/How Tos/Calc: ROWS function
From Apache OpenOffice Wiki
ROWS
Returns the number of rows in a given range.
Syntax:
ROWS(range)
- range is a range of cells, given either explicitly (A3:B5) or by name (myrangename) if a range name has been defined.
Example:
ROWS(A3:B5)
- returns 3; there are three rows in this range, namely rows 3,4 and 5.
ROWS(G4:G6)
- returns 3; there are three rows in this range, namely rows 4,5 and 6.
ROWS(D8)
- returns 1; D8 is interpreted as a one cell range, with a single row (row 8).