Dynamic worksheet look up - index match 2-way look up

windb

New Member
Joined
Mar 12, 2016
Messages
23
Hi there,

I have an index match match 2-way look up, which returns data based on another tab. (The index match does a vertical look up and then a horizontal one). The formula works fine, but I would like to introduce a variable into the formula to so it looks up the 'correct' tab, corresponding with the value in column A. I'm not familiar with the Indirect formula, but have tried giving this a go with no success. Is this possible?

The formula needs to allow for the fact that I may have up to 20 or so receiving IDs/ tabs. The range for all tabs will the same, albeit the detail contained within the tabs will be different. Ordinarily, I would just use an IF statement, e.g. IF ABC, then look up the ABC tab, etc but this doesn't feel very efficient in instances where there will be multiple scenarios.

I have attached an image which shows the formula in red, where ideally I would like this to look up tab "CDE" automatically.

Many thanks - appreciate any help in advance!
 

Attachments

  • Excel image.png
    Excel image.png
    18.4 KB · Views: 24

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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