Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
ROWS returns the total number of rows contained in a range or array. It is useful for dynamic range calculations, validating how large a dataset is, or using inside formulas that need to know the height of a range such as INDEX or OFFSET.
=ROWS(A2:A5)=ROWS(A2:A5)Computed by a real spreadsheet engine on the sample data below.
| Product |
| Widget |
| Gadget |
| Doohickey |
| Thingamajig |
=ROWS(A2:A5)→4
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: