Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

Excel COLUMN function

doc column 1

Description

Syntax and Arguments

Usage and Examples


Description

The COLUMN function returns the number of column which formula appears or returns the column number of given reference. For example, formula =COLUMN(BD) returns 56.

Syntax and arguments

Formula syntax

COLUMN([reference])

Arguments

  • Reference: Optional. It’s a cell or a range of cells whose column number you want to return, which cannot include multiple references or addresses in the COLUMN function.

Return Value

The COLUMN function returns a number representing the column.

Usage and Examples

Here I list some examples to show how to use the COLUMN function.

Example1: Obtain column number of a given cell reference

Formula

=COLUMN(KG5)

Result: 293
doc column 2


Example2: Obtain column number which the formula is in

Formula

=COLUMN())

Result: 1
doc column 3


Example3: Obtain the leftmost column number while reference is a range of cells

Formula

=COLUMN(G1:J4)

Result: 7
doc column 4


Example4: Obtain the first cell of a data range

Supposing you have a defined name in a sheet which you want to obtain its first cell reference, the COLUMN function combined with the ROW and ADDRESS functions can help you.
doc column 5

Formula

=ADDRESS(ROW(Data),COLUMN(Data))

Explain

ROW(Data):row_num in the ADDRESS function, obtain the topmost row number of the name range of “Data”.

COLUMN(Data): column_num in the ADDRESS function, obtain the leftmost column number of the named range of “Data”.

Result: $B$2
doc column 6


Sample File
doc sample file


Excel Productivity Tools

300 Advanced Features Help You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 70% time.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.

Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Office Tab Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.