Unique Values in Two Tables

Waqas ali

Board Regular
Joined
Nov 6, 2010
Messages
163
Dear All,

i have two tables with unique items. for example in table1 i have unique suppliers and in table2 i have unique items but some items i am receiving from more than one suppliers.

how can i make combination of suppliers and items.

if i select supplier 1 it should show which items he is supplying me.

if i select supplier 2 it should show which items he is providing me.

supplier 3 is supplying 10 items from 10 one supplier 1 is and one supplier 2 is supplying.

how can i make combination of supplier and items?:biggrin:
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Easy but improper approach would be to allow the part info to be repeated in the table for each additional supplier. The proper way would be to create a linking table. The relationships between the 3 would be something like below. Hopefully you can see that ST15678 is supplied by companies ABC and Acme.

SUPPLIER
IDNameAddressCityEtc.
1ABC Corp
2XYZ Ltd
3Acme

<tbody>
</tbody>

MasterPartsCatalog
ID StockCodeSuplrPartNo Desc Etc
1 ST15678 123456
2 ST99874 789456
3 ST55887 784573

<tbody>
</tbody>

MPC_Suplr
MPC_IDSUPLR_ID
12
13
21
31
32

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,221,832
Messages
6,162,255
Members
451,757
Latest member
iours

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