A clean BOM spreadsheet has one row per unique part, one exact manufacturer part number (MPN) on every line, reference designators grouped in a single cell, and no merged cells, blank part numbers or stray spaces. Get those right and every downstream step works: quoting, assembly, and matching lines to live stock. Skip them and the errors surface as rejected uploads, wrong parts and week-long delays. Once the sheet is clean, you can upload it to the Circuit Center BOM tool, which matches each line to real parts and prices the build at your quantity.
This guide covers the column layout, the Excel steps that fix the usual mess, and a final check you can run in ten minutes.
TL;DR
- Every row needs an exact, orderable MPN, a manufacturer, a quantity and a reference designator list. Everything else is optional or conditional.
- Strip invisible problems first: trailing spaces, merged cells, hidden rows, "N/A" placeholders and inconsistent manufacturer names.
- Find duplicates and blanks with helper columns instead of deleting by eye.
- Put alternates on their own rows and mark do-not-populate (DNP) parts with quantity 0.
- Reconcile the cleaned sheet against the schematic before anyone prices or orders from it.
Table of Contents
- Why BOM spreadsheets get dirty
- The columns a clean BOM needs
- Step 1: Save a copy and fix the structure
- Step 2: Normalize text, part numbers and names
- Step 3: Find duplicates before you delete anything
- Step 4: Fill or flag blanks
- Step 5: Handle alternates and DNP parts
- Step 6: Clear stale data without breaking formulas
- Step 7: Validate against the design
- Step 8: Price the cleaned sheet
- Our perspective
- Price your cleaned BOM in one pass
- FAQ
- Sources
Why BOM spreadsheets get dirty
BOMs rarely start in a spreadsheet. They come out of a CAD export, get edited by an engineer, pick up notes from a buyer, and are pasted together with an older revision. Each hand adds its own habits: "TI" in one row and "Texas Instruments" in another, a value typed as "10K" here and "10k 1% 0603" there, a part number with a trailing space you cannot see.
These problems matter because everything that reads the file is literal. A PCB assembly checklist from MOREPCB names merged cells, hidden rows, trailing spaces in part-number fields and irregular column names as the red flags that cause parsing errors at the factory. It also says blank MPN and footprint fields are the two most common causes of factory queries. A buyer or a pricing tool faces the same literalism: a part number with a hidden space is a different part number.
The columns a clean BOM needs
You do not need twenty columns. You need the right six or seven, spelled the same way on every row.
The floor, according to Eurocircuits, is an MPN plus a comma-separated reference designator list. Its fuller layout adds manufacturer, quantity and a Placed yes/no flag. Luminapcb ranks the core columns as line number, reference designator, quantity per board, manufacturer, MPN, description or value, and package, with footprint, population status, approved alternate and notes as conditional extras.
A practical layout for prototype and low-volume work:
| Column | What goes in it | Common mistake |
|---|---|---|
| Line | Unique line number | Renumbering by hand and skipping or repeating numbers |
| Ref Des | All designators for that part, comma-separated (R1, R2, R7) | One row per designator, or ranges like R1-R7 |
| Qty | Number of positions per board | Counting only populated positions |
| Manufacturer | One consistent spelling | "TI" and "Texas Instruments" mixed |
| MPN | Full, exact, orderable part number | Truncated suffixes, generic values like "10k" |
| Description | Short cross-check, such as 10k 1% 0603 resistor | "Resistor" alone |
| Package | Footprint or package name, one naming convention | Mixing "0603" and "R_0603_1608Metric" |
| Notes | Alternates allowed, DNP, do not substitute | Notes jammed into the Ref Des column |
The example layout in Amtech's sample BOM format uses the same core: Line, Ref Des, Qty, primary MPN, Manufacturer and Description. Keep one header row, one sheet, and one part per row.
One rule from the GlobalWellPCB template guide is worth adopting: quantity per board counts positions on the board before population status is applied, and fitted and DNP positions are never mixed in one grouped row.
Step 1: Save a copy and fix the structure
Work on a copy and keep the original untouched. Then fix the structure before you touch any values:
- Unmerge every merged cell. Merged cells break sorting, filtering and any import.
- Unhide all rows and columns. Hidden rows are where stale parts live.
- Delete decorative title rows above the header so row 1 is the header.
- Give every column one clear name. Split any dual-purpose column, such as one holding both reference designators and notes, into two.
- Convert the range to an Excel table (Ctrl+T). Table references survive sorting and row inserts better than loose ranges.
This step takes two minutes and removes a surprising share of import failures.
Step 2: Normalize text, part numbers and names
Invisible whitespace is the most common reason two identical-looking part numbers do not match. In a spare column, enter =TRIM(B2), fill down, then paste the results back as values over the original. Excel's TRIM function removes leading and trailing spaces and collapses repeated spaces. Leila Gharani's Excel guide for engineers walks through TRIM, SUBSTITUTE, LEFT, RIGHT, FIND, LOOKUP and IFERROR on a real BOM dataset, and is a good reference if you want to go beyond the basics.
Then work through these checks:
- MPNs: make sure the full suffix is present. Packaging and temperature-grade suffixes often get truncated when a part number is retyped, and the shortened number may match a different orderable part.
- Manufacturer names: pick one spelling per manufacturer and replace the rest with Find and Replace. Inconsistent names are a classic way to end up with duplicate entries when files are matched against a database.
- Descriptions: write them in a consistent pattern, such as value, tolerance, package, type. "10k 1% 0603 resistor" is useful in review and in substitution. "Resistor" is not.
- Placeholders: replace N/A, null, TBD and dashes with a truly empty cell or a real value. Excel does not treat those strings as blank, so they slip past blank checks.
- Case: MPNs are usually case-insensitive to a distributor but not always to a script. Standardize to the manufacturer's own capitalization.
The PCBSync scrubbing guide makes a useful point about order: normalize headings and whitespace first, without altering the identity of what was ordered, then reconcile the content.
Step 3: Find duplicates before you delete anything
Excel's Remove Duplicates button is blunt. It only removes rows that match exactly across the columns you select, and it can leave you thinking nothing is wrong when invisible differences hide the duplicates. Use a helper column first.
In a new column, count how many rows share the fields that define a record:
=COUNTIFS([MPN],[@MPN],[Manufacturer],[@Manufacturer])
Any value above 1 is a duplicate candidate. The TidyX Excel cleaning guide recommends exactly this approach, using COUNTIFS across the fields that define a record, and a COUNTA helper that returns zero to flag rows that are blank in every column.
Now decide what each duplicate is:
- Same part, split across two rows: merge the designators into one cell, add the quantities, delete the extra row.
- Same part at different board positions with different status: keep both rows. One may be fitted and one DNP.
- A true repeat from pasting two revisions together: keep the row from the newer revision and delete the other.
For reference designators, check that no designator appears on two different rows. If R14 shows up under two part numbers, one of them is wrong, and the schematic decides which.
Step 4: Fill or flag blanks
Sort or filter each required column for blanks. Use Go To Special, then Blanks, to select empty cells in a column in one move. Required columns are MPN, manufacturer, quantity and reference designators. For each blank, either fill it from the schematic or the datasheet, or flag the row in the Notes column so someone owns the question.
Do not guess an MPN from a description. A value like "100nF 0402 capacitor" matches hundreds of parts with different voltage ratings and dielectrics. If the design needs a specific one, the exact part belongs in the sheet. If any equivalent part is fine, say so in Notes and still list one primary MPN.
Step 5: Handle alternates and DNP parts
These two cases cause most of the confusion in an otherwise clean sheet.
Alternates. Amtech's sample format puts an alternate MPN on a new row that uses the same line number as the primary part. That keeps one line per position in the design while making the second source explicit. Do not put two part numbers in one cell separated by a slash. Nothing can parse that reliably. If you want a deeper check before approving a swap, our guide to cross referencing part numbers lists six checks to run first.
Do not populate. Amtech's guidance gives DNP components a quantity of 0 and marks DNP in the MPN, manufacturer or description field. Use one marker, spelled one way, on every such row. Do not delete DNP parts from the BOM if they may be fitted on a later build. That history is what you will want during BOM change management.
Step 6: Clear stale data without breaking formulas
If you reuse a BOM as a template, you will want to wipe old line items without destroying totals and lookups. Two habits help.
First, keep headers, totals and lookup formulas outside the input range. A VBA guide from ITU Online recommends using .ClearContents on only the input range, for example Range("A2:F100").ClearContents, because .Clear also removes formulas, comments and hyperlinks. It also advises testing any destructive macro on a copy.
Second, if you do not use macros, select only the input cells (not whole rows), press Delete, and leave formula columns alone. Converting the range to a table helps here too, because calculated columns refill automatically when you paste new rows.
If you reuse an older BOM, validate it against current availability and the latest schematic before you trust it. ACDI's guide to BOM management from the assembler's side makes the same point, and our piece on avoiding obsolete parts covers how to catch end-of-life parts before they reach a purchase order.
Step 7: Validate against the design
A tidy sheet can still be wrong. Before sharing it, run this final check:
- Count unique parts. Compare the number of unique component types in the BOM with the schematic's own BOM export. Mismatches are questions to resolve against the design source, not against whichever file looks newer.
- Compare designators. Every designator on the board appears exactly once in the sheet.
- Scan for blank MPN and footprint cells. These are the two fields most often behind factory queries.
- Check packages against footprints. A 0603 part on a 0805 footprint is a respin.
- Confirm quantities. Quantity per board times the number of boards, plus any overage you want for attrition, gives the order quantity. Keep the per-board figure and the order total in separate columns.
- Archive the revision. Save it with a revision number and date in the filename rather than overwriting.
The cleaning is only worth it if the sheet then does something. The natural next step is to price it.
Step 8: Price the cleaned sheet
Once the sheet is clean, the BOM tool can read it directly. It takes a spreadsheet, or an export from KiCad, Altium or Eagle, matches every line to real parts, and prices the build at your quantity with a recommended supplier for each line. The file is read in your browser, and only the part numbers are looked up. A share link sends the priced list to a colleague or buyer, so the purchasing conversation starts from the same numbers.

If you design in KiCad, you can skip the spreadsheet stage altogether. The Circuit Designer opens a KiCad project in the browser, with a BOM priced from the catalog. For the walk-through, see KiCad BOM pricing, from schematic to priced build.
Two habits make pricing more useful. Check price breaks, since a quantity just under a break can cost more than buying the larger lot, as explained in how to read component price breaks. And treat the totals as a starting point for the wider cost picture, which BOM pricing: six costs engineers track breaks down.
Our perspective
Most BOM trouble starts as a data problem, not a sourcing problem. A part number with a hidden space, an MPN with its suffix cut off, a manufacturer spelled two ways: none of these look like errors until someone tries to buy from the sheet.
That is why we built the BOM tool around the file you already have. You bring a spreadsheet or a KiCad, Altium or Eagle export, and every line is matched to a real part and priced at your quantity, with a recommended supplier per line. Because the file is read in your browser and only part numbers are looked up, you can run a messy first draft through it and see which lines fail to match. Those are usually the lines that needed cleaning.
Our view is that the spreadsheet should be a short stop between the design and the order, not a place where the design lives. Search, pricing and the design view belong in one workspace, so that a clean BOM stays clean as the design changes.
Matthew
Price your cleaned BOM in one pass
Circuit Center is a free workspace for engineers, buyers and makers who build hardware. Upload your cleaned sheet to the BOM tool and every line is matched to real parts from dozens of distributors, with price and stock compared at 1, 10, 100 and 1,000 pieces, and with a note on whether each price comes from a live distributor feed or an older listing.

Start at the BOM pricing tool, or open the Circuit Center workspace to search parts, view a KiCad design and find suppliers with a pickup counter near you when a missing part cannot wait.
FAQ
What columns should a BOM spreadsheet have at minimum?
An exact MPN and a comma-separated list of reference designators are the minimum, per Eurocircuits. In practice, add manufacturer, quantity, description and package so a buyer or pricing tool can verify each line. Keep alternates and DNP status in their own marked fields rather than in free text.
How do I remove duplicate rows from a BOM without losing data?
Add a helper column with COUNTIFS across the MPN and manufacturer, then review every row that returns more than 1. Merge designators and add quantities where the same part was split across rows. Delete only true repeats, and keep the original copy until the check against the schematic passes.
Why does Remove Duplicates say nothing was removed when I can see duplicates?
Usually there is an invisible difference: a trailing space, a case difference or a hidden character. Run TRIM on the part-number column, paste the values back, and then check again with a COUNTIFS helper column.
How do I clear a BOM template without deleting my formulas?
Select only the input cells, not whole rows, and press Delete, or use a ClearContents macro limited to the input range. Keep headers, totals and lookups outside that range, and test on a copy first.
Can I price a BOM straight from a KiCad, Altium or Eagle export?
Yes. The BOM tool accepts exports from all three as well as spreadsheets, and prices the build at your quantity. A quick clean of the export first, especially of the MPN and manufacturer columns, gives the best matching.
Sources
- The Perfect BOM, Eurocircuits
- Sample BOM Format, Amtech
- How to Read and Verify a PCB Assembly BOM, MOREPCB
- PCB Assembly BOM: 7 Core Columns, Luminapcb
- BOM Template and Guide, GlobalWellPCB
- 10 Excel Functions Engineers Need for BOM and Parts Data, xelplus
- BOM Scrubbing Guide, PCBSync
- How to Clean Data in Excel, TidyX
- Clear Worksheet VBA, ITU Online
- What PCB Assemblers Wish You Knew About BOM Management, ACDI
