How do I Link data from two tables

iamkennyj

New Member
Joined
Aug 1, 2011
Messages
39
I have a sample table for my vehicle inventory. It includes the collumns model, make, color and code. For every model, make and color vehicle there is a code assigned. For example a ford, focus, red can be assigned code #1. A ford focus, blue can be assigned code #2 and a chevy, camaro, yellow could be assigned code #9.

If I have another table from a third party that includes all of the same collumns except the code collumn, how can I automate the linking of the tables to assign the appropriate code to the third party table?
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Hi and welcome to the board!

I suspect a simple VLOOKUP() function will probably do the job.

If you have any problems writing this yourself, post some sample data indicating clearly what the worksheet names are and which columns the data is in and I'm sure someone will help.

When posting data, place borders around the cells and select a fairly small font such as 8pt, then paste a few lines from each table directly into a message.

(Probably the best tool for linking tables in this way is MS Access.)
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,730
Members
452,939
Latest member
WCrawford

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