Retail forecasting fails at the shelf, not in the spreadsheet. A branch manager orders what sold last month, the promotion leaves three cartons in the back, and the fast-moving size is out of stock by Saturday. The central plan says one thing; the shelf says another.
Useful forecasting connects three levels: the item, the branch and the week. Get that grain right and the rest is ordinary demand planning.
What makes African retail demand distinctive
- Payday cycles. Demand spikes around salary dates, which vary by employer and region.
- School terms and holidays. Strong effects on stationery, food, travel and apparel.
- Informal competition. A new stall or market day can shift demand within a week.
- Cash and mobile money. Payment method affects basket size and timing.
- Supply variability. Lead times and pack sizes change what is available, not just what is demanded.
- Perishables. Shelf life turns an overstock into a write-off within days.
Start with the data you can trust
| Data | Use | Common problem |
|---|---|---|
| POS sales by item and store | The core demand signal | Returns and voids mixed in; item codes change |
| Stock counts | Availability and true demand | Counts are infrequent or inaccurate |
| Purchase and delivery records | Lead time and supply constraints | Receipts recorded late |
| Promotions calendar | Explains spikes | Not recorded historically |
| Supplier terms | MOQ, pack size, lead time | Kept in email, not in a system |
| Calendar and weather | Seasonality and disruption | Local variation not captured |
A critical distinction: sales are not demand. If an item was out of stock, you do not know what you would have sold. Stock-out periods need to be flagged or approximated, or the model will learn to under-order exactly the products that sell out.
Forecast at the decision level
If replenishment happens weekly per branch, forecast weekly per branch per item. A national monthly forecast cannot tell a branch manager what to order on Monday.
Group the long tail. Hundreds of slow items each with irregular sales will swamp the model; manage them with simple rules, periodic review and a shared safety stock.
Promotions need separate treatment
A promotion is not normal demand, and leaving promotional spikes in the history teaches the model to over-order afterwards. Keep a promotion calendar with dates, discount depth and display changes, and model the uplift separately.
New items have no history. Use the closest analogue - similar category, price and pack size - and review manually for the first few weeks.
From forecast to shelf
- Convert the forecast into an order suggestion using lead time, pack size and shelf capacity.
- Calculate safety stock from forecast error, not from a fixed weeks-of-cover rule.
- For perishables, make shelf life and FEFO a constraint, not a report.
- Show the branch manager the suggestion and the reason, and let them adjust.
- Record every adjustment; the pattern of overrides tells you what the model is missing.
Evaluate honestly
Report bias and a weighted error measure by branch and category. A model that is consistently 15% high looks fine on some metrics while quietly tying up cash. Track forecast error by horizon: next week should be better than next month.
Compare against the current process, not against perfection. If the branch manager's ordering already beats the model, that is important information.
Pilot design
One category, ten to twenty branches, eight to ten weeks. Baseline stock-outs, on-shelf availability, inventory days, waste for perishables and the number of emergency transfers. Run suggestions alongside the current ordering and compare overrides.
Metrics
On-shelf availability, stock-out days, inventory days by category, waste and markdowns, forecast bias, emergency transfers, and sales lost to unavailable items where you can estimate them. Report availability and inventory together; reducing stock by stocking out is not an improvement.
Failure modes
- Forecasting sales without correcting for stock-outs.
- Leaving promotional spikes in the baseline history.
- Forecasting nationally and ordering locally.
- Ignoring shelf capacity and pack size, so suggestions cannot be executed.
- No branch feedback loop, so the model never learns why managers override it.
- Optimising forecast accuracy when the goal is availability at an acceptable inventory cost.
Questions we get asked
Do we need new POS hardware?
No. The project depends on the quality of the sales and stock data you already capture, not on new devices.
Can it handle hundreds of stores?
Yes, if the data is consistent and the item master is clean. Store-level forecasting at scale usually fails on master data before it fails on modelling.
What about fresh produce?
Forecast at a shorter horizon and include shelf life, delivery days and waste in the objective. Accuracy alone is the wrong target.
How long before we see a difference?
Ordering changes within a few weeks; measurable availability and inventory effects usually need a full promotion and payday cycle.
Fix the item master, flag stock-outs and keep a promotion calendar. Those three inputs decide more than the algorithm.