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
40
As you can see, we selected 3 rows in the array. So it returns 3 as answer.
41
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
42
Press Enter
43
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.
44
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.
45
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.

Related Articles:

Excel COLUMN Function in Excel

Excel ROW Function

How To Switch Rows and Columns in Excel

Popular Articles:

The VLOOKUP Function in Excel

COUNTIF in Excel 2016

How to Use SUMIF Function in Excel

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 Google PlusVisit Us On Youtube