Home / Supply chain, technology and AI / Module 4
AI can write formulas, clean data and suggest orders in your spreadsheet. Learn to use it for inventories with a simple rule: AI for structure and text, formulas for numbers, and you to check.
Goal: Use AI in a spreadsheet by asking it for formulas, classify products with ABC and calculate the reorder point, coverage and suggested order.
Many companies manage inventories and orders in a spreadsheet, such as Excel or Google Sheets. AI comes in three ways: as a chat that explains and writes formulas, as an assistant that analyzes a file you upload, or as a function inside a cell that classifies or summarizes text. All three help, but they are not equally useful for everything.
The practical rule is this: AI for text and structure, formulas for numbers. Ask it for the formula, not the result. That way the calculation stays in your spreadsheet, visible and repeatable. A figure given by a chat leaves no trail; a formula does. On its support page, Microsoft warns that Excel's COPILOT function can give incorrect answers, and different answers with the same data, and it recommends native formulas for calculations.
Before using AI, clean up the spreadsheet: clear headers, one row per record, no merged cells and codes stored as text. A classic detail: if a code starts with zero, such as tariff heading 0901.11, Excel may drop the zero by treating the code as a number. Work on a copy of the file and do not paste customer data or agreed prices without authorization.
In inventories, a few calculations hold most of the value. ABC classification ranks products by their annual consumption value: a few (class A) account for most of the value and deserve more control; the lower-value ones (class C) are managed with simple rules. Coverage is the number of days your stock lasts: stock ÷ daily demand. The reorder point is the stock level that triggers an order: daily demand × lead time + safety stock, which is the cushion for changes in demand or lead time.
Always check what the AI did. Count the rows before and after, compare total units and total soles, review 10 random rows and recalculate two products by hand. Also ask it to explain each formula and to look for odd cases, such as negative stock or lead times of zero. In the warehouse it may suggest placing the fastest-moving products near the exit, but you are the one who knows the physical constraints (weight, height, cold chain).
| Task | How AI helps | Check in the spreadsheet |
|---|---|---|
| Clean data | Unify product names, split columns, flag duplicates | Count rows before and after |
| ABC classification | Suggest the formulas for cumulative percentage and class | That the sum is 100% and A + B + C equals the total number of products |
| Restocking | Write the formula for the reorder point and coverage | Recalculate two products by hand |
| Suggested orders | Build the order table by supplier | Check minimum order quantities and pack multiples |
| Warehouse | Suggest locations based on turnover | Compare against weight, height and cold chain |
Result: The AI wrote the formulas, but the numbers come from your spreadsheet and you checked them: S/ 1,000,000 in total, three A products with 75% of the value and a suggested order of 450 units for the main product.
2025
Excel's COPILOT function lets you ask AI, from a cell, to do tasks such as summarizing or classifying text and generating sample data. Microsoft's official support page warns that it can give incorrect answers and that results can change even with the same arguments. It recommends using native formulas, such as SUM, AVERAGE or IF, for calculations, and not using AI results in financial reports. It matters because the company itself sets the limit.
Use the in-cell AI to classify or summarize text, and regular formulas for quantities and costs.
04/10/2020
On 04/10/2020, Public Health England reported that 15,841 positive COVID-19 cases, which occurred between 25/09/2020 and 02/10/2020, had not been included in the published daily figures. The cause was a failure in the automated process that transfers lab results to the data dashboards: some files exceeded the maximum size the upload system allowed. It matters because for several days the daily figures underestimated the real number of cases.
Every time you move data between files or systems, compare the number of records and the totals before and after.
Source: GOV.UK – PHE statement on delayed reporting of COVID-19 cases
Practise with the calculators, the COMEX Simulator and the review questions on the main page.
Open this topic in the calculator →