How to use the ROWS function in Excel

In this article, we will learn about how to use ROWS function in Excel.

The ROWS function returns the number of rows in an array or cell reference in Excel. Unlike ROW function which returns the particular row number of the cell reference.
Syntax:

=ROWS(array)

Let’s run some tests on using the ROWS function Excel
35
As you can see, we selected 3 rows in the array. So it returns 3 as answer.
36
As you can see here the array has only 1 row & 3 columns. So it returns 1 the count of rows in the array.
Here we selected a little larger array to get the count the
12
Press Enter
37
As you can see the count of rows in the above array is 21.
You can use the ROWS function in Excel without using cell references.
38
Excel will read this like array has 2 rows and 3 columns. The values along the columns are separated using commas (,) and values of different rows separated using semicolon(;) like shown below.
39
You can use the ROWS function with other excel functions.

As you can see from the above examples that how to use ROWS function in Excel.

Hope you understood how to use the ROWS function in Excel. Explore more articles on Excel cell reference function here. Please state your queries in the comment box below.

Leave a Reply

Your email address will not be published. Required fields are marked *

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Visit Us On TwitterVisit Us On FacebookVisit Us On Youtube