How to Sum Values from a Combo Box Column in Microsoft Access
Question details
The user is encountering an error when attempting to calculate the sum of values stored in the second column of a combo box in Microsoft Access.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Building an order entry or tracking system where a combo box holds multiple values, such as an item name and its price, stored within a single table field.
- Observed behavior
- Summing the second column (price) fails and returns an error because the data is formatted as Short Text and saved as a table-level lookup field.
Ensure you have a basic understanding of relational database design, as fixing this error permanently requires restructuring your tables to properly separate your data.
Normalize Your Database and Convert Data Types
The most reliable way to solve calculation errors in Access is to replace multi-value lookup fields with a normalized database structure and correct numeric data types.
Professional database developers strongly advise against using lookup fields directly in tables to store multiple values and prices. This approach hides the actual underlying data and creates significant problems for calculations and queries.
Instead of storing a product name and a price as Short Text in a single combo box field, you should divide your data into dedicated, related tables.
Set up separate tables for Customers, Products, Orders, and Order Details instead of forcing all data into one table.
Open your Products table in Design View and ensure the Price field is set to the 'Currency' or 'Number' data type, rather than 'Short Text'.
Create an Order form for the main transaction details, and insert an Order Details subform to handle multiple line items for each order.
Configure your Order Details form so that when a product is selected, its unit price is automatically copied from the Products table into the specific order line.
Add a text box to the footer of your subform and use the expression =Sum([PriceField]) to properly calculate the total of the numeric values.
Need a simpler way to manage and calculate data? Try WPS Office
While Microsoft Access is a complex tool for relational databases, many data tracking, calculation, and order management tasks can be easily handled in a powerful spreadsheet. WPS Office provides a highly compatible, free alternative to Microsoft Office for your spreadsheet, document, and presentation needs.
- 1. Download the software: Visit the official WPS Office website and download the free installer.
- 2. Install WPS Office: Follow the on-screen prompts to complete the quick installation process.
- 3. Open WPS Spreadsheet: Launch WPS Spreadsheet to easily input, manage, and sum your pricing data without complex database setup.

Frequently Asked Questions
Why does summing a combo box column return a data type error in Access?
If the values inside the combo box are formatted as Short Text, Access cannot perform mathematical operations like SUM on them. You must store the field as a Currency or Number data type in its source table to perform calculations.
Can I extract a specific column from an Access combo box using VBA?
Yes, you can reference a specific column using the Column property in VBA or within an expression. For example, using `Me.ComboBoxName.Column(1)` will retrieve the value of the second column, since the column index is zero-based.
Are multi-value lookup fields recommended in Access tables?
No, database professionals generally advise against using lookup fields directly within tables. They obscure the actual stored data and make queries, calculations, and future data migration significantly more complex.




