Index Match across multiple sheets - multiple results

Garuda44

New Member
Joined
Oct 3, 2017
Messages
2
Evening all, I have spent hours searching threads for an answer to this but to no avail.

I have a workbook with 10 sheets of cost codes, each with a data dump which is a list of specific costs in the cost code. I have a formula in there which picks out the unique suppliers in each dump and also SUMS the value for each supplier.

Now on a summary sheet, I have the following formula which works and returns the cost code (sheet name(s)) the chosen Supplier appears in.

=IFERROR(INDEX(SheetList,SMALL(IF(ISNUMBER(1/COUNTIFS(INDIRECT("'"&SheetList&"'!G2:G14"),$B$4)),ROW(INDIRECT("1:"&COUNTIFS(SheetList,"?*")))),ROWS($A$1:A1))),"")

What I am struggling to create is the formula to tell me what the value is for the chosen supplier on each tab.

I know it possibly sounds complicated, if i can work out how to upload a simple version of my spreadsheet i will do so but any initial suggestions would be great as I have been trying different things all day.

Thanks
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
example - so i have something like this on each sheet;

[table="width: 500, class: grid"]
[tr]
[td]irrigation[/td]
[td]5000[/td]
[/tr]
[tr]
[td]winckworth[/td]
[td]2500[/td]
[/tr]
[tr]
[td]cgma[/td]
[td]10000[/td]
[/tr]
[tr]
[td]GIA[/td]
[td]500[/td]
[/tr]
[tr]
[td]RBA[/td]
[td]1000[/td]
[/tr]
[tr]
[td]stone[/td]
[td]7000[/td]
[/tr]
[/table]

Thanks ti the previous formula, on the summary sheet i have this;

[table="width: 500, class: grid"]
[tr]
[td]cgma[/td]
[td]E6708[/td]
[/tr]
[tr]
[td][/td]
[td]E6556[/td]
[/tr]
[tr]
[td][/td]
[td]E5666[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[/tr]
[/table]

where column 2 are the sheet names, that column 1 appears in. What I need is the formula which will can be dropped down in column 3 and tell me 10000 next to E6708 if that is what that sheet says, then if the value is 3000 in sheet E5666, then also return that value.

Really hope this makes it clearer.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,161
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