COLUMNS
Returns the number of columns for given cell range.
Syntax
=COLUMNS(Range)
Arguments
| Name | Type | Description |
|---|---|---|
| Range | Range | Cell range to get the number of columns for |
Return
| Type | Description |
|---|---|
| Number | The number of columns. |
Examples
| Formula | Result | Comment |
|---|---|---|
| Number of columns for A1:C4 is 3 |