Function · Lookup

Excel COLUMN function

The Excel COLUMN function returns the column number of a reference. Column B is 2, so COLUMN of the Texas rate in B6 is 2.

All current Excel versions. Also in Excel for the web and Google Sheets.

Syntax =COLUMN([reference])

COLUMN
=COLUMN(B6)

Arguments

NameRequiredWhat to pass
referenceOptionalThe cell or range. If omitted, COLUMN returns the column of the formula. A is 1, B is 2, Z is 26, AA is 27.

Examples

The column of the rate

=COLUMN(B6)

Result 2

=COLUMN(B6)D2
Rates
ABCD
1StateRateColumn of B6
2CA7.25%2
3FL6.00%
4MA6.25%
5NY4.00%
6TX6.25%
A picture of the sheet, not a live calculator. A is 1. There is no column 0.

COLUMN returns the column as a number. B is 2, so the Texas rate in B6 has column 2. A is 1, Z is 26, and AA is 27. With no argument, the function returns the column of the cell that contains the formula.

Pair it with ROW and ADDRESS when a formula has to describe its own location as text. The number moves if you insert a column to the left. It is a sheet coordinate, the same way ROW is.