Skip to content

COLUMNS

Lookup & referenceExcel 2007

Count the columns in a range or array.

Syntax

COLUMNS(array)

Examples

=COLUMNS(A1:F1)

6

Related functions

More Lookup & reference functions

← All 510 functions

Syntax follows Microsoft’s documentation. Examples are written to be pasted into a cell and checked. Argument separators may be ; in your locale. The AI explainer runs on a free community model — verify anything important.