![]() | COLUMNS function |
Returns the number of columns in an array or reference.
Syntax
COLUMNS(array)
Argument | Description |
|---|---|
array | An array or
array formulaA single formula that performs multiple calculations and then returns either a single result or multiple results. Array formulas act on two or more sets of values, known as array arguments. Each array argument must have the same number of rows and columns. To return multiple results, the formula must be entered into multiple cells. |
Example
To make the following example easier to understand, you can copy the data to a blank sheet and then enter the function underneath the data. Do not select the row or column headings (1, 2, 3... A, B, C...) when you copy the sample data to a blank sheet.
|
|






