VLOOKUP Replace Text of Array Name with New Text

pvragel

New Member
Joined
Dec 15, 2002
Messages
10
I have 2 spreadsheets. Spreadsheet "b" has multiple arrays defined. I want to bring values from these arrays into spreadsheet "A".

I have an existing VLOOKUP statement that accomplishes the basic purpose. Here is an example:
=VLOOKUP(E70,'Quotes+Orders_Worksheet_2018.xlsx'!NWINTLAY120,3)

The problem is that I would like to be able to replace the NWINTLAY120 array with another array, based on a value in a cell.

For example, I have a value in cell g71 that is SWINTLAY200. I want to be able to use this value and create a new VLOOKUP statement that says, for example:
=VLOOKUP(E71,'Quotes+Orders_Worksheet_2018.xlsx'!SWINTLAY200,3)

I would like to do this without the use of VBA or macros.

Any suggestions would be appreciated.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
What is the cell address the array name is based on? If A1, then try:
Code:
=VLOOKUP(E70,[U]INDIRECT("'Quoates+Orders_Worksheet_2018.xlsx'!"&[COLOR=#0000ff][B]A1[/B][/COLOR])[/U][COLOR=#0000ff][/COLOR],3,0)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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