How to use a table index from a formula

N

narendra

I have a function where I wish to choose my lookup table (I have several
range names defined for each of these tables)
I have written a function which can compute the correct range name but when
I use this in the formula
=VLOOKUP(IF(AE8<0.37;0.37;AE8);(xplace(AU8));4;TRUE) I get an error.
Possibly excel cannot compute xplace(AU8) correctly as a text value .

Pls help

Narendra
 
A

Aladin Akyurek

=VLOOKUP(IF(AE8<0.37;0.37;AE8);INDIRECT(AU8);4;1)

1 has the same meaning/effect as TRUE.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top