VLookup Question

B

bnickelsen

In the VLookup Funtion =VLOOKUP(ITEM,RANGE,COLUMN,FALSE)

Both Item and column can refer to a cell to pull info.

Can you do the same with Range?
 
J

Jason Morin

Yes, but you need to use INDIRECT to transform it from a
text string to actual range:

=VLOOKUP(---,INDIRECT(E2),---,---)

HTH
Jason
Atlanta, GA
 
M

Max

Yes, but via using INDIRECT()

Assume the table_array is a named range: TBL

You could then have in say,
D1: TBL << table_array
E1: 2 << column index num

and use something like : =VLOOKUP(A1,INDIRECT(D1),E$1,0)
with lookup values in A1 down
 

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