Skip to content
Foxcolab

How to Make a Bill of Materials (Multi-Level BOM)

How to lay out a multi-level bill of materials, the formulas that explode quantities and roll costs up from parts to the finished product, a worked rupee example, and how to build and share it in end-to-end encrypted Foxcolab Sheets.

9 min read
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 BOMMulti-level BOM
ShowsThe parts that go straight into one itemThe whole tree, down to raw materials
Looks likeOne flat listAn indented list with a Level column
Good forA simple product, or one subassemblyAnything with subassemblies, and cost roll-ups
AnswersWhat 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#

ColumnHoldsExample
A: Level0 for the product, 1 for what goes into it, and so on2
B: Part no.One code per part, used everywhere it appearsCS-112
C: DescriptionWhat it isCastor, 50 mm
D: Make/BuyMake for assemblies, Buy for purchased partsBuy
E: Qty perHow many go into one of its parent5
F: Unitpcs, m, kg, pairspcs
G: Scrap %Extra to allow for waste8%
H: Unit cost (₹)Purchase price, or labor and overhead for an assembly45
I: Ext qtyFormula: how many per finished product5
J: Ext cost (₹)Formula: Ext qty × Unit cost225
K: Rolled cost (₹)Formula: this row plus everything below it225

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):

LevelPart no.DescriptionMake/BuyQty perUnitScrapUnit cost (₹)Ext qtyExt cost (₹)Rolled cost (₹)
0CH-100Office chairMake1pcs0%3501350.005,095.24
1BA-110Base assemblyMake1pcs0%60160.001,445.00
2BS-111Five-star nylon baseBuy1pcs0%6401640.00640.00
2CS-112Castor, 50 mmBuy5pcs0%455225.00225.00
2GL-113Gas liftBuy1pcs0%5201520.00520.00
1SA-120Seat assemblyMake1pcs0%80180.001,815.44
2SC-121Seat cushionMake1pcs0%40140.00773.44
3PL-122Plywood seat boardBuy1pcs2%2101.02214.20214.20
3FM-123Foam pad, 50 mmBuy1pcs5%2601.05273.00273.00
3FB-124Upholstery fabricBuy0.6m8%3800.648246.24246.24
2MC-125Synchro mechanismBuy1pcs0%9501950.00950.00
2HW-M6Screw M6 x 20Buy4pcs0%3412.0012.00
1BR-130Backrest assemblyMake1pcs0%70170.00794.80
2BF-131Back frameBuy1pcs0%4801480.00480.00
2MS-132Mesh fabricBuy0.5m8%4200.54226.80226.80
2HW-M6Screw M6 x 20Buy6pcs0%3618.0018.00
1AR-140Armrests, pairBuy1pairs0%6901690.00690.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:

Multi-level BOM formulas (row 2, fill down to row 60)·Text
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.

Requirements formulas·Text
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:

PartNeededOn handTo buy
HW-M6 Screw M6 x 20(4 + 6) × 250 = 2,5003,0000
CS-112 Castor, 50 mm1,250400850
FB-124 Upholstery fabric162 m40.5 m122 m
FM-123 Foam pad, 50 mm262.50263
PL-122 Plywood seat board2550255
MS-132 Mesh fabric135 m0135 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#

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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#

MistakeWhat happensFix
Qty per finished product entered at a deep levelQuantities get multiplied twiceEnter quantity per one of the parent
A level that jumps by twoThe part attaches to the wrong parentThe red level-jump rule
A part out of orderIt rolls up into the wrong assemblyKeep each part directly below its parent
The same part number with two descriptionsBuyers order the wrong itemOne code, one description, used everywhere
No scrap allowanceYou run short of fabric halfway through the runA Scrap % column in the formula
Assembly labor left outThe product looks cheaper than it isPut labor in the assembly's own Unit cost

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 Team

The Foxcolab team, who build the apps and help people set them up.

More from Foxcolab

Did this guide help you get it done?

One click, no account needed.

Try the tools we write about.

Mail, files, documents, spreadsheets and meetings in one account, with no ads. The free plan is enough to start.

Jump to