COLUMNS

Definition of COLUMNS

Returns the number of columns in a specified array or range.

Sample Usage

COLUMNS(A9:W62)

COLUMNS({1,2,3,4,5})

Syntax

COLUMNS(range)

  • range - The range whose column count will be returned

See Also

ROWS: Returns the number of rows in a specified array or range.

ROW: Returns the row number of a specified cell.

COLUMN: Returns the column number of a specified cell, with `A=1`.

Examples

Returns the number of columns in the given reference.

In order to use the COLUMNS formula, start with your edited Excellentable

Screen Shot 2016-06-29 at 7.28.42 PM.png

Then type in the COLUMNS Formula in the area you would like to display the outcome:

Screen Shot 2016-06-29 at 7.30.10 PM.png

By adding the values you would like to calculate the COLUMNS formula for, Excellentable will generate the outcome:

Screen Shot 2016-06-29 at 7.30.19 PM.png

 

There were errors rendering macro:

  • An unknown error occurred.