View Single Post
  #1   Report Post  
JulieD
 
Posts: n/a
Default vlookup with table_array constructed from mid formula

Hi

i have a text string in cell A1 e.g.
ABCXYDEF
the XY bit will change.

What i want to do is lookup a value in a table that has a range name of XY
e.g. =VLOOKUP(5,mid(A1,4,2),2,0)
but this doesn't seem to work.

how can i do this?

Cheers
JulieD