Excel ROWS Function

This Excel Tutorial demonstrates how to use the Excel ROWS Function in Excel to count the number of rows, with formula examples.

ROWS Function Description:

The ROWS Function Returns the number of rows in an array.

Formula Examples:

rows function examples

Example Formula Result
1 Row =ROWS(C5) 1
3 Rows =ROWS(C6:C8) 3

Syntax and Arguments:

The Syntax for the ROWS Formula is:

Function Arguments ( Inputs ):

array – Count the number of rows in this array.

Additional Notes

Use the ROWS Function to calculate the number of columns in a range of cells.

Return to the List of all Functions in Excel

How to use the ROWS Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:
After entering it in the cell, notice how the AND formula inputs appear below the cell:
rows formula syntax
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=ROWS(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
how to use the rows function in excel

For more information about the ROWS Formula visit the
Microsoft Website.