COLUMN

Returns the column number of the given reference.

Syntax

COLUMN(reference)

Reference   is the cell or range of cells for which you want the column number.

Examples

COLUMN(A3) equals 1

When entered as an array in any three horizontally contiguous cells:

COLUMN(A3:C5) equals {1,2,3}

If COLUMN is entered in C5, then:

COLUMN() equals COLUMN(C5) equals 3