The Google Sheets ROWS and COLUMNS functions return the count of rows and columns in the specified range of a spreadsheet respectively. Each of these functions have only one attribute.
-------------------------------------
The FILTER function
The FILTER function filters data based on one or more conditions. Review
this step-by-step tutorial on FILTER to know more:
• Google Sheets Filter Function | Extra...
-------------------------------------
Here is the format of the ROWS function formula:
=ROWS(range)
Start the formula with an equal-to symbol.
ROWS is the name of the function.
range is the area of the spreadsheet in which to get the count of rows.
Let's look at an example of the ROWS function formula:
=ROWS(A6:A11)
ROWS returns 6 as the number of rows in the specified range.
Let's look at the format of the COLUMNS function formula:
=COLUMNS(range)
The attribute and its description are the same as that of the ROWS function.
Here is an example of the COLUMNS function formula:
=COLUMNS(A6:E11)
COLUMNS returns 5 as the number of rows in the specified range.
Review this video tutorial, which gives the steps to use the Google Sheets ROWS and COLUMNS functions with examples.