Dynamic Index Match Match with Indirect

apzoe

New Member
Joined
Jan 1, 2019
Messages
2
Hi

I'm trying to pull data from many sheets to a sheet called "Catalog", but I'm not getting the results I want.

I'm currently using this:

=INDEX(INDIRECT("'"&Sheet_Table[Sheet_List]&"'!A1:B7"),MATCH(A2,INDIRECT("'"&Sheet_Table[Sheet_List]&"'!A1:A7"),0),MATCH("Price",INDIRECT("'"&Sheet_Table[Sheet_List]&"'!A1:B1"),0))

I need it to pull the price of the items listed in "Catalog" from the sheet where the item is located.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
I would create a range with the relevant sheet names.
Select that range and name the selection MyList.

Formula goes in B2 of Sheet Catalog.
=VLOOKUP(A2;INDIRECT("'"&LOOKUP(REPT("z";255);IF(COUNTIF(INDIRECT("'"&MyList&"'!A2:A9");A2);MyList))&"'!A2:B9");2;0)

Insert with Ctrl+Shift+Enter
And drag down

Sheet Catalog

Row\Col
A​
B​
C​
D​
E​
F​
G​
1​
ProductPriceMyList
2​
aa
1​
Sheet1
3​
gg
8​
Sheet2
4​
Stone
4​
Sheet3
5​
Paper
11​
6​
kk
13​
7​
Glass
14​
8​
ll
15​
9​
ff
7​
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,762
Messages
6,126,737
Members
449,334
Latest member
moses007

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