Blog · Territory, capacity and quota planning · Supply chain
Turn a demand forecast into a replenishment review using inventory, confirmed receipts, lead times and supply limits. Follow the Excel formulas and a worked plan that checks both the ending balance and the timing of supply.
Demand planning in Excel compares forecast demand with usable stock, dated receipts, lead times and supply constraints to calculate replenishment and remaining gaps. The workbook tests whether supply covers forecast demand.
Bring weekly demand by SKU and site, usable inventory, dated open supply, supplier lead times and quantity limits. Add approved safety stock and backlog excluded from the forecast.
Convert each SKU to one planning unit. Retain the original quantities and conversion factors for checking.
Reconcile starting stock with the inventory stock movement workbook. Exclude unusable stock and receipts due beyond the horizon.
See demand planning for logistics for the operating handoffs that follow the calculations.
A US parts distributor plans SKU A100 at its Reno site using the arithmetic mean of recent complete weeks as an illustrative baseline.
| Historical week | Demand units |
|---|---|
| Oldest complete week | 100 |
| Middle complete week | 120 |
| Latest complete week | 140 |
| Total | 360 |
Put the three observations in B2:B4 on a History sheet:
=AVERAGE(History!B2:B4)
The result is 360 / 3 = 120 units per week. Microsoft documents that AVERAGE returns the arithmetic mean and ignores empty cells in a referenced range while including zeros. A missing export week therefore needs investigation; it must not disappear from the planning history.
Sales should review the increasing sequence for trends or promotions before approval. Keep overrides and reasons separate. Check recurring overstatement or understatement with forecast bias by SKU and site.
The protection horizon covers replenishment lead time plus the review interval. Safety stock is an approved input, not an estimate from these history rows.
Inventory position within the horizon = Usable on-hand + Confirmed receipts - Incremental backlog
Target position = Weekly demand × (Lead-time weeks + Review-interval weeks) + Safety stock
Unconstrained replenishment = MAX(0, Target position - Inventory position)
Backlog is incremental to the forecast. The supplier limit applies to the proposed receipt.
| Input | Value | Meaning |
|---|---|---|
| Usable on-hand units | 250 | Opening stock for the plan |
| Confirmed existing receipts | 20 | Due at the start of week 1 |
| Incremental backlog units | 10 | Due in week 1; excluded from the baseline |
| Weekly forecast units | 120 | The approved baseline for this example |
| Lead-time weeks | 2 | A new order arrives at the start of week 3 |
| Review-interval weeks | 1 | The planner reviews the item weekly |
| Safety stock units | 30 | Approved reserve target |
| Supplier quantity limit | 100 | Maximum new receipt available in week 3 |
The protection horizon is 2 + 1 = 3 weeks, with forecast demand of 120 × 3 = 360 units. Inventory position is 250 + 20 - 10 = 260 units. Target position is 360 + 30 = 390, leaving an unconstrained replenishment requirement of 390 - 260 = 130 units.
On a Plan sheet, put SKU in A and the input values in B:I in the order shown above. Use J for inventory position, K for target, L for unconstrained replenishment, M for feasible replenishment, N for projected ending balance and O for the safety-stock gap.
Enter these formulas in J2:O2, respectively:
=B2+C2-D2
=E2*(F2+G2)+H2
=MAX(0,K2-J2)
=MIN(L2,I2)
=J2+M2-E2*(F2+G2)
=MAX(0,H2-N2)
MAX prevents a negative order suggestion; MIN applies the supplier limit. Microsoft's formula guide explains their smallest-value and largest-value behavior.
| Calculation | Working | Result units |
|---|---|---|
| Unconstrained replenishment | MAX(0, 390 - 260) | 130 |
| Feasible replenishment | MIN(130, 100) | 100 |
| Projected ending balance | 260 + 100 - 360 | 0 |
| Safety-stock gap | MAX(0, 30 - 0) | 30 |
The feasible receipt covers demand with no reserve. All 130 required units would leave 260 + 130 - 360 = 30. No rounding is needed here; apply purchasing multiples before rechecking the supply limit.
Check receipt timing weekly. Carry each closing balance into the next opening balance.
| Week | Opening units | Existing receipts | Proposed receipts | Demand including backlog | Closing units |
|---|---|---|---|---|---|
| 1 | 250 | 20 | 0 | 130 | 140 |
| 2 | 140 | 0 | 0 | 120 | 20 |
| 3 | 20 | 0 | 100 | 120 | 0 |
| Horizon check | 250 | 20 | 100 | 370 | 0 |
For columns B:F in this table, closing balance in F2 is:
=B2+C2+D2-E2
The next opening cell is =F2. The total check is 250 + 20 + 100 - 370 = 0, matching the summary. Week 1 demand is 120 forecast units plus 10 incremental backlog units; backlog must not be subtracted again in the weekly table.
Keep negative projected balances visible. If the supplier quantity limit falls to 70 with everything else unchanged, the ending balance becomes 260 + 70 - 360 = -30. That means 30 units of uncovered demand and a 60-unit gap to the 30-unit reserve target. The planner must resolve the supply or demand assumption rather than hide the negative balance.
For manufactured items, check demand forecasting and capacity planning before assuming production is feasible.
Covirage is not affiliated with Microsoft.
Bring your demand assumptions, inventory snapshot, dated supply and capacity limits in a workbook or Google Sheet. Covirage maps the columns, and its tools compute and check the comparisons; the external AI model explains the results with every figure traced to its rows. Create a free Covirage account and bring a sample of your own planning file.
See capacity planning with Covirage for related demand and resource comparisons.
Forecasting estimates demand for future periods. Demand planning uses that estimate alongside stock, lead times and supply limits to decide what needs attention. The planning workbook must show when demand can be covered and where the feasible supply leaves a gap.
Only if those orders are outside the forecast definition. A forecast that already includes booked demand would double count the same units if all orders were added again. Label forecast demand, incremental backlog and any order consumption rule separately.
It can provide a transparent baseline for stable demand. Check it against known seasonality, promotions, lost sales and recent changes before approving it. Keep overrides visible with an owner and reason rather than silently replacing the baseline.