Column Number to Letter?

dave_d

New Member
Joined
Sep 16, 2002
Messages
6
Is it possible to pull out a column letter rather than the column number? If not is there an easy way to convert the number to the proper letter?
 

Some videos you may like

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Mark W.

MrExcel MVP
Joined
Feb 10, 2002
Messages
11,654
The 2nd argument to the ADDRESS worksheet function is a column number...

=LEFT(ADDRESS(1,1,2)) produces "A"
=LEFT(ADDRESS(1,2,2)) produces "B"
=LEFT(ADDRESS(1,13,2)) produces "M"
 

IML

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,743
Also,
=LEFT(ADDRESS(1,A1,2),1+(A1>26))
will work, where A1 holds the column number of interest.
 

Mark W.

MrExcel MVP
Joined
Feb 10, 2002
Messages
11,654
Ah!! Of course... you can tell that I never create worksheet models with more than 26 columns. :)
 

Jay Petrulis

MrExcel MVP
Joined
Mar 17, 2002
Messages
2,040
Hi,

Here's another option

=SUBSTITUTE(ADDRESS(1,COLUMN(),4),"1","")

IML's reply is shorter, so that would likely be preferable.

There are some UDF's that have been posted, but they will be slower than a native Excel solution.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,337
Messages
5,601,026
Members
414,422
Latest member
acegreen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top