Excel Function

ROWS

Returns number of rows in an array.

ROWS(array)

Arguments

array

Required

Specify a reference range. You can drag or click start/end cells.

Practice Preview

Use ROWS to return the result with these settings (Target range: B2:D8 (columns B to D)). You can set ranges by dragging from the start cell to the end cell in the same argument field.

Example Table

#
AProduct ID
BProduct Name
CPrice
DStock
2P001Apple12080
3P002Banana98120
4P003Notebook45035
5P004Pen30060
6P005Grapes15045
7P006Ruler25020
8P007Peach8655

How to Use (Formula)

=ROWS(B2:D8)

Result

7

Practice This Function

ROWS FAQ

How do I use ROWS in Excel?

Use ROWS when you want to count rows in a range. Enter Target range in that order, then add optional arguments when needed.

Where can I practice ROWS?

Use the "Start Function Practice" button to jump straight into ROWS drills.

What arguments does ROWS use?

The main arguments are Target range. Enter them in order.