Concatenate and use cell value in formula

G

gibbylinks

I have defined 16 ranges named Range00 to Range44.

Then I have two cells, one selects the first part, i.e
Range0,Range1,Range2,Range3 & Range4 then the second selects 0,1,2,3 or 4
dependent on another cell value.

I want to combine these two cell values and then use the result in a vlookup
function.

Can I do this ?

Thanks
 
E

Elkar

Yes, the INDIRECT function should work for you:

Let's say your first cell is A1 and second cell is A2, you'd use something
like:

=VLOOKUP(123,INDIRECT(A1 & A2),2,False)

HTH,
Elkar
 

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