# How To Use Excel ROWS Function?

ROWS Function in Excel: Excel is a spreadsheet program that is developed for WindowsMacAndroid, and iOS. It helps to perform calculations on your PC. The purpose of this software is to do complicated calculations which are difficult to do manually. With the help of this spreadsheet program, you can insertorganizemaintainmanage, and calculate data.

This article gives you an illustration of the explanation, basic syntax, and usage of the ROWS function in Excel. Get the official version of MS Excel from the following link:

https://www.microsoft.com/en-in/microsoft-365/excel

## Description of ROWS Function

• It is one of the built-in functions in Microsoft Excel.
• The Excel ROWS function returns the count of rows in a given reference.
• For example, ROWS(A1:D4) returns output 4. Because it has 4 rows.

## Syntax

• Here, you will see the syntax of the ROWS function.
• To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
• Once you enter the formula, just click on the button to get the result.

=ROWS(array)

Argument Description

• array – A reference to a cell or range of cells.

## Practical Examples

Now Let’s grasp some examples of the ROWS function and explore how it works in the Excel worksheet.

• Initially, you have to open your Excel workbook on your PC and launch the worksheet that has data.
• For instance, we have entered the formula in Cell B3 and we will get the reference of the rows using the ROWS function.
• After entering the formula, you need to click the button to get the output, as shown below.
• In the following image, we have shown the applied formulas and their corresponding results.