View Single Post
  #17   Report Post  
Posted to microsoft.public.excel.worksheet.functions
hightide
 
Posts: n/a
Default Column() to return a letter instead of a number?


=IF(INT(COLUMN()/26)=0,"",CHAR(INT((COLUMN()-1)/26)+96))&CHAR(IF(MOD(COLUMN(),26)=0,26,MOD(COLUMN( ),26))+96)

Change +96 to +64 for CAPS
Point the column() if you do not want the current row
(i.e. column($A1)

On Thu, 16 Feb 2006 21:15:19 -0600, cKBoy
wrote:


Awesome suggestions.. thanks a lot. I have tried
=INDIRECT("'Sheet'!"&CHAR(COLUMN()+64)&ROW()) and it works perfectly!
:) now to try the more complex version for my AA AB columns. Thanks
again guys... you have been very helpful indeed. :)