ROWS

Returns the number of rows in a matrix.

Format

ROWS (M)

Argument

 
M
A matrix.

Example

The following example illustrates the use of the ROWS function:
 
Function
ROWS({1, 2, 3})
Result
3