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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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.
 
Upvote 0

Forum statistics

Threads
1,203,683
Messages
6,056,728
Members
444,887
Latest member
cvcc_wt

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
Back
Top