ROWS

returns number of rows in a reference · from excel · excel: not yet compared · sheets: not yet compared

signature

ROWS(array)

returns: number

argumentrequired
array required

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

A
1 10
2 20
3 30
4 40
5 50
fx =ROWS(A1:A10) 10

related

  • ADDRESS returns a cell address as text from row and column numbers
  • AREAS returns the number of areas in a reference
  • HLOOKUP searches first row and returns matching value
  • HYPERLINK the text a link displays — clickability is the renderer's
  • INDEX returns value at row and column in range
  • INDIRECT returns reference specified by text string