convert value stored as text to logical refrence value!

G

Guest

I want to read variable from cell. Is it possible to convert value stored as
text to logical refrence value!

For example

I want to use this forumla
=HLOOKUP("Currency";table1;1;FALSE)

But i want to read RANGE TABLE name from another cell - i want it to be
variable

IF i store table1 in cell A4 and write formula
=HLOOKUP("Currency";A4;1;FALSE) then i get error cuz it reads "table1" and
thinks i supply text but i want to supply reference value which is table1 not
"table1"

Maybe there is way to store text in cell as reference value ?
 
B

Bob Umlas

=HLOOKUP("Currency";INDIRECT(table1);1;FALSE)
Bob Umlas
Excel MVP

"Remote Desktop Connection hotkey"
 

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