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.
Syntax =COLUMN([reference])
=COLUMN(B6)Arguments
| Name | Required | What to pass |
|---|---|---|
| reference | Optional | The 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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | State | Rate | Column of B6 | |
| 2 | CA | 7.25% | 2 | |
| 3 | FL | 6.00% | ||
| 4 | MA | 6.25% | ||
| 5 | NY | 4.00% | ||
| 6 | TX | 6.25% |
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.