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?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
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"
 
Upvote 0
Also,
=LEFT(ADDRESS(1,A1,2),1+(A1>26))
will work, where A1 holds the column number of interest.
 
Upvote 0
Ah!! Of course... you can tell that I never create worksheet models with more than 26 columns. :)
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,216,130
Messages
6,129,058
Members
449,484
Latest member
khairianr

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
Back
Top