Back to functions
Lookup & Reference2026-06-1310 related articles

COLUMN Function in Excel

Return the column number of a reference or of the cell that contains the formula.

Syntax

COLUMN([reference])

Arguments

reference

Optional

The cell or range whose column number you want Excel to return.

What it returns

Returns the column number of the reference, or the current formula cell if no reference is supplied.

What COLUMN does

COLUMN returns a column number. It is useful in formulas that need to identify where data sits horizontally, especially when the workbook structure may shift later.

Practical examples

Return the column number of a specific cell

=COLUMN(D10)

This returns 4 because column D is the fourth column.

Build a running column sequence

=COLUMN(C2)-COLUMN($C$2)+1

This turns worksheet column positions into a sequence that starts at 1.

Common mistakes and notes

Omitting the reference uses the current cell

If you enter COLUMN() by itself, Excel returns the column number of the cell that holds the formula.

Ranges return the leftmost column unless spilled as an array

A multi-column reference in a normal formula returns the first column number rather than every column number.

COLUMN is often used inside larger formulas

Like ROW, COLUMN is commonly a building block for dynamic references, offsets, and reusable array logic.

Related functions

Related articles

Deep dives, troubleshooting guides, and practical examples that use COLUMN.

General Updates
2019-08-22

How to Calculate Z Score in Excel: What You Need to Know

Getting some clarity on the topic will make it that much easier to learn how to calculate a z-score in Excel when the time comes....

9 min read
Read Article
BeginnerFormatting
2019-07-04

How to Add a Row in Excel: Step by Step Process

Microsoft Excel is a great tool to use for work, school and even for personal data purposes. In case you're wondering, here's how to add a row in excel....

8 min read
Read Article
FeaturesIntermediate
2019-06-20

How to Remove Duplicates in Excel: An Easy Guide

Are you wondering how to remove duplicates in Excel? Check out our easy guide for step by step instructions and all the information you need....

3 min read
Read Article
BeginnerFormatting
2019-06-19

How to Hide Columns in Excel

As great as columns are in Excel you don’t always need to see every single one. Let’s take a look at how to hide columns in Excel, and unhide them too....

#rows-columns#formatting
6 min read
Read Article
Beginner
2019-06-13

How to Randomize a List in Excel: Our Complete Guide

How to randomize a list in excel? How would you do it? In this article, we listed our complete guide to help you on this kind of formula....

8 min read
Read Article
General Updates
2019-03-29

Sort Your Life into Neat Little Boxes with These Excel Basics

Jobs nowadays require basic knowledge of Excel. Spark your skills with these excel basics we have on this article that will surely speed up your workflow....

28 min read
Read Article
Formulas
2012-03-25

The VLOOKUP Function - Inside Out

Learn the VLOOKUP function in Excel by looking at the four arguments in reverse order....

4 min read
Read Article
FormulasIntermediate
2011-09-06

Fill Down a Formula with VBA

Here is some VBA code I use to copy a formula down to the end of a data range. It assumes a heading in row 1 and the formula in row 2....

#vba
2 min read
Read Article
FeaturesIntermediate
2011-03-03

Sorting with Custom Lists in Excel

Sorting with a Custom List makes things simpler when Excel doesn't have a default sort order to fit your needs....

3 min read
Read Article
Intermediate
2010-07-13

Text To Columns in Excel

Parse text data with Excel's Text to Columns feature....

3 min read
Read Article

Official documentation