Excel Rows Function

This post will guide you how to use Excel ROWS function with syntax and examples in Microsoft excel.

Description

The Excel ROWS function returns the number of rows in a cell reference.

The ROWS function is a build-in function in Microsoft Excel and it is categorized as a Lookup and Reference Function.

The ROWS function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000, Excel 2011 for Mac.

Syntax

The syntax of the ROWS function is as below:

= ROWS(array)

Where the ROWS function arguments is:
array-This is an required argument. An array, or A reference to a range of cells.

Example

The below examples will show you how to use Excel ROWS Lookup and Reference Function to return the number of rows in a range of cells.

#1 To get the number of rows in the cell range “A1:C4”, just using the following excel formula: =ROWS(A1:C4)

excel rows function example1


More Excel Rows Examples

  • Flip a Column of Data Vertically
    How do I remove time part from a date in Excel. How to get only date part from the date with time values via Format cells feature or Excel function. How to extract date from a date and time with VBA code in Excel….
  • Randomly Select Cells
    If you want to randomly select cells from a range of cells, you can use a formula based on the INDEX function, the RANDBETWEEN function and the Rows function…..
  • List all Worksheet Names
    Assuming that you have a workbook that has hundreds of worksheets and you want to get a list of all the worksheet names in the current workbook. And the below will introduce 3 methods with you..…
  • Split Data in One Column to Multiple Columns
    If you want to split each sets in one column from row to row in stacked columns, and you need to create a formula based on the OFFSET function, the COLUMNS function, and the ROWS function..…
  • Copy and Paste Only Non-blank Cells
    If you want only copy non-blank cells in a range in Excel, you need to select the non-blank cells firstly, then press Ctrl +C keys to copy the selected cells. So how to only select all non-blank cells in the selected range in your worksheet..…
Related Posts

How to Convert Horizontal List of Data into Vertical in Excel
convert horizontal list to vertical6

This post will guide you how to transpose horizontal list to vertical list in your current worksheet in Excel. How do I convert horizontal rows to vertical columns with a formula in Excel 2013/2016. Convert Horizontal List to Vertical with ...

Copy and Paste Only Non-blank Cells
copy and paste non-blank cells14

This post will guide you how to copy and paste only non-blank cells in Excel 2013/2016. How do I copy only non blank cells with VBA code in Excel. Or how to get non-blank cells from a range of cells ...

Split Data in One Column to Multiple Columns
split data in one column to multiple11

This post will guide you how to split data in a single column into multiple columns with a formula in Excel. How do I transpose data from one column to multiple columns in Excel. How can I make one long ...

List all Worksheet Names
list all worksheet names7

This post will guide you how to get a list of all worksheet names in an excel workbook. How do I List the Sheet names with Formula in Excel. How to generate a list of all sheet tab names using ...

Randomly Select Cells
randomly select cells3

This post will guide you how to randomly select cells from a list or table in Excel. How to get random value form a range of cells in an Excel Spreadsheet. Assuming that you have a list of data (B1:B7) ...

Flip a Column of Data Vertically
flip column data12

This post will guide you how to flip a column of data vertically preserving the original formatting and formulas in Excel. How do I reverse a column of data order in a column arranged alphabetically or from largest to smallest. ...

How to Reverse a List or Range
reverse a list with vba11

This post will guide you how to reverse a list of values or a range of values in excel. How to reverse the order of a column data or a list of items using excel formula. How to reverse a ...

How to Extract multiple match Values into different Columns or Rows
get relative of rows1

This post explains that how to extract multiple match values from a range, then put the values into the different columns in excel. And how to extract multiple matches into the different rows. In the previous post, we talked that ...

Three Ways to Get the Last Row Number in a Range
Get the Last Row Number using ROW, INDEX and ROWS Functions1

This post explains that how to get the last row number in a range or a table in excel. Sometimes, you want to know the last row number for a excel range. The below will guide you how to get ...

Excel Column Function

This post will guide you how to use Excel COLUMN function with syntax and examples in Microsoft excel. Description The Excel COLUMN function returns the first column number of the given cell reference. The COLUMN function is a build-in function in ...

Sidebar