FormulaCamp
Completed
← All functions
Lookup & reference

ROWS

Number of rows.

Syntax

ROWS(array)

Example: =ROWS(A2:A100)

Available in: All versions

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =ROWS(A2:A6)

Example spreadsheet for ROWS
ABCDEF
1IDItemPriceStockResult
2101Pen2.51205
3102Notebook480
4103Lamp2515
5104Mug7.540
6105Backpack3912
Result in F2: 5
Practice this in a lesson: Cells, Rows and Ranges

More in Lookup & reference