Lookup and Reference - COLUMNS Function



Description

The COLUMNS function returns the number of Columns in an array or reference.

Syntax

COLUMNS (array)

Arguments

Argument Description Required/ Optional
array An array or array formula, or a reference to a range of cells for which you want the number of Columns. Required

Notes

=COLUMNS (1:1) returns the number of Columns in Excel, i.e. 16384.

Applicability

Excel 2007, Excel 2010, Excel 2013, Excel 2016

Example

Columns Function
advanced_excel_lookup_reference_functions.htm
Advertisements