Inventory Management for Small Business in Excel: A Template You Can Build
Most inventory spreadsheets fail for one reason: someone types the stock quantity straight into a cell, and after a month nobody knows why it says 41. The template below never stores a stock quantity. It stores every movement, and calculates stock, safety stock and reorder points from that log. It takes about an hour to set up.
The formulas use Excel tables and need Excel for Microsoft 365 or Excel 2021 or later. Where a function doesn’t exist in older versions, there’s a fallback.
The layout: two tables, one list
| Sheet | Table name | What it holds |
|---|---|---|
| Items | tblItems | One row per SKU: details plus calculated stock and reorder columns |
| Moves | tblMoves | One row per stock movement: receipts, sales, returns, adjustments |
| Reorder | (no table) | A live list of SKUs that need ordering |
To create each table, type the headers in row 1, select them plus one row below, press Ctrl+T (Cmd+T on Mac), tick “My table has headers”, then rename it under Table Design > Table Name. Microsoft’s guide to structured references explains the tblItems[Column] and [@[Column]] syntax used below.
Step 1: The Moves log
Headers in A1:E1 of the Moves sheet: Date, SKU, Type, Qty, Item.
- Date: the date only, no time. The formulas match whole days.
- SKU: must match a SKU on the Items sheet exactly. If your codes need tidying, see our guide to creating SKU numbers.
- Type: add a drop-down with Data > Data Validation > List, source
Receive,Sale,Return,Adjust. - Qty: positive for stock in (Receive, Return), negative for stock out (Sale, negative Adjust). A sale of 3 units is entered as -3.
- Item: a lookup so you can see you typed the right SKU:
=XLOOKUP([@SKU],tblItems[SKU],tblItems[Description],"Unknown SKU")
On Excel 2019 or earlier, use:
=IFERROR(INDEX(tblItems[Description],MATCH([@SKU],tblItems[SKU],0)),"Unknown SKU")
Paste your daily sales export in as Sale rows, add a Receive row for each delivery, and put your opening stock in as one Adjust row per SKU.
Step 2: The Items table
Headers in A1:P1 of the Items sheet:
| Col | Header | Type |
|---|---|---|
| A | SKU | Typed |
| B | Description | Typed |
| C | Supplier | Typed |
| D | Unit cost | Typed (landed cost per unit) |
| E | Lead time | Typed (days, PO to sellable) |
| F | Service level | Typed (for example 0.95) |
| G | On order | Typed (units on open POs) |
| H | On hand | Formula |
| I | Avg daily sales | Formula |
| J | Daily SD | Formula |
| K | Safety stock | Formula |
| L | Reorder point | Formula |
| M | Status | Formula |
| N | Order qty | Formula |
| O | Stock value | Formula |
| P | Days of cover | Formula |
Use landed cost in column D, not the supplier price; our landed cost formula covers what belongs in it.
Type each formula below into the first data row. Excel copies it down the whole column automatically.
H: On hand. Sum of every movement for this SKU:
=SUMIFS(tblMoves[Qty],tblMoves[SKU],[@SKU])
I: Avg daily sales. Units sold over the last 28 full days, divided by 28. The minus sign turns the negative sale quantities positive:
=-SUMIFS(tblMoves[Qty],tblMoves[SKU],[@SKU],tblMoves[Type],"Sale",tblMoves[Date],">="&(TODAY()-28),tblMoves[Date],"<"&TODAY())/28
J: Daily SD. The standard deviation of daily sales over the same 28 days. SEQUENCE builds the list of 28 dates, SUMIFS returns one sales total per date (including zero days), and STDEV.S measures the spread:
=STDEV.S(SUMIFS(tblMoves[Qty],tblMoves[SKU],[@SKU],tblMoves[Type],"Sale",tblMoves[Date],SEQUENCE(28,1,TODAY()-28,1)))
SEQUENCE needs Excel 2021 or Microsoft 365. On older versions, calculate daily sales in a separate grid (dates down, SKUs across) and point STDEV.S at each column, or type the figure in by hand.
K: Safety stock. Z for your service level, times the daily standard deviation, times the square root of lead time, rounded up:
=ROUNDUP(NORM.S.INV([@[Service level]])*[@[Daily SD]]*SQRT([@[Lead time]]),0)
Our safety stock formula comparison explains this method and when to use a version that also covers late deliveries.
L: Reorder point. Expected sales during the lead time plus safety stock:
=ROUNDUP([@[Avg daily sales]]*[@[Lead time]],0)+[@[Safety stock]]
M: Status. Compares stock on hand plus stock on order with the reorder point:
=IF([@[On hand]]+[@[On order]]<=[@[Reorder point]],"REORDER","OK")
N: Order qty. A starting suggestion that brings stock back to the reorder point plus 30 days of sales. Change the 30 to suit your supplier’s order rhythm, then round to the case pack before you send the PO:
=IF([@Status]="REORDER",[@[Reorder point]]+ROUNDUP([@[Avg daily sales]]*30,0)-[@[On hand]]-[@[On order]],0)
O: Stock value.
=[@[On hand]]*[@[Unit cost]]
P: Days of cover. Blank when there were no sales, so you don’t get a divide-by-zero error:
=IF([@[Avg daily sales]]=0,"",[@[On hand]]/[@[Avg daily sales]])
Step 3: The reorder list
On the Reorder sheet, in A2:
=FILTER(tblItems[[SKU]:[Supplier]],tblItems[Status]="REORDER","Nothing to reorder")
That spills the SKU, Description and Supplier of every item that needs ordering. Two totals worth keeping at the top of the sheet:
Total stock value: =SUM(tblItems[Stock value])
SKUs to reorder: =COUNTIF(tblItems[Status],"REORDER")
FILTER needs Excel 2021 or Microsoft 365. On older versions, filter the Items table on the Status column instead.
Step 4: Highlight rows that need action
Select the data rows of tblItems (A2 down to the last row, across to P). Go to Home > Conditional Formatting > New Rule > “Use a formula to determine which cells to format” and enter:
=$M2="REORDER"
Pick a fill color. The dollar sign locks column M, so the whole row lights up.
Check it with one SKU
Example numbers, not benchmarks. Enter a candle SKU with unit cost $6.50, lead time 14 days, service level 0.95 and nothing on order. Suppose the Moves log gives these results:
| Column | Result |
|---|---|
| On hand | 290 |
| Avg daily sales | 20 |
| Daily SD | 6 |
| Safety stock | 37 (1.645 x 6 x √14 = 36.93, rounded up) |
| Reorder point | 317 (280 + 37) |
| Status | REORDER (290 + 0 is at or below 317) |
| Order qty | 627 (317 + 600 - 290 - 0) |
| Stock value | $1,885.00 |
| Days of cover | 14.5 |
If your sheet shows the same numbers for the same inputs, the formulas are wired correctly. The full reasoning behind the reorder point is in our reorder point formula with safety stock walkthrough.
Keeping the spreadsheet honest
- Log every movement, including samples and damaged units, as Adjust rows with a note.
- Never overwrite the On hand column. If a count disagrees, add an Adjust row for the difference.
- Update On order when you send a PO, and clear it when you log the Receive row.
- Save a dated copy at month end. That is your inventory snapshot for the books.
A spreadsheet works well for the reorder math at almost any size. It gets harder to trust as the live stock record once you sell on several channels, because nothing syncs automatically. Our guide to inventory management for small business covers when to move the live record into your platform or a dedicated system, and keep the spreadsheet for planning.