Importing data from Excel into Lookup field with values in Access table

Steyn

New Member
Joined
May 1, 2019
Messages
1
Dear Community,

I am in the process of building my first database for all kinds of lubricants that my employer sells.
However, I am now stuck trying to figure out how I can import the data from excell into a dropdown list with 7 values total.
These values are: Can, Spray Can, Pail, Drum, Drum limited edition and Cartridge.

The excell data looks like this:

[TABLE="width: 500"]
<tbody>[TR]
[TD]Itemcode[/TD]
[TD]Packaging[/TD]
[/TR]
[TR]
[TD]250004[/TD]
[TD]Can[/TD]
[/TR]
[TR]
[TD]250011[/TD]
[TD]Pail[/TD]
[/TR]
[TR]
[TD]250028[/TD]
[TD]Drum[/TD]
[/TR]
[TR]
[TD]250035[/TD]
[TD]Drum limited edition[/TD]
[/TR]
[TR]
[TD]250042[/TD]
[TD]Pail[/TD]
[/TR]
[TR]
[TD]250059[/TD]
[TD]Can[/TD]
[/TR]
[TR]
[TD]250066[/TD]
[TD]Cartridge[/TD]
[/TR]
[TR]
[TD]250073[/TD]
[TD]Spray Can[/TD]
[/TR]
[TR]
[TD]250080[/TD]
[TD]IBC[/TD]
[/TR]
[TR]
[TD]250097[/TD]
[TD]Can[/TD]
[/TR]
[TR]
[TD]250117[/TD]
[TD]Drum[/TD]
[/TR]
[TR]
[TD]250120[/TD]
[TD]Can[/TD]
[/TR]
[TR]
[TD]250122[/TD]
[TD]IBC[/TD]
[/TR]
</tbody>[/TABLE]


My question: How can I import this data from Excell into a dropdownlist with the same values in Access. I know how to create a dropdown list with the 7 values, so that is not the problem. The problem is getting the data of over 800 records into an access field with the dropdown list data type, without having to manually do it for every record.

Kind Regards,

Steyn Hendriksen.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Re: Importing data from Excell into Lookup field with values in Access table

with only 7 types that doesn't sound like a problem manually. Otherwise, there is an import wizard for pulling Excel data into Access. Although perhaps it's not entirely clear what you precisely mean by "importing into a dropdown list". Or "getting data into a field" I'm assuming you just mean importing the data from Excel to Access (which means, importing data into a table). There's not really any such thing as importing data directly into a dropdown list.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,874
Members
452,363
Latest member
merico17

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