Function Problems

How to Deduct Multiple Inventory Parts with a Bill of Materials in Excel

Phi Hung VoPhi Hung Vo Nov 10, 2026 871 views

Question details

The user needs to deduct all component parts of an assembly from their inventory by using a Bill of Materials (BOM) mapping table that links groups to required part quantities.

How to Deduct Multiple Inventory Parts Using a Bill of Materials in Excel
Product
Excel
Device & OS
not provided
Scenario
Managing manufacturing or assembly inventory where selling or using one 'group' or assembled product must systematically reduce the stock of multiple underlying component parts.
Observed behavior
To calculate the current stock, total component usage must be deduced by multiplying the groups used by the component quantity per group, and then subtracting that total from incoming stock quantities.
Before you start

Ensure you have an accurate list of incoming stock quantities and a clearly defined mapping table detailing exactly which component part numbers belong to each assembly group.

Solution 1Recommended

Calculate Deductions Using SUMIFS and Helper Columns

Use a combination of transaction records, a mapping table, and SUMIFS formulas to accurately calculate component usage and current stock levels.

This method involves establishing two separate tables: one for recording assembly group transactions and another for defining your Bill of Materials (BOM). By multiplying the usage and aggregating the data with SUMIFS, you can maintain accurate stock counts.

1
Set up your Transaction Table

Create a table with 'Date', 'Group', and 'Quantity Used' columns to log every time an assembly group is produced or sold.

2
Create the BOM Mapping Table

Set up a mapping table containing 'Group', 'Part Number', and 'Quantity per Group' to define the components needed for one unit of each assembly.

3
Calculate component usage per transaction

Add a helper column to your mapping table or use a SUMPRODUCT formula to multiply the 'Quantity per Group' by the total 'Quantity Used' of that specific group from your transaction table.

4
Summarize total deductions and current stock

In your main inventory sheet, use the SUMIFS function to calculate the total required deduction for each 'Part Number'. Then, subtract this calculated total from your initial 'Incoming Quantity' to find the current stock.

Calculate Deductions Using SUMIFS and Helper Columns
Automation Tip: Format your data ranges as Excel Tables (Ctrl + T) so that your SUMIFS formulas automatically include new data as you log additional transactions.
Optimize Inventory Management with WPS Spreadsheet

Manage Your Bill of Materials Inventory Using WPS Office

WPS Spreadsheet provides powerful data processing tools, advanced formulas like SUMIFS, and dynamic PivotTables to help you build an automated and accurate inventory deduction system.

  1. 1. Open your inventory workbook: Launch WPS Spreadsheet and open the file containing your transaction logs and BOM mapping tables.
  2. 2. Apply calculation formulas: Use the built-in SUMIFS or SUMPRODUCT functions within the formula bar to dynamically calculate the deductions for each component part.
  3. 3. Summarize with PivotTables: Navigate to the 'Insert' tab and select 'PivotTable' to easily group and summarize your component usage data without needing complex code.
Fully compatible with Microsoft Excel formats (.xlsx and .xls)Supports advanced array formulas and lookups like SUMPRODUCT and XLOOKUPIncludes robust PivotTable features for rapid data summarizationFree, lightweight, and features an intuitive tabbed interface
microsoft office alternative - wps office

Frequently Asked Questions

What if a single component is used in multiple different assembly groups?

Using the SUMIFS function or a PivotTable will naturally handle this. These methods aggregate the total usage of a specific component by matching the 'Part Number' criteria, regardless of which different assembly groups triggered the usage.

Is Power Query better than SUMIFS for calculating inventory deductions?

Power Query is highly recommended for large datasets or complex BOM structures. It allows you to merge the transaction and mapping tables and group the parts automatically without bogging down your workbook with thousands of calculating formulas.

How do I handle multi-level Bill of Materials in Excel?

For multi-level BOMs (where a sub-assembly is made of smaller parts), a simple mapping table isn't enough. You will need a parent-child hierarchy table and may require more advanced Power Query steps or VBA scripting to calculate the fully exploded component requirements.

Why is my SUMIFS formula returning zero for my part deductions?

This usually occurs if there is a formatting mismatch (e.g., numbers stored as text) or if there are trailing spaces in your 'Part Number' or 'Group' names. Ensure that the text in your transaction table exactly matches the text in your mapping table.