# Count table rows

ROWS(table)

To count rows in an Excel table, you can use the ROWS function. In the example shown, the formula in I4 is:

=ROWS(Table1)

Note: with just the table name, ROWS will count data rows only.

### How this formula works

This formula uses structured referencing, a syntax that allows table parts to be called out by name. When a table is called with the name only, Excel returns a reference to the data region of the table only. In this case, the entire table range is B4:F104 so Table1 returns the range B5:F105 to the ROWS function.

ROWS then returns a final result of 100.

## Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.