Return Column Letter Excel

Return Column Letter Excel - Example of what it is giving me: The column number always remains at 27! '[test_v3.xlsm]smry'!b when i only need the letter b Targetcol = selection.address returns a3 i just want it to return a selection.column returns 1 any suggestions? I have a formula in excel to lookup a value in a range and find the letter of the column that contains this value. Pretty sure you should never actually need the column letter.

The only thing i can see that may do this is the column property but this returns a number equivalent. The range in which i need to search is c1:k1. In my humble opinion, in many situations it's actually easier to work with the column number instead of the letter. I need only the column letter to actually be returned. Also, this seems to be the most foolproof method =substitute(address(1,10,4),1.

Find Column With Value Excel Printable Templates Free

Find Column With Value Excel Printable Templates Free

C What is the algorithm to convert an Excel Column Letter into its

C What is the algorithm to convert an Excel Column Letter into its

How To Unhide Row Numbers And Column Letters In Excel Printable

How To Unhide Row Numbers And Column Letters In Excel Printable

Excel How to Find Last Column with Data

Excel How to Find Last Column with Data

Excel How to Find Last Column with Data

Excel How to Find Last Column with Data

Return Column Letter Excel - Eg range(aa1).column = 27 not aa how do i get the letter value? Anything that can be done with the letter can also be done with the number instead. The above refers to solution by vog =char(66+match(a1,c1:k1,0)) in 2010. Example of what it is giving me: I found the above return column letter from match or lookup discussion written a long time ago. Dim trcol as string workbooks.open (thisworkbook.path & workb) sheets(sh).select set cell = cells.find(customer score %, , xlvalues, xlpart, , , false) if not cell is nothing then colletter = split(cell.address, $)(1) trcol = & colletter & else msgbox i cannot find that text on this sheet end if ''''' 'the loop ''''' dim n as long, i as long.

I have a lookup value in cell a1. Pretty sure you should never actually need the column letter. In my humble opinion, in many situations it's actually easier to work with the column number instead of the letter. Dim trcol as string workbooks.open (thisworkbook.path & workb) sheets(sh).select set cell = cells.find(customer score %, , xlvalues, xlpart, , , false) if not cell is nothing then colletter = split(cell.address, $)(1) trcol = & colletter & else msgbox i cannot find that text on this sheet end if ''''' 'the loop ''''' dim n as long, i as long. Eg range(aa1).column = 27 not aa how do i get the letter value?

The Range In Which I Need To Search Is C1:K1.

I have a lookup value in cell a1. How can i return the column letter/cell adress when finding a particular cell using match or lookup. However, this will only find until column z and i need it to go further and return a column letter even if its aa, ab, etc. I need only the column letter to actually be returned.

What If I Am Trying To Return This Answer On A Sheet Separate From Where The Look Up Occurs And It Gives Me An Address With The Name Of The Workbook And Worksheet Along With The Column.

For example, it returns 18. I want to return the letter of column 18 (r) so that i can concatenate the row and column in a formula. The above refers to solution by vog =char(66+match(a1,c1:k1,0)) in 2010. Pretty sure you should never actually need the column letter.

Hi, I Want To Find The Column Letter.

I found the above return column letter from match or lookup discussion written a long time ago. This will give me the column number 27, but the code function will not provide me with the column numbers for columns ab, ac, ad and so on. The column number always remains at 27! In my humble opinion, in many situations it's actually easier to work with the column number instead of the letter.

Anything That Can Be Done With The Letter Can Also Be Done With The Number Instead.

I have a formula in excel to lookup a value in a range and find the letter of the column that contains this value. Targetcol = selection.address returns a3 i just want it to return a selection.column returns 1 any suggestions? Dim trcol as string workbooks.open (thisworkbook.path & workb) sheets(sh).select set cell = cells.find(customer score %, , xlvalues, xlpart, , , false) if not cell is nothing then colletter = split(cell.address, $)(1) trcol = & colletter & else msgbox i cannot find that text on this sheet end if ''''' 'the loop ''''' dim n as long, i as long. '[test_v3.xlsm]smry'!b when i only need the letter b