Activate worksheet and vlookup command

hardroader

New Member
Joined
Aug 1, 2013
Messages
37
I am attempting to create a comparison type worksheet using the vlookup command.

Vlookup(lookup-value, table-array, col-index, range-lookup) looks like this:
vlookup(a11,G351:ay412,5,false)

For example:
A B C
9 Enter ticker symbol ABT_SAVE ADP_SAVE
10
11 Sector Health Care Technology
12 Industry Med Equip Software

Cell B9 and C9 contains the name of the worksheet where the information resides.

How can I tell the vlookup command to look at ABT_SAVE(vlookup,a11,G351:ay412,5,false)?

Thank you for your assistance.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

RickXL

MrExcel MVP
Joined
Sep 9, 2013
Messages
4,328
Hi,

I think you might be looking for something like this:

=VLOOKUP(A11,INDIRECT(B9 &"!G351:AY412"),2,FALSE)

The INDIRECT() function will look in B9 and add that string to the start of the range address for you.
 

Watch MrExcel Video

Forum statistics

Threads
1,130,112
Messages
5,640,174
Members
417,130
Latest member
Darion2021

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top