View Single Post
  #5   Report Post  
Andy Wiggins
 
Posts: n/a
Default

=CHOOSE(CODE(A1)-96,B1,B2,B3,B4, ... etc ..)

Change the 96 to 64 if you use upper case characters

--
Andy Wiggins FCCA
www.BygSoftware.com
Excel, Access and VBA Consultancy
-

"Drew" wrote in message
...
I am trying to expand my if formula to go through 26 option. however i

need
it to return cells not numbers ie =if(a1="a through z",here i need 26
coresponding cells.
I tried "lookup" but it will not let me put cells in the result vector.
should i be using a different formula?