Adding New Field to a Table

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
73,429
Office Version
  1. 365
Platform
  1. Windows
This should be an easy one.

I have a table in Access. I would like to add another field to that table. I have an Excel file that has two fields, the primary key and the field I would like to add to my Access table.

What is the best way of getting the data from the Excel file into my existing Access Table? Can it be imported directly to the exisitng table? Do I need to do some sort of Update query?

No new records will be created by this. All the primary keys in my Excel table already exist in the Access table.

Thanks.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
OK, I figured out one way on my own.

I imported my Excel file into Access. Then I did an Update Query, linking the two tables and updated the values in my Original Access table with the value from the field in the other table.
 
Upvote 0
if the data is good, no duplicates and the like in the key field, you can copy the data in Excel and on open the Access table, go to the very left of the table where the little arrow is pointing to the current record and right click and choose paste.
 
Upvote 0

Forum statistics

Threads
1,221,537
Messages
6,160,394
Members
451,645
Latest member
hglymph

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