Skip to main content
Version: Streamsheets 3.0

COLUMNS

Returns the number of columns for given cell range.

Syntax

=COLUMNS(Range)

Arguments

NameTypeDescription
RangeRangeCell range to get the number of columns for

Return

TypeDescription
NumberThe number of columns.

Examples

FormulaResultComment
=COLUMNS(A1:C4)
Number of columns for A1:C4 is 3