Google Sheets
ROWS function in Google Sheets
Returns the number of rows in a specified array or range.
=ROWS(column)ROWS syntax and parameters
One argument, one required.
- columnrangeRequired
The data column whose row count will be returned.
ROWS examples
Formulas you'll actually reuse.
How many rows a fixed range covers:
=ROWS(A2:A200)Result
199The last cell of a fixed range — INDEX aimed at the final row:
=INDEX(B2:B200, ROWS(B2:B200))Result
13482.5
ROWS in Excel
Same name — your formula ports as-is.
Try ROWS in the playground
Edit the example — nothing to install.
Preloaded with the ROWS formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Google Sheets gets this done.
- ADDRESSReturns a cell reference as a string.LookupExcel
- CHOOSEReturns an element from a list of choices based on index.LookupExcel
- COLUMNReturns the column number of a specified cell, with `A=1`.LookupExcel
- COLUMNSReturns the number of columns in a specified array or range.LookupExcel
- FORMULATEXTReturns the formula as a string. .LookupExcel
- GETPIVOTDATAExtracts an aggregated value from a pivot table that corresponds to the specified row and column headings.LookupExcel