Import Excel Inventory Data into an Access Database
Question details
Import Excel inventory data into the appropriate tables of a normalized Access database.

- Product
- Microsoft Access and Microsoft Excel
- Device & OS
- not provided
- Scenario
- An inventory spreadsheet contains products, quantities, and other values that need to populate related Access tables.
- Observed behavior
- The spreadsheet data needs to be reviewed and mapped to the database's table structure before it can be loaded.
Review the Access table relationships, primary keys, and required fields, and decide how spreadsheet columns map to them. In Excel, check column headers, product identifiers, quantities, and inconsistent or missing values.
Import the Excel sheet into a staging table and load related tables
Use this approach when inventory data must be distributed across multiple related Access tables.
Access can import the spreadsheet, but it cannot automatically determine how its columns should populate a normalized database. The queries you need depend on your table relationships and the quality of the source data.
In Access, open the inventory database and select External Data > New Data Source > From File > Excel. Browse to the workbook and choose to import the source data into a new table.
Follow the wizard to select the worksheet or range, identify the header row, review field types, and name the new table. Open the staging table and check for missing identifiers, duplicate products, and incorrect quantities.
Select Create > Query Design and build a query that compares staging records with the product table using a reliable product identifier. Use an Append query to add only new products and map each field to its destination.
In Create > Query Design, join the staging table to the relevant destination tables using their matching identifiers. Create Append or Update queries as appropriate, and decide whether each quantity should replace an existing value or be added to it.
Open the destination tables and compare record counts, product identifiers, and quantities with the staging table. Review unmatched records and correct the mapping before loading more data.

Link the Excel sheet for a reusable data source
Link the workbook when you want Access queries to read updated spreadsheet data without importing a new staging copy each time.
Prepare Inventory Spreadsheets with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for reviewing and editing inventory spreadsheets. Its Excel format compatibility supports a straightforward transition between office suites, although it does not replace Access import queries or database relationships.

Frequently Asked Questions
Can Access automatically split my Excel inventory into related tables?
No. Import or link the sheet through External Data > New Data Source > From File > Excel, then use queries or VBA to map its values to the appropriate tables.
Should I import or link the Excel workbook?
Import the sheet into a new table when you want a staging copy to inspect in Access. Link it when queries should read the workbook as a source; linked Excel data is read-only in Access.
How can I avoid adding duplicate products?
In Create > Query Design, compare staging records with the product table using a reliable identifier such as a product code. Filter for identifiers not already present before running an Append query.
How do I update existing inventory quantities?
Create an Update query in Access that joins the staging data to the destination table using the correct identifiers. Set the update expression according to whether the imported quantity should replace or be added to the current value, and test it on a small sample.




