Calculate installed quantities from the approved revision and variant. Subtract usable project inventory, add approved material allowances separately, then calculate order quantities using the actual MOQ and pack multiples. Check the Excel results against part numbers, reference designators, and exceptions.
Use Excel to Reconcile BOM Revisions and Purchase Quantities
Subtracting BOMs row by row can turn a sort change into a false shortage or mix per-board quantities with batch quantities. Save the original files, approved revisions, variants, and current production plan before preparing working copies. The tables and formulas below are a reviewable spreadsheet example. Live inventory and purchase approvals are separate.
Compare both revisions using the same production plan. If the board quantity changed, show the effects of the design change and the production plan change separately. Standardize units first. Reels, packages, and individual parts need a common unit before comparison.
Build a detail table by revision and variant
Convert the prepared detail range to an Excel table named Lines. The English column names below are for the sample formulas. Store the original manufacturer, complete part number, and unit in separate columns. Each row identifies a reviewed set of parts and reference designators by their data, independent of worksheet row order.
| Example column name | What to enter and check |
|---|---|
| Key | Approved match ID tied to manufacturer, full manufacturer part number, and unit |
| Rev / Variant | Revisions R0 and R1 and the actual variant. Keep different assembly variants separate. |
| Refs | Verified physical assembly reference designators. Expand ranges such as R1–R4. |
| Fit | Populated or DNP. Resolve any unknown status before proceeding. |
| PerBoard | Quantity placed per board for this row. For approved DNP, enter 0 and keep the designator and reason. |
| Boards | Approved board quantity for this variant. Avoid multiplying an already extended batch quantity. |
| Demand | Demand for this line equals PerBoard × Boards. Enter values as numbers. |
Validate matches before totaling quantities
Demand for the same part can be totaled across variants. Count each physical reference designator only once within a revision and variant. After expanding designators, reconcile the populated count with the per-board quantity. Multi-unit schematic symbols may represent one physical part. Keep different suffixes, packages, grades, and units separate. Keep the alternate approval record and identify which part will actually be purchased.
Assign a stable match ID such as P001 to each confirmed manufacturer, full part number, and unit combination. Preserve the original identifiers and use exact approved matches. SUMIFS is case-insensitive and interprets wildcards. Keep *, ?, and ~ out of the sample keys and avoid keys that differ only by case. Ask engineering to resolve uncertain matches.
Combine keys from both revisions and retain additions, removals, and DNP
Create a Summary table with every Key from either revision. Mark added, removed, DNP-only, and changed quantities separately. Verify that a missing row is an intentional deletion. Blank cells require confirmation before counting as zero demand.
After checking status and quantity, enter the formula below in the Demand column of Lines. In Summary, Old and New total R0 and R1 respectively, and Delta subtracts old demand from new. Use criteria and sum ranges of the same length from the same table. The examples use English function names and comma separators. Check function names, separators, table names, and results in your Excel environment.
Convert the totals range to an Excel table named Summary and add the Key, Old, New, and Delta columns.
| Target column | Example formula |
|---|---|
| Demand in Lines | =[@PerBoard]*[@Boards] |
| Old in Summary | =SUMIFS(Lines[Demand],Lines[Key],[@Key],Lines[Rev],"R0") |
| New in Summary | =SUMIFS(Lines[Demand],Lines[Key],[@Key],Lines[Rev],"R1") |
| Delta in Summary | =[@New]-[@Old] |
For this quantity example, the plan is unchanged across both revisions at 60 sensor boards and 40 controller boards. All rows use the same approved part Key. R2 on the controller moves to DNP in the new revision. Keep that row for the audit trail.
| Revision | Variant / status | Reference designator | Quantity placed per board | Boards | Requirements |
|---|---|---|---|---|---|
| R0 | Sensor / populated | R1, R2 | 2 | 60 | 120 |
| R0 | Controller / populated | R1, R2 | 2 | 40 | 80 |
| R1 | Sensor / populated | R1, R2 | 2 | 60 | 120 |
| R1 | Controller / populated | R1 | 1 | 40 | 40 |
| R1 | Controller / DNP | R2 | 0 | 40 | 0 |
Old demand was 200 parts and new demand is 160, a change of −40. Confirm inventory, approved extras, and purchasing constraints to calculate how many to buy.
Old = 120 + 80 = 200; New = 120 + 40 + 0 = 160; Delta = 160 − 200 = −40
Account for inventory and purchasing pack size separately
In Usable, enter released stock available to this project in the same unit and free of other commitments. Count each lot once. List open receipts, quarantined stock, reservations, and stock with unclear ownership separately. Supplier website availability is distinct from stock available to this project. Extra is the approved quantity for trials, losses, or spares for this run. Confirm the exact quantity.
| Example status | Quantity in pieces | How to count it |
|---|---|---|
| Approved available inventory for this project | 50 | Include in Usable |
| Other stock already reserved | 10 | Exclude from Usable in this example |
| Other stock on hold | 5 | Exclude from Usable until released |
| Approved extra parts | 8 | Include the approved quantity in Extra |
This formula applies to integer part counts in a single unit. Confirm the actual purchase minimum (MOQ) and pack size (Pack). Pack must be a positive integer. When there is a shortage, order a full pack multiple that meets the MOQ. If there is no shortage, the purchase quantity is 0. Hold the calculation for approval if any input is unknown. Enter 0 or 1 only when confirmed.
In Summary, add Extra, Usable, MOQ, and Pack as inputs and Shortage, ToBuy, and Excess as calculated columns.
| Summary column | Example formula |
|---|---|
| Shortage · nonnegative quantity needed | =MAX(0,[@New]+[@Extra]-[@Usable]) |
| ToBuy · planned purchase quantity | =IF([@Shortage]=0,0,ROUNDUP(MAX([@Shortage],[@MOQ])/[@Pack],0)*[@Pack]) |
| Excess · planned remaining quantity | =[@Usable]+[@ToBuy]-[@New]-[@Extra] |
This example assumes no open purchase order covers the remaining demand. Before approval, check existing purchase orders (POs), demand allocation, and expected receipt dates to prevent duplicate orders. Track incoming quantities separately from usable on-hand stock. Hold the recommendation if PO coverage or delivery timing is uncertain.
In this example, new demand is 160, extras are 8, and usable stock is 50, leaving a shortage of 118. With an assumed MOQ of 100 and a pack multiple of 25, plan to purchase 125 parts with 7 remaining. These seven parts are a planning balance. Actual consumption, losses, returns, and sellable stock require separate records.
Shortage = MAX(0,160 + 8 − 50) = 118; ToBuy = ROUNDUP(MAX(118,100)/25,0) × 25 = 125; Excess = 50 + 125 − 160 − 8 = 7
Send exceptions to their owners before release
| Release blockers | Action and output |
|---|---|
| Duplicate designators, ambiguous part numbers, or unclear units | Resolve against original files and approvals before totaling quantities |
| Blank status, numbers stored as text, negative quantities, or a pack size of zero | Correct the inputs and keep formula errors or unknown values visible until resolved. Reserve 0 for an actual zero. |
| Unexplained additions, removals, DNP changes, or board quantity changes | Document the reason, impact, and approver for each change |
| Unconfirmed inventory snapshot, reservations, or extras | Hold the purchase recommendation and record the owner and quantity to confirm |
| Formula totals differ from manual checks | Check filters, ranges, and units. Reconcile line demand and totals. |
Deliver the revision-controlled demand comparison, documentation for usable stock, shortage and pack rounding calculations, planned ownership of excess parts, and open items. Engineering confirms population and alternates. The material owner verifies stock, and procurement confirms MOQ, pack size, and ordering authority. Confirm part suitability, channel authorization, and board functionality separately before release.
Hand off the reconciliation to the appropriate teams
Component sourcing and substitution authority · Assembly documentation and revision inputs · Board traceability records · Shortage and split-run approval · Parts sourcing models and ownership of excess inventory · Submit revisions and open items
Formulas and engineering references
Link Each Board to Its Actual Revision, Materials, and Production Records · List Faults and Functions Before Comparing Test Coverage and Cost · Automotive PCB Assembly · Component Sourcing | Freeze Part Numbers and Alternate Approval Rules · From PCBA delivery to a finished product with harnesses and housing · PCB Assembly RFQ Template | Align Revisions and Quote Scope · Electrical and mechanical evidence for cable harness acceptance
