Cross Reference of two tables to create a third

lucidus

New Member
Joined
Oct 19, 2012
Messages
2
If someone could please help:

I have the following two sheets:

[TABLE="width: 835"]
<TBODY>[TR]
[TD]Sheet 1</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[TD]Sheet 2</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD][/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Inventory Required</SPAN>[/TD]
[TD]Item1</SPAN>[/TD]
[TD]Item 2</SPAN>[/TD]
[TD]Item 3</SPAN>[/TD]
[TD][/TD]
[TD] [/TD]
[TD]Inventory Required</SPAN>[/TD]
[TD]Item1</SPAN>[/TD]
[TD]Item 2</SPAN>[/TD]
[TD]Item 3</SPAN>[/TD]
[/TR]
[TR]
[TD]Product</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[TD]Supplier</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]P1</SPAN>[/TD]
[TD] [/TD]
[TD]X</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[TD]S1</SPAN>[/TD]
[TD] [/TD]
[TD]X</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]P2</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]X</SPAN>[/TD]
[TD] [/TD]
[TD][/TD]
[TD]S2</SPAN>[/TD]
[TD] [/TD]
[TD]X</SPAN>[/TD]
[TD]X</SPAN>[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]P3</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]X</SPAN>[/TD]
[TD][/TD]
[TD]S3</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]X</SPAN>[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]P4</SPAN>[/TD]
[TD] [/TD]
[TD]X</SPAN>[/TD]
[TD]X</SPAN>[/TD]
[TD]X</SPAN>[/TD]
[TD][/TD]
[TD]S4</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]X</SPAN>[/TD]
[TD]X</SPAN>[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL span=5><COL><COL span=3></COLGROUP>[/TABLE]
I want to create a Sheet 3 that automatically cross references the above sheets as such:
If a Product (i.e. P1) maps to an Inventory Required (i.e. Item 1) and an Inventory Required (i.e. Item 1) is mapped to a Supplier (i.e. S1 & S2) then the results would show which Product (i.e. P1) requires which Supplier (i.e. S1 & S2). It doesn't necessarily have to look like the graph below, a list will do as well, but it would have to be a sustainable/automated process seeing as how there are 200 Products/Supplies and 400 items that constantly change and are "re-mapped." Thanks for your help!

[TABLE="width: 393"]
<TBODY>[TR]
[TD]Sheet 3</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Suppliers</SPAN>[/TD]
[TD]S1</SPAN>[/TD]
[TD]S2</SPAN>[/TD]
[TD]S3</SPAN>[/TD]
[TD]S4</SPAN>[/TD]
[/TR]
[TR]
[TD]Product</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]P1</SPAN>[/TD]
[TD] [/TD]
[TD]X</SPAN>[/TD]
[TD]X</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]P2</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]X</SPAN>[/TD]
[TD]X</SPAN>[/TD]
[TD]X</SPAN>[/TD]
[/TR]
[TR]
[TD]P3</SPAN>[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]X</SPAN>[/TD]
[/TR]
[TR]
[TD]P4</SPAN>[/TD]
[TD] [/TD]
[TD]X</SPAN>[/TD]
[TD]X</SPAN>[/TD]
[TD]X</SPAN>[/TD]
[TD]X</SPAN>[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL span=4></COLGROUP>[/TABLE]
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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