Documentation/How Tos/Calc: ROWS function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 17:15, 25 January 2008 by Drking (Talk | contribs)

Jump to: navigation, search


ROWS

Returns the number of rows in a given range.

Syntax:

ROWS(range)

range is a range of cells.

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).

See also:

COLUMNS, SHEETS

Information functions, Spreadsheet functions

Personal tools