CELL return value without double quotation marks

R

Rui Gomes

I' using a CELL function within a VLOOKUP funtion, but the returned value
came between quotation marks:
VLOOKUP(G13;CELL("contents";H5);2;FALSE)

CELL("contents";H5) contains a table range name.

How can I put the CELL returned value without the double quotation marks?

--------- " ----------
ADSE = $B$2:$E$960
CELL("contents";H5) = ADSE

I want - VLOOKUP(G13;ADSE;2;FALSE)
I get VLOOKUP(G13;"ADSE";2;FALSE)

Thank you
Best regards
Rui Gomes
 
T

T. Valko

Try it like this:

=VLOOKUP(G13;INDIRECT(H5);2;FALSE)

I'm assuming that the named range is a *static* range.
 

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