Indirect/Vlookup/???

G

Guest

I am trying to do a lookup almost entirely based on the contents of various
cells.

I want to use the values sitting in B20 and C20 to get my range. B20 reads
'Sheet2!B80' and C20 is 'Sheet2!L98'. When I use
=VLOOKUP(A20;indirect(B20):indirect(C20);D20;FALSE) then the formula bar says
my table array is volatile.

Has anyone any idea what I should be entering?

Thanks very much.
 
B

Bob Phillips

=VLOOKUP(A20;indirect(B20&":"&C20),D20;FALSE)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
G

Guest

Ahh, that makes more sense. Thanks.
I also eventually realised that C20 should read L98 rather than Sheet2!L98.
It always seems so simple once it's fixed.

I appreciate the help.
Light
 

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

Similar Threads

VLookup Formula 1
Linking to a filtered (hidden) cells 2
Vlook Up Function 1
Array to Multiple Arrays 3
INDEX>MATCH>MATCH 3
Copy specific cells to new rows 1
VLOOKUP with INDIRECT 5
VLOOKUP returns #N/A 3

Top