Log in

View Full Version : Matching Records and updating



tialongz
12-20-2006, 07:56 AM
Access 2003

Hi everyone,

I have 2 excel files. First file is the main table. The second file (update file) include 2 columns. Both have 1 column in common - ID column (unique key). I need to insert the the second column in the second file into the main table, using the common column to match the records.

Someone said use the vlookup function? I have no idea how to operate it.

thanks in advance.

Bob Phillips
12-20-2006, 08:37 AM
Not being funny mate, but it is easy and the Help file describes VLOOKUP well. Check it out and post back if you can't implement it.

austenr
12-20-2006, 11:28 AM
One has to wonder what Access has to do with it.

austenr
12-20-2006, 01:04 PM
see if this query does what you want?

XLGibbs
12-26-2006, 09:30 PM
Update [MainTable]
Set [ColumnName] = table1.[ColumnName]
From Table1 inner join [MainTable] on Table1.UniqueID = [MainTable].UniqueID