AI School · Level 4 · Practical case · The pharmacy's numbers

Find your dead stock and decide what to do with it

Léelo en español →

Reading time: about 9 minutes

The situation. You know there is money sitting in the stockroom. You do not know how much, or where, or where to start — and every time you try, you get lost in a list of four thousand items.

Dead stock is not "what does not sell": it is your money tied up, and every euro sitting there is a euro that is not in the till or in something that does move. This case turns it into a concrete figure and a twenty-line list you can actually decide on.

What you need to hand: Two exports from your software: current stock (code, description, units on hand, retail price and, if available, cost price) and sales for the last 12 months (code, units). Neither carries personal data, so this is one of the clean cases.

Step by step

  1. Export both files and check they share a key

    The "key" is the column that lets you join them: the product code. If one file shows 650123 and the other 650123.4 or with leading zeros, the join will fail on half the rows and the result will be a silent mess.

    Open both and look at ten codes. If they do not look exactly alike, say so in the prompt: it is one of the few things a model fixes well and instantly.

← All practical cases Back to the school →