COLUMN Function in Excel: Column Number of a Cell

COLUMN Function in Excel: Column Number of a Cell featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 12 October 2026

LookupLevel: BeginnerAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. COLUMN in practice
  5. Where you will use it
  6. Worked example
  7. Mistakes people make
  8. Related functions
  9. Continue learning

COLUMN returns the column number (A = 1). Handy for VLOOKUP formulas that fill across.

Advertisement

Syntax

=COLUMN([reference])
Argument What it means
reference Optional.

Examples

Example 1

=VLOOKUP($A2, Data!$A:$M, COLUMN(B1), FALSE)

Fill right to pull columns 2, 3, 4… without editing each formula.

COLUMN in practice

Where you will use it

  • Number columns in a layout or build a column counter for INDEX
  • Make formulas that change as they are copied across months
  • Find which column a heading sits in (with MATCH it's easier)

Worked example

Cell referenceFormulaResult
A1=COLUMN(INDIRECT(A2))1
D7=COLUMN(INDIRECT(A3))4
XFD1=COLUMN(INDIRECT(A4))16384

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Expecting a letterCOLUMN returns a number; use ADDRESS or SUBSTITUTE tricks to get the letter
Using it inside tables that movePrefer MATCH on headers for robust lookups

COLUMNS Β· ROW Β· MATCH

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Lookup & reference17 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 35 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong

Leave a Reply

Your email address will not be published. Required fields are marked *