The data you need for demand planning: a distributor's checklist

To start demand planning you need sales by SKU and period, stock on hand with its snapshot date, open purchase orders, and for each SKU the supplier, lead time, MOQ, carton size and unit cost. Our working guidance is 12 months of sales history, and 24 months (two full cycles) for seasonal items.

  • By Allocates.ai
  • Published
  • Last reviewed
  • 14 min read
Laptop with a spreadsheet open beside printed sales reports on an office desk

Part of Data & Excel guides for distributors

A demand plan is only as good as the export it starts from. Most distributors already hold everything a forecast and a purchase order need, but it sits in four places: a sales report, a stock report, the list of open purchase orders and a supplier sheet that one person keeps up to date by hand. This guide lists the six inputs, the columns each one needs, how much sales history is enough, and the checks that catch problems before they reach a forecast. Data is the first link in the planning chain. The next is choosing among the demand forecasting methods that turn this history into a number per SKU.

Key takeaways

  • Six inputs cover most of the planning work: sales by SKU and period, stock on hand with a snapshot date, open purchase orders, supplier and lead time per SKU, MOQ and carton size, and unit cost.
  • The safest shape for sales history is long format, with one row per SKU per date. A report with months as columns has to be unpivoted before most tools can read it.
  • No sample size works for every series. How much history you need depends on how noisy the series is and how many parameters the model has [1] [2]. Our working guidance is 12 months, and 24 months for seasonal items.
  • Sales recorded while an item was out of stock understate demand, and the day it ran out carries most of the missing information [5]. Export the days out of stock, or at least flag those periods.
  • Stock on hand and sales history must share a cut-off date. If they don't, the forecast and the net requirement describe different moments.

What data do I need to start demand planning?

You need six inputs: sales history by SKU and period, stock on hand with the date it was counted, open purchase orders, the supplier and lead time for each SKU, the MOQ and carton size, and the unit cost. The first three describe demand and stock. The last three turn a forecast into an order a supplier will accept.

Each SKU needs one stable code that is the same in every file. Product names drift ("Kettle 1.7l steel" becomes "Kettle 1,7 l stainless"); codes usually don't.

Input

Minimum columns

What it feeds

What goes wrong without it

Sales history

date, SKU code, quantity sold

the forecast and its error

nothing to forecast

Stock on hand

SKU, quantity, warehouse, snapshot date

net requirement

every order line overstates the need

Open purchase orders

PO number, SKU, quantity still to arrive, expected arrival date

net requirement and timing

you reorder stock that is already on its way

Supplier and lead time

SKU, main supplier, lead time in days or weeks

how far ahead to cover; safety stock

orders arrive after the stock runs out

MOQ and carton size

SKU, minimum order quantity, units per carton

rounding the order line

draft orders the supplier sends back

Unit cost

SKU, cost per unit in one currency

value tied up in stock; ranking by value

no way to tell which items matter most

Some data is useful but not required:

  • days out of stock, or daily stock snapshots to derive them from;
  • returns kept apart from sales;
  • product status (new, active, being phased out);
  • the code of the item a SKU replaced;
  • a marker on one-off project orders and promotions.

Export revenue per SKU as well. The ABC classes that decide how much attention each item gets are built from it.

What shape should the sales export have?

Export sales in long format: one row per transaction or per SKU per period, with separate date, SKU and quantity columns. A report with one column per month looks tidier, but it has to be reshaped (unpivoted) before forecasting.

Long format can be filtered, totalled by week or month, and appended to next month's export without editing formulas. The two tables below hold the same invented sample numbers.

Long format: one row per SKU per month

Month

SKU

Qty

2026-01

KT-118

48

2026-01

PN-240

290

2026-02

KT-118

51

2026-02

PN-240

305

2026-03

KT-118

42

2026-03

PN-240

312

Pivoted: months as columns

SKU

Jan 2026

Feb 2026

Mar 2026

KT-118

48

51

42

PN-240

290

305

312

Invented sample SKUs. Most planning tools read the first shape; the second has to be unpivoted first.

Whatever the shape, five rules prevent most mapping problems:

  • Real dates, one date column. Use the invoice or shipment date as a date value, not text like "March" and not one sheet per month.
  • One unit of measure. Quantities in base units (pieces), not a mix of pieces and cartons. If the system records cartons for some customers, export the conversion too.
  • Returns kept apart. Negative lines or a return flag, so you can decide whether a return cancels demand or is a separate flow.
  • No subtotal or total rows, no merged cells and no blank spacer rows. Every row is one fact.
  • The full range of SKUs. Include items with zero sales in a period. A slow mover that drops out of the export in quiet months looks faster than it is.

How many months of sales history do I need?

There is no minimum that works for every series: it depends on how many parameters the model estimates and how much random variation the series has [1]. As a working rule, we suggest 12 months for most items and 24 months, two full cycles, for seasonal ones [9].

The 12- and 24-month figures are our guidance, not a published standard. Published sample-size tables oversimplify the question, and noisy series need more data than smooth ones [2].

  • Twelve months shows every calendar month once. You can see where the peaks are, but you can't tell a seasonal peak from a one-off.
  • Twenty-four months shows each month twice. With fewer cycles, one unusual month can pass for the season.

Holt-Winters, a seasonal smoothing method, tracks three components: a level, a trend and a seasonal component whose cycle is 12 periods for monthly data [4]. With one year of data, the seasonal effect of each month rests on a single observation.

What does the Allocates.ai engine do with short histories?

The 24-month figure matches what the Allocates.ai forecasting engine does with seasonal items: it tries a seasonal method only once it has two full cycles. The engine has no 12-month minimum. We checked this in the product's code on 30.11.2026 [8]. Each SKU's history starts at its first period with sales and ends at its last row in the file.

History per SKU (periods; months for a monthly file)

Methods the engine tries

Accuracy score

1–3

naive (last period's sales): with nothing to score, the first candidate is kept

none: too little history to backtest

4–23

naive, mean, moving average and simple exponential smoothing, plus Holt's damped trend method when fewer than half the periods are zero, and Croston-SBA when at least 30% are zero

scored by rolling-origin backtest from the 4th period

24 and more

adds Holt-Winters, the seasonal method

as above

The engine works at the period your file's dates show [8]. Monthly dates give monthly series with a 12-month season, as in the table. Weekly dates give a 52-week season, so the seasonal method needs 104 weeks. Daily or per-invoice dates are forecast by day with a weekly pattern, and the engine does not add them up to months.

Is older history always better?

No. If the business changed (a new main supplier, a lost key customer, a different range), the months before the change describe a different business. The same applies to market shocks. The New York Fed's Global Supply Chain Pressure Index peaked at 4.43 standard deviations above its historical average in December 2021 (series as published in November 2026) [7]. Check demand and lead times recorded around that peak before you use them as the normal pattern.

The Excel defaults hide one trap. Sales exports usually have no row for a month with no sales. When you build a monthly timeline from them, FORECAST.ETS fills those months with the average of their neighbours, as if something sold, and a slow mover gets forecast too high [3]. Add zero rows for empty months, or set data_completion to 0.

Why is sales history not the same as demand?

Sales are what you shipped, and you can't ship stock you don't have. When an item runs out, recorded sales stop at what was available and any demand above that goes unseen. Analysts call this censored demand.

A forecast built on uncorrected sales learns the stock-out as low demand and orders too little next time. A stock-out leaves a gap in the data that looks exactly like a quiet month.

Research on censored demand shows that the day an item ran out carries most of the missing information, far more than a simple "it ran out" flag. The study models a retailer ordering for repeated periods [5]. In practice, an item that sold out by day 5 was selling much faster than one that lasted until day 28, even if both show the same monthly total.

So export what you can:

  • days out of stock per SKU and period, or
  • daily stock snapshots you can derive them from, or
  • if neither exists, a hand-made flag on stock-out periods for your top items.

For a first correction, scale the sales up to the days the item was actually in stock:

Adjusted demand ≈ Sales in period × Days in period ÷ Days in stock

  • Sales in period: units sold in the month or week
  • Days in period: 31 for March, 7 for a week
  • Days in stock: days the item had stock available to sell

In Excel: =IF(C2>0, A2*B2/C2, NA()) where A2 = sales, B2 = days in period, C2 = days in stock[9]

This pro-rata correction is our rule of thumb, not a method from the cited research. It assumes demand is spread evenly through the period. It overstates demand when the item was run down on purpose before a phase-out, and when customers who found it missing came back later and bought it anyway.

Worked example (invented sample data). KT-118, a 1.7-litre steel kettle, sold 42 units in March. It was out of stock for 9 of the 31 days, so it was available for 22. Adjusted demand ≈ 42 × 31 ÷ 22 = 59.2, about 59 units. Planning on the raw 42 would understate March by 17 units, roughly 29%.

What stock and purchase-order data does the plan need?

The plan needs stock on hand per SKU and warehouse with the date it was counted, plus every open purchase order line with the quantity still to arrive and its expected date. With backorders, these give the inventory position, the figure an order decision compares with the forecast.

Inventory position = Inventory on hand + Inventory on order − Backorders

  • Inventory on hand: units physically in stock at the snapshot date
  • Inventory on order: units on open purchase orders not yet received
  • Backorders: customer orders you accepted but could not ship because the stock ran out, still waiting to be filled

In Excel: =B2+C2-D2 where B2 = on hand, C2 = on order, D2 = backorders[6]

Worked example (invented sample data, EUR). A houseware distributor near Poznań imports through Gdańsk. PN-240, a 24 cm frying pan, has 380 units on hand, 600 on an open purchase order due in five weeks, and 40 units on backorder. Inventory position = 380 + 600 − 40 = 940 units. If the export leaves out the open PO, the plan sees 340 units instead of 940. It can then suggest up to 600 more units than it should, reordering stock already on the water. At a unit cost of €6.40, that is up to €3,840 of stock ordered twice.

Two details cause most of the errors here:

  • The snapshot date. Stock and sales must share a cut-off. If stock was counted on 15 March and sales run to 31 March, the stock figure still includes units sold in the second half of the month. Use the same cut-off date for both exports.
  • Expected arrival, not order date. An order placed in January that lands in May covers May, not February. If your system only has the order date, add the supplier's confirmed ship date by hand for the open lines.

Open orders, MOQ and carton size are exactly what the order line uses. The step from forecast to purchase order is covered in inventory replenishment.

Where do lead time, MOQ and carton size come from?

They come from the supplier side: price lists, order confirmations, receiving records and the supplier's terms. Few ERP exports hold them cleanly per SKU, so most distributors keep them in a supplier sheet, which needs the same care as the sales export.

  • Lead time is the time from placing the order to the stock being available to sell, in days or weeks, per supplier or per SKU. A quoted lead time is a start. The lead time measured from your own order and receipt dates is better, because it shows how much the lead time varies, and safety stock depends on that variation.
  • MOQ is the smallest quantity the supplier accepts, per SKU or per order. Record which one it is: a €2,000 minimum per order works differently from a 500-unit minimum per item.
  • Carton size is the number of units per outer carton (also called case pack). Order quantities are rounded up to whole cartons, so a wrong carton size makes every suggested quantity wrong in a way that is easy to miss.
  • Supplier per SKU. List one main supplier per SKU, plus the currency of its price list. Items with two suppliers need a rule for which one the plan orders from.

Export readiness checklist

Run this before you build a forecast or upload a file anywhere. If any item is "no", fix it in the export instead of patching the plan afterwards.

Is your export ready for demand planning?

Fix first: the unticked items will distort the forecast or the order quantities. 11 of 11 items are still unticked.

Nothing you type leaves this page.Do this for every SKU from one export

Where this breaks

  • SKU codes that change. When a product is replaced or relabelled, the new code starts with no history and the old one looks discontinued. Keep a mapping of old to new codes and join their histories.
  • New items. Items with a few weeks of sales can't be forecast from their own history. Plan them from a similar item or a buyer's estimate, and let the history take over as it builds.
  • One-off orders. A single project order of 2,000 units in a SKU that normally sells 150 a month will lift the forecast for months. Flag such orders and keep them out of the baseline.
  • Several warehouses. If the plan is per warehouse, sales and stock must both carry the warehouse. If it is per company, add the warehouses up before comparing.
  • Gaps that mean zero. A month with no row can mean no sales or missing data, and a tool has to assume one of them. Excel's FORECAST.ETS interpolates by default [3], while the Allocates.ai engine reads a missing month between two recorded months as zero demand [8]. Neither is right for a month that was empty because of a stock-out, which is why the stock-out flag matters.

How does Allocates.ai use this data?

Allocates.ai starts from the Excel or CSV exports described above. You upload a sales export, AI proposes how its columns map to date, SKU, quantity and price, and a person reviews the mapping. The product then builds a per-SKU forecast at the period your dates show, with the method picked by backtest [8].

Files can be .xlsx, .xls or .csv up to 10 MB, and each upload produces one forecast. If you want a monthly forecast, upload sales already totalled by month.

Upload of Excel or CSV exports with AI column mapping and review is shipped, as are ABC classification and the per-SKU forecast; the flow is in the how it works section. The demand plan that uses stock on hand, open orders, MOQ and carton size to suggest an order quantity per SKU is coming, and so is one draft purchase order per supplier. Google Sheets import is planned.

Demand plan: coming

Frequently asked questions

How many months of history do I need for demand forecasting?

There is no universal minimum. It depends on how noisy the item is and which model you fit [1] [2]. Our working guidance is 12 months for most items and 24 months for seasonal ones, so that each month is seen at least twice. Smooth, fast-moving items manage with less than erratic ones.

Can I forecast with less than a year of data?

Yes, but only the level and possibly the trend, not the season. With a few months of history, simple methods such as a moving average or simple exponential smoothing are the honest choice, and someone who knows the item should review the forecast. In Allocates.ai, a SKU with fewer than four periods gets a naive forecast but no accuracy score [8].

Should I use the order date or the invoice date?

Use the date that best matches when the customer wanted the goods. For most distributors that is the order date, if the export has it. The invoice or shipment date is what most systems export by default, and it is fine when goods ship within days of the order. When backlogs are long, it moves demand to when stock was available, which hides shortages.

Do I include returns in the sales history?

Keep them in the export but separate them, as negative lines or with a return flag. A return of a faulty unit doesn't mean the original demand was false, but a return of unsold stock from a customer often does. Decide per return type, and don't let returns net against sales without a trace.

Is weekly or monthly data better for demand planning?

Monthly data is easier to clean and usually enough for items ordered from overseas suppliers every month or two. Weekly data helps when lead times or review cycles are short, but it has more zero periods for slow movers. Keep the finest level you have (daily or per invoice) in your own archive, because you can always add it up to weeks or months later. If you want a monthly forecast, add it up to months before you forecast.

If your exports pass the checklist, you are ready for a pilot. Distributors that want to plan from their own files can apply for the founding-customer cohort.

  1. Hyndman, R.J. & Athanasopoulos, G., OTexts, 2021. Forecasting: Principles and Practice, 3rd ed., §13.7 Very long and very short time seriesTextbookAccessed 2026-11-30
  2. Hyndman, R.J. & Kostenko, A.V., International Institute of Forecasters, 2007. Minimum sample size requirements for seasonal forecasting models. Foresight 6, 12–15Primary sourceAccessed 2026-11-30
  3. Microsoft Support, 2026. FORECAST.ETS functionStandardAccessed 2026-11-30
  4. Hyndman, R.J. & Athanasopoulos, G., OTexts, 2021. Forecasting: Principles and Practice, 3rd ed., §8.3 Methods with seasonality (Holt-Winters)TextbookAccessed 2026-11-30
  5. Jain, A., Rudi, N. & Wang, T., INFORMS, 2015. Demand estimation and ordering under censoring: stock-out timing is (almost) all you need. Operations Research 63(1), 134–150Primary sourceAccessed 2026-11-30
  6. MITx, MIT Center for Transportation & Logistics, 2015. Key Concepts Week 7 Lesson 1: Probabilistic inventory models (CTL.SC1x)TextbookAccessed 2026-11-30
  7. Federal Reserve Bank of New York, 2026. Global Supply Chain Pressure Index (GSCPI), monthly dataPrimary sourceAccessed 2026-11-30
  8. Allocates.ai, 2026. Allocates.ai forecasting engine: period detection from file dates, method candidates by history length, backtest window and gap handling (product source code, checked 30.11.2026)Our own estimateAccessed 2026-11-30
  9. Allocates.ai, 2026. Pro-rata stock-out correction and the 12/24-month history guidance (editorial rule of thumb)Rule of thumbAccessed 2026-11-30

More from the blog