# How to use the Excel Column Function

The COLUMN function in Excel returns the column number for a reference. In other words, Column Function too will return the column number of the cell which contains formula when reference is not provided.

### ➡ What is Column Function in Excel?

The function which will returns column number for a reference is called Excel COLUMN Function. It returns the number representing the column.

COLUMN Function uses reference to get column number. Reference can be a single cell address or a range of cells in Excel. Reference will default to the cell in which the COLUMN Function is present.

### ➡  What is the Syntax for Column Function?

The Syntax for COLUMN Function is-

=COLUMN ([reference])

Where,

Reference – It is a reference to a cell or range of cells.

### ➡ How to use the Column Function?

COLUMN Function is used in giving numbers to the columns of cells in excel sheet. Below example will help you to know how to use the Excel Column Function ARE YOU STRUGGLING WITH EXCEL FORMULAS?
Become a "Hero at Office"• 200+ Video Lessons • Real-life Case studies • Lifetime Access

➡ Example:

Here, we have taken three different ways of using this function in the formula. First, if we do not give any cell reference to the function, it will consider the same cell. Second, if we give reference of any cell, it will give the correct number for that column. Therefore, even if we enter range of cells as the reference it will give correct result. ### ➡ Where can we use Column Function?

• Unlike Column Function, Index function too will help to sum the last n columns in a table of data.
• In other words, Excel Column Function will also get a full set of relative column numbers in a range.
• In addition to the COLUMN() functions, ROW() function will help you to dynamically increment a calculation
• To convert a column letter into a regular number, you can use a formula based on the INDIRECT and COLUMN Functions

Recommended Blog:

### ➡ Top 3 Points to Remember:

Reference cannot include multiple references or addresses:

• Similarly, even if reference is not provided, COLUMN Function returns the column number of the cell that contains the formula
• If you give a text value as a reference to the COLUMN Function, you will get a #NAME? error
• A number value entered as a reference will not be accepted in COLUMN Function 