ReferenceFunctionsLookup Functions
COLUMN
Returns the column number of a reference, or of the current cell when omitted.
Summary
COLUMN returns a 1-based column index (A = 1).
Remarks
- With a range argument,
COLUMNreturns the first column in that reference. - Without arguments, it uses the column of the formula cell.
- Full-row references such as
5:5return1. - Invalid references return an error (
#REF!/#VALUE!depending on context).
Examples
Column of a single-cell reference
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
3
Column of a range
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
2
Related functions
FAQ
What does COLUMN return for a range like B2:D4?
COLUMN returns the first column index of the reference (2 for column B).
What if COLUMN() is used without a reference?
It returns the formula cell's column number, or #VALUE! if current-cell context is unavailable.
Runtime metadata
Category
Lookup
Signature
COLUMN(arg1?: Range (Range))Arity
min 0, max 1
Arguments
arg1optionalby-refRange · Range
Caps
PURE
Source