On the 29th, the logistics analyst loads the month’s files into the freight model: carrier rate cards, fuel surcharges, tolls and the demand sheet from sales. Row 412 of one rate card says “same as Aug”. A depot is spelled two ways across two files. The model stops. Three days later the errors are found, the month has started, and the business is running on last month’s plan again.
A freight plan should load every good row and name every bad one, because a model that stops on its worst row hands the decision to whoever typed it.
The spreadsheet is not the villain
The easy conclusion is to ban spreadsheets. In practice, that is not going to happen. Carriers send rate cards as spreadsheets. Sales shares demand as a spreadsheet. Finance lives in them. People are fast with them, and the format holds the data perfectly well.
The problem is not how the data arrives. It is how the planning model treats a file that is mostly right. A rate card with 600 clean rows and one typo is 99.8% useful. Most homemade models treat it as 0% useful.
All-or-nothing models make the worst row the boss
A model built in a workbook, or a script someone wrote years ago, usually behaves one of two ways. Either every row is clean and the plan runs, or one row is wrong and nothing runs. Sometimes it is worse: the model runs anyway and quietly treats a blank rate as zero.
Either way, the plan becomes hostage to the single worst cell in the single worst file. The analyst spends the start of every month hunting rather than planning. And since the hunt has no fixed length, the plan has no fixed date.
If one typo can stop the plan, the typo is running your freight budget.
A late plan has a price of its own
It is tempting to think of a late plan as an inconvenience. It is a cost, and you can put a rough number on it.
Here is an illustrative example, not a customer figure. Say a plant-to-depot network spends ₹80 lakh a month on ten lanes where carriers raised rates by 4% this month. The new rate cards are in, but the model will not run, so the budget is built on last month’s rates.
₹80,00,000 × 4% = ₹3,20,000.
That ₹3.2 lakh is not a saving and not an overrun in any useful sense. It is stale data. Yet at month-end it shows up as a variance, and the review spends an hour arguing about a gap that was known on the 29th. Meanwhile, any routing decision that depended on the new rates was made on the old ones.
A plan that runs on time with one flagged lane is worth far more than a perfect plan that arrives on the 4th.
Load the good rows, name the bad ones
The fix is a different contract between the file and the model. FreightPlan loads eight datasets as CSV: plants, depots, lanes, carriers, fleet, rate cards, demand and the trip log. Each is validated row by row. A bad row is rejected with the reason and the fix, and the rest of the file loads.
Two other details matter as much as the validation. Before anything is committed, a staged upload shows row counts, missing columns and the effect of upserting versus replacing the existing data. Replacing a rate card stops being a leap of faith. And every upload is kept in the audit trail, so a surprising plan can be traced back to the file that caused it.
Consider a smaller version. A bakery chain’s central kitchen sends bread to twelve outlets each morning through three local transporters. If a new outlet has no transporter rate, the sensible move is to flag that outlet and plan the other eleven. Nobody would hold back the morning’s dispatch over one missing cell. Monthly freight models deserve the same common sense.
The optimiser should follow the same rule
The same thinking applies inside the plan itself. A network that cannot meet every depot’s demand, because a plant is short or the fleet is stretched, should not simply fail to solve.
In the optimiser we built, unserved demand is a penalised slack. You always get a plan back, plus the exact shortfall: which depot is short and by how much. The shortfall is reported, never hidden. That is the planning version of loading the good rows and naming the bad ones. The answer is usable today, and the gap has an address.
When stopping is the right answer
There is a fair objection. A partial load can mislead. If the rejected row is your biggest lane, a plan built without it is not a slightly imperfect plan. It is a wrong one. Some teams prefer a hard stop for exactly that reason.
We agree that some gaps should block publication. The difference is between blocking the run and blocking the decision. Let the model load what it can and show you exactly what it rejected. Then a person decides whether the missing rows matter enough to hold the budget. A rejected row on a lane that moves two trucks a month is a footnote. A rejected row on your biggest lane is a phone call to the carrier before lunch. Both are better than a plan that silently never ran.
What we would never accept is the third option: a model that runs and treats bad data as good. A blank rate read as zero is worse than any late plan.
What to do this week
- Agree one spelling for every plant, depot and carrier, and use it in every file.
- Find any rate stored as text, such as “approx” or “same as last”, and replace it with a number and a unit.
- Check that every new lane has a carrier and a rate before the month starts, not after.
- Note how many days into the month your plan was published for each of the last three months.
- Decide in advance which missing rows should block the budget, and which only need a flag.
None of this is glamorous. The optimiser and the variance review get the attention, but they only help if this month’s data reaches them. For how the budget is built once it does, read freight budget planning for plant-to-depot networks. For month-end, see freight variance analysis, and the rest of our freight planning guides.
