ROWS function

Category: Lookup and reference
Introduced: Excel 2003

Summary

Returns the number of rows in a reference

Syntax

ROWS(array) The ROWS function syntax has the following argument:
• Array Required. An array, an array formula, or a reference to a range of cells for which you want the number of rows.

Example

=ROWS(C1:E4)
=ROWS({1,2,3;4,5,6})

Microsoft Support Page

https://support.microsoft.com/en-us/office/rows-function-b592593e-3fc2-47f2-bec1-bda493811597

Back to Functions