COLUMNS

COLUMNS(arg1) → { number | string | boolean }

Returns the number of columns in an array or reference.

Parameters:

Name Type Description
arg1 ApiRange

Is an array or array formula, or a reference to a range of cells for which you want the number of columns.

Returns:

Type
number | string | boolean