On this page13 sections
In short
A bill of materials lists every part, subassembly and material needed to make one unit of a product, with the quantity each parent needs. A multi-level BOM adds a Level column, so formulas can multiply quantities down the tree, add scrap, roll costs up to each assembly and total what to buy for a production run. Foxcolab Sheets does all of it with XLOOKUP, XMATCH and SUMIFS, end-to-end encrypted.
Key takeaways
- Enter each quantity per one of its parent, never per finished product, and let a formula multiply down the levels.
- A Level column turns a flat list into a multi-level BOM. Each part sits directly below its parent.
- Extended quantity is quantity per × (1 + scrap) × the parent's extended quantity.
- An assembly's rolled-up cost is the sum of the extended costs in its block of rows, including its own assembly labor.
- Foxcolab Sheets encrypts your BOM on your device, so Foxcolab can't read your parts list, suppliers or costs.
Last reviewed 3 December 2026 by Foxcolab Team
A bill of materials (BOM) lists every part, subassembly and raw material needed to make one unit of a product, with the quantity each one needs. A multi-level bill of materials also shows the structure: the finished product, the subassemblies that go into it, and the parts that go into those. With that structure, a few formulas explode the quantities for a production run and roll costs up from purchased parts to the finished product. This guide shows the layout, a worked example in rupees, and every formula, built in Foxcolab Sheets, where the BOM is end-to-end encrypted.
Single-level or multi-level#
| Single-level BOM | Multi-level BOM | |
|---|---|---|
| Shows | The parts that go straight into one item | The whole tree, down to raw materials |
| Looks like | One flat list | An indented list with a Level column |
| Good for | A simple product, or one subassembly | Anything with subassemblies, and cost roll-ups |
| Answers | What do I need to make this? | What goes into what, and what does each assembly cost? |
A multi-level BOM is a stack of single-level ones: each assembly's children sit directly below it, one level deeper. That order is what lets the formulas work.
The columns#
| Column | Holds | Example |
|---|---|---|
| A: Level | 0 for the product, 1 for what goes into it, and so on | 2 |
| B: Part no. | One code per part, used everywhere it appears | CS-112 |
| C: Description | What it is | Castor, 50 mm |
| D: Make/Buy | Make for assemblies, Buy for purchased parts | Buy |
| E: Qty per | How many go into one of its parent | 5 |
| F: Unit | pcs, m, kg, pairs | pcs |
| G: Scrap % | Extra to allow for waste | 8% |
| H: Unit cost (₹) | Purchase price, or labor and overhead for an assembly | 45 |
| I: Ext qty | Formula: how many per finished product | 5 |
| J: Ext cost (₹) | Formula: Ext qty × Unit cost | 225 |
| K: Rolled cost (₹) | Formula: this row plus everything below it | 225 |
Qty per is the column people get wrong. A seat cushion needs 0.6 m of fabric. Enter 0.6 against the cushion, not the fabric for a whole chair. The formula multiplies down the levels for you.
A worked example: an office chair#
Example Seating's chair has four subassemblies, one of which (the seat) has its own subassembly (the cushion):
| Level | Part no. | Description | Make/Buy | Qty per | Unit | Scrap | Unit cost (₹) | Ext qty | Ext cost (₹) | Rolled cost (₹) |
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | CH-100 | Office chair | Make | 1 | pcs | 0% | 350 | 1 | 350.00 | 5,095.24 |
| 1 | BA-110 | Base assembly | Make | 1 | pcs | 0% | 60 | 1 | 60.00 | 1,445.00 |
| 2 | BS-111 | Five-star nylon base | Buy | 1 | pcs | 0% | 640 | 1 | 640.00 | 640.00 |
| 2 | CS-112 | Castor, 50 mm | Buy | 5 | pcs | 0% | 45 | 5 | 225.00 | 225.00 |
| 2 | GL-113 | Gas lift | Buy | 1 | pcs | 0% | 520 | 1 | 520.00 | 520.00 |
| 1 | SA-120 | Seat assembly | Make | 1 | pcs | 0% | 80 | 1 | 80.00 | 1,815.44 |
| 2 | SC-121 | Seat cushion | Make | 1 | pcs | 0% | 40 | 1 | 40.00 | 773.44 |
| 3 | PL-122 | Plywood seat board | Buy | 1 | pcs | 2% | 210 | 1.02 | 214.20 | 214.20 |
| 3 | FM-123 | Foam pad, 50 mm | Buy | 1 | pcs | 5% | 260 | 1.05 | 273.00 | 273.00 |
| 3 | FB-124 | Upholstery fabric | Buy | 0.6 | m | 8% | 380 | 0.648 | 246.24 | 246.24 |
| 2 | MC-125 | Synchro mechanism | Buy | 1 | pcs | 0% | 950 | 1 | 950.00 | 950.00 |
| 2 | HW-M6 | Screw M6 x 20 | Buy | 4 | pcs | 0% | 3 | 4 | 12.00 | 12.00 |
| 1 | BR-130 | Backrest assembly | Make | 1 | pcs | 0% | 70 | 1 | 70.00 | 794.80 |
| 2 | BF-131 | Back frame | Buy | 1 | pcs | 0% | 480 | 1 | 480.00 | 480.00 |
| 2 | MS-132 | Mesh fabric | Buy | 0.5 | m | 8% | 420 | 0.54 | 226.80 | 226.80 |
| 2 | HW-M6 | Screw M6 x 20 | Buy | 6 | pcs | 0% | 3 | 6 | 18.00 | 18.00 |
| 1 | AR-140 | Armrests, pair | Buy | 1 | pairs | 0% | 690 | 1 | 690.00 | 690.00 |
Read the seat assembly's rolled cost from the rows below it: ₹80 of assembly labor, the cushion's ₹773.44, the mechanism's ₹950 and ₹12 of screws make ₹1,815.44. The chair's row adds up the whole list: ₹5,095.24 a chair, so a run of 250 chairs needs ₹12,73,810 of materials and assembly labor.
The formulas#
Put the headings in row 1 and the BOM from row 2, then fill these three formulas down past the last row, to row 60:
I2 Ext qty =IF(A2="","",IF(A2=0,E2,E2*(1+G2)*XLOOKUP(A2-1,A$1:A1,I$1:I1,,0,-1)))
J2 Ext cost =IF(A2="","",I2*H2)
K2 Rolled cost =IF(A2="","",SUM(J2:INDEX(J2:J$60,IFERROR(XMATCH(TRUE,A3:A$61<=A2),ROWS(A3:A$61)))))How they work:
- Ext qty finds the parent. XLOOKUP looks for the level number one less than this row's, in the rows above this one, searching from the bottom up (the final
-1). The nearest such row is the parent, because each part sits below its parent. The parent's extended quantity times this row's quantity per, plus scrap, gives the quantity per finished product. Scrap compounds down the tree, which is what happens on the shop floor. - Ext cost multiplies by the unit cost. An assembly's unit cost is its own labor and overhead, so the assembly work is counted once, at its own level.
- Rolled cost finds where this row's block ends. XMATCH looks down for the first row whose level number is the same or smaller, which is where the next sibling or a new branch starts. An empty row counts as level 0, so the end of the list works too. SUM adds the extended costs from this row to the row before that one.
To see an assembly's cost per unit of that assembly, divide its rolled cost by its extended quantity. Every assembly in the example appears once per chair, so the two figures match, but a subassembly used twice per product would show half its rolled cost per unit.
Look up values with XLOOKUP and VLOOKUP explains XLOOKUP's match and search modes in detail.
Explode it for a production run#
The same screw appears under the seat and the backrest. To know what to buy, total each part across the tree and multiply by the run. On a second sheet named Requirements, put Build quantity in A1 and 250 in B1, and headings in row 3: Part no., Description, Unit, Needed, On hand, To buy.
A4 Part list =UNIQUE(FILTER(BOM!B2:B60,BOM!D2:D60="Buy"))
B4 Description =IF(A4="","",XLOOKUP(A4,BOM!B$2:B$60,BOM!C$2:C$60))
C4 Unit =IF(A4="","",XLOOKUP(A4,BOM!B$2:B$60,BOM!F$2:F$60))
D4 Needed =IF(A4="","",SUMIFS(BOM!I$2:I$60,BOM!B$2:B$60,A4)*$B$1)
E4 On hand =IF(A4="","",XLOOKUP(A4,Stock!A$2:A$100,Stock!B$2:B$100,0))
F4 To buy =IF(A4="","",MAX(0,ROUNDUP(D4-E4,0)))A4 spills the purchased part numbers down the column, one each, so fill B4:F4 down to row 40 and leave the cells below A4 empty. E4 reads stock from a Stock sheet with part numbers in column A and quantities in column B, so stock counts stay matched to their parts when the list changes. How to make an inventory spreadsheet shows how to keep that sheet current.
For 250 chairs, with 400 castors, 3,000 screws and 40.5 m of fabric in stock:
| Part | Needed | On hand | To buy |
|---|---|---|---|
| HW-M6 Screw M6 x 20 | (4 + 6) × 250 = 2,500 | 3,000 | 0 |
| CS-112 Castor, 50 mm | 1,250 | 400 | 850 |
| FB-124 Upholstery fabric | 162 m | 40.5 m | 122 m |
| FM-123 Foam pad, 50 mm | 262.5 | 0 | 263 |
| PL-122 Plywood seat board | 255 | 0 | 255 |
| MS-132 Mesh fabric | 135 m | 0 | 135 m |
ROUNDUP turns half a foam pad into a whole one. Turn the To buy column into orders with How to make a purchase order.
Build the BOM in Foxcolab Sheets#
A BOM is your product's recipe: every part, every supplier price and your margin. Foxcolab Sheets encrypts every spreadsheet on your device with its own key, and cells, titles and comments are encrypted before they sync, so Foxcolab can't read them. Sheets comes with every Foxcolab account, the free plan included.
Set up the sheet#
Create the spreadsheet
In your Sheets library, click New, then Blank spreadsheet. Name the tab BOM, type the eleven headings in row 1, and choose View → Freeze → 1 row so they stay in sight.
Guard the Level column
Select A2:A60 and choose Data → Data validation → Add rule. Set Criteria to Number, between 0 and 9, turn on Whole numbers only, choose Reject the input and click Done.
Add the Make/Buy list
Select D2:D60, choose Insert → Dropdown, add Make and Buy, and click Done. The Requirements sheet only counts rows marked Buy.
Format the numbers
Select G2:G60 and choose Format → Number → Percent. Select H2:H60 and J2:K60 and choose Format → Number → More currencies → Indian rupee.
Paste the formulas
Type the I2, J2 and K2 formulas above, then select I2:K2 and drag the fill handle down to row 60.
Catch structure mistakes#
A part can only be one level deeper than the row above it. Select A3:K60, choose Format → Conditional formatting → Add rule, pick Custom formula is under Format cells if, enter =$A3-$A2>1, choose a red Formatting style and click Done. A row that jumps from level 1 to level 3 turns red, because its parent is missing.
For a second check, compare the chair's rolled cost in K2 with =SUM(J2:J60). They should match.
Chart where the cost goes#
On a sheet named Summary, put =FILTER(BOM!C2:C60,BOM!A2:A60=1) in A2 and =FILTER(BOM!K2:K60,BOM!A2:A60=1) in B2. They list the level 1 assemblies and their rolled costs: base ₹1,445, seat ₹1,815.44, backrest ₹794.80 and armrests ₹690. Select them and choose Insert → Chart, then pick Donut under Chart type. The seat is more than a third of the chair, so that's where a cheaper mechanism or fabric pays off first. Charts live inside the spreadsheet, so they're encrypted with it.
Control revisions#
Every engineering change alters the BOM, and production needs to know which version they built. Before each release, choose File → Version history, click Name current version and type a revision, such as Rev B, 3 Dec 2026. You can open any named revision later and restore the whole BOM, one sheet or a selected range (Restore a previous version). File → Show changes lists who changed which cell and when.
Propose changes as comments rather than edits: select the row and choose Insert → Comment, so the change is discussed before anyone types over a quantity.
Share it without giving away your costs#
- Your team: click Share and invite engineers and buyers as Editor. Protect the formula columns with Data → Protect sheets and ranges and Only the owner and you.
- A supplier quoting on parts: choose File → Make a copy, delete the cost and roll-up columns from the copy, and share that copy as Viewer with Access expires set. Switch off Viewers can download, print and copy if they only need to read it.
If you remove someone with Remove access, Sheets puts a new key in place, so their old copy can't read anything you add afterward.
Mistakes that break a BOM#
| Mistake | What happens | Fix |
|---|---|---|
| Qty per finished product entered at a deep level | Quantities get multiplied twice | Enter quantity per one of the parent |
| A level that jumps by two | The part attaches to the wrong parent | The red level-jump rule |
| A part out of order | It rolls up into the wrong assembly | Keep each part directly below its parent |
| The same part number with two descriptions | Buyers order the wrong item | One code, one description, used everywhere |
| No scrap allowance | You run short of fabric halfway through the run | A Scrap % column in the formula |
| Assembly labor left out | The product looks cheaper than it is | Put labor in the assembly's own Unit cost |
Related#
- How to make an inventory spreadsheet
- How to make a purchase order
- Look up values with XLOOKUP and VLOOKUP in Sheets
- Restore a previous version of a spreadsheet in Sheets
Your bill of materials is how your product is made. Create a free account and keep it in a spreadsheet Foxcolab can't read, or see plans for your own domain and more storage. Running BOMs across plants and suppliers? See Foxcolab for enterprise or talk to sales.
Frequently asked questions
What is the difference between a single-level and a multi-level BOM?
A single-level BOM lists the parts that go straight into one item, with no structure below them. A multi-level BOM shows the whole tree, from the finished product through subassemblies down to purchased parts and raw materials, so you can see what goes into what and roll costs up at every level.
How do you calculate extended quantity in a BOM?
Multiply the part's quantity per parent by one plus its scrap allowance, then by the parent's extended quantity. For fabric at 0.6 m per seat cushion with 8% scrap, and one cushion per chair, the extended quantity is 0.6 × 1.08 × 1 = 0.648 m per chair.
How do I roll up costs in a multi-level BOM?
Give each row an extended cost (extended quantity × unit cost, where an assembly's unit cost is its labor and overhead). An assembly's rolled-up cost is the sum of the extended costs from its own row down to the row before the next item at the same level or nearer the top. In Foxcolab Sheets, one SUM, INDEX and XMATCH formula does this for every row.
Is a bill of materials the same as an SBOM?
No. A software bill of materials lists the components inside a piece of software. CISA describes it as "a nested inventory, a list of ingredients that make up software components". This guide covers the manufacturing kind.

Written by
Foxcolab TeamThe Foxcolab team, who build the apps and help people set them up.
More from FoxcolabDid this guide help you get it done?
One click, no account needed.