2026-12-08 · Blog
Reorder points in Excel and Google Sheets: lead time, safety days and case-pack rounding with plain formulas
Most small-shop inventory sheets answer one question: "how many do I have?" The question you actually need answered is "what should I order today, and how much?" This tutorial builds a sheet that works that out from your own stock history. It uses supplier lead times, a safety buffer, minimum order quantities and case packs. Everything is plain formulas (SUMIFS, INDEX/MATCH, CEILING) that work in Excel 2010+ and Google Sheets.
1. Settings and suppliers
Make a Settings sheet and give these cells named ranges (Formulas → Name Manager in Excel, Data → Named ranges in Sheets):
| Name | Example | Meaning |
|---|---|---|
AsOf |
=TODAY() |
The date the sheet treats as "today" |
WindowDays |
30 |
How many past days to average usage over |
SafetyDays |
7 |
Extra days of stock to hold as a buffer |
CycleDays |
30 |
How many days one order should cover |
OverstockDays |
120 |
More cover than this = overstock |
Keeping "today" in one cell lets you type a fixed date to test the sheet.
Then a small supplier table, also on Settings, with named columns:
SupName |
SupLead (days) |
SupMin (units) |
|---|---|---|
| Northfield Wax Co. | 10 | 24 |
| Pebble Lane Labels | 14 | 100 |
| Workshop (in-house) | 5 | 12 |
Makers can list their own workshop as a supplier: lead time = batch time, minimum = smallest batch. The same maths then plans production runs.
2. Log every stock change on one sheet
Create a Moves sheet with columns A to F and headers in row 1:
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Date | SKU | Type | Qty | Signed | Use |
You type A to D. Type is a dropdown (Purchase in, Adjustment +, Sale out, Used in production, Adjustment -) and Qty is always positive.
Signed (E2) turns the type into a plus or minus:
=IF(B2="", "", IF(OR(C2="Purchase in", C2="Adjustment +"), D2, -D2))
Use (F2) counts only real demand. Corrections and deliveries are not usage, so they stay out of the average:
=IF(OR(C2="Sale out", C2="Used in production"), D2, 0)
Fill both down to row 5000.
Add a POs sheet for open purchase orders: A PO #, B SKU, C Qty ordered, D Qty received, E Status (Ordered / Partial / Received / Cancelled), and F Still to come:
=IF(OR(E2="Ordered", E2="Partial"), MAX(0, C2-D2), 0)
3. The Products sheet
Headers in row 1, one SKU per row from row 2:
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SKU | Name | Supplier | Opening qty | Safety days | Min stock | Case pack | On hand | On order | Used (window) | Avg daily use | Days of cover | Lead time | Reorder point | Suggested qty | Status |
You type A to G. E, F and G are optional overrides. Everything from H onwards is a formula.
On hand (H2): opening count plus every signed movement for this SKU.
=D2 + SUMIFS(Moves!$E$2:$E$5000, Moves!$B$2:$B$5000, A2)
On order (I2):
=SUMIFS(POs!$F$2:$F$1000, POs!$B$2:$B$1000, A2)
Used in the window (J2) and average daily use (K2):
=SUMIFS(Moves!$F$2:$F$5000, Moves!$B$2:$B$5000, A2,
Moves!$A$2:$A$5000, ">" & (AsOf - WindowDays),
Moves!$A$2:$A$5000, "<=" & AsOf)
=J2 / WindowDays
Days of cover (L2): how long current stock lasts at this rate.
=IF(K2 > 0, MAX(0, H2) / K2, "")
Lead time (M2) comes from the supplier table:
=IFERROR(INDEX(SupLead, MATCH(C2, SupName, 0)), 0)
The reorder point (N2)
The idea: reorder when the stock you have, plus what's already coming, would only last as long as the supplier takes to deliver, plus a buffer.
=MAX(N(F2), CEILING((M2 + IF(E2="", SafetyDays, E2)) * K2, 1))
M2 + safety daysis how many days you need to survive while waiting.- Times
K2turns days into units.CEILING(..., 1)rounds up, because you can't hold half a candle. MAX(N(F2), ...)applies the optional Min stock.N()turns a blank into 0. Slow movers like spare parts or label rolls have almost no daily use, so without a minimum they would never be reordered.
The suggested order quantity (O2)
=IF(AND(N2 > 0, H2 + I2 <= N2),
CEILING(
MAX(IFERROR(INDEX(SupMin, MATCH(C2, SupName, 0)), 0),
N2 + CycleDays * K2 - H2 - I2),
IF(G2="", 1, G2)),
0)
Read it from the inside out:
- Trigger: only when on hand plus on order has dropped to the reorder point.
N2 > 0stops products with no demand and no minimum from ever triggering. - Need: top stock up to the reorder point plus one order cycle of use, minus what you have and what's coming. Without the cycle you would reorder the same item every few days.
- Supplier minimum:
MAX(minimum, need). - Case pack:
CEILING(..., pack)rounds up to whole cases.
A quick check with numbers. Lead time 10 days, 7 safety days, 1.5 units a day: the reorder point is CEILING(17 × 1.5, 1) = 26. With 20 on hand and nothing on order, the need is 26 + 30 × 1.5 − 20 = 51. The supplier minimum is 24, so 51 stands, and a case pack of 12 rounds it to 60.
Status (P2)
=IF(H2 <= 0, "Out",
IF(AND(N2 > 0, H2 + I2 <= N2), "Reorder",
IF(AND(N2 > 0, H2 <= N2), "On order",
IF(K2 = 0, "No recent sales",
IF(L2 > OverstockDays, "Overstock", "OK")))))
"On order" means you're below the reorder point on the shelf, but the open PO already covers it, so there's nothing new to do. Add conditional formatting rules (=$P2="Out" red, =$P2="Reorder" amber, and so on) on A2:P500 and the sheet becomes a to-do list.
4. A reorder list you never type
In Excel 365 or Google Sheets, one formula on a new sheet gives you everything to order, grouped by supplier:
=SORT(FILTER(Products!A2:O500, Products!O2:O500 > 0, "Nothing to order"), 3, 1)
Column 3 is the supplier, so each supplier's lines sit together.
On older Excel without FILTER, add a helper key on Products, =IF(O2>0, MATCH(C2, SupName, 0)*10000 + ROW(), ""). Then pull rows in key order with SMALL(key_range, n) and INDEX/MATCH. The *10000 + ROW() part makes every key unique while still sorting by supplier first.
Things to watch
- Wrap the Products formulas in
IF($A2="", "", ...)so empty rows stay blank instead of showing zeros. - Don't count deliveries as use. That's why
Useonly looks at sales and production. Otherwise every delivery would push your reorder point up. - The suggestion moves daily with the last
WindowDaysof use. Lengthen the window if sales are lumpy. - Receive POs in two steps. Mark the PO line received, and log a
Purchase inonMoves. Stock only changes when you've counted the delivery.
The full version
I sell a finished workbook built on these formulas, called Stock Pilot. It adds sales orders that take stock off automatically, up to 4 locations with transfers, PO tracking with partial and late deliveries, a supplier-grouped reorder list with cost and arrival dates, profit per product with ABC classes, and a dashboard. It has no macros and comes with fictional sample data. It's on Gumroad: https://khalidmasscom.gumroad.com/l/qzsohv
Disclosure: I run the store that sells Stock Pilot. Everything above works on its own, without buying anything.
More templates like this
Excel & Google Sheets templates, planners, website templates and AI kits.
Browse the catalog