Tracking Inventory in Excel Without It Falling Apart

Tracking Inventory in Excel Without It Falling Apart
Most inventory spreadsheets do not fail because the formulas are wrong. They fail because of six decisions nobody made at the start: where the movements live, how the product code is stored, who can edit what, and what happens at the end of the month. Fix those six and a spreadsheet will carry a small business for years.
This is the structure, the formulas and the rules, in the order you should build them.
Key takeaways
- Two tabs, not one: a catalogue of products and a ledger of movements. Nothing else.
- Every movement is a row with date, code, type, quantity and cost. The balance is calculated, never typed.
- Store codes as text, build the sheet as an Excel Table, and never insert a row in the middle.
- Close each month by copying the balance into an opening row, not by deleting history.
Step 1: choose the shape before you type anything
There are two ways to model inventory in a spreadsheet and only one survives contact with reality.
One row per product with a quantity that you update by hand is the way almost everyone starts. It cannot answer what happened, when, or at what cost. It is a stock list, not a ledger, and it is where the numbers begin to drift.
One row per movement in a ledger, with the balance calculated from it, is the model that scales. Every receipt, issue, transfer and adjustment is a line with a date and a reason. The current stock is a formula, and the history is the file.
Step 2: the two tabs
| Tab | Columns | Rule |
|---|---|---|
| Products | Code, name, unit, category, location, minimum stock, last cost | One row per product, code unique, never reused |
| Movements | Date, document, code, type, quantity in, quantity out, unit cost, third party, note | One row per movement, never edited after the month closes |
If you need prices, put the sale price in a third tab or in the products tab. Do not mix price lists with movements.
Step 3: the four formulas that do the work
=SUMIFS(Movements[In],Movements[Code],$A2)-SUMIFS(Movements[Out],Movements[Code],$A2)
=SUMIFS(Movements[In],Movements[Code],$A2)*0+SUMIFS(Movements[Value],Movements[Code],$A2)-SUMIFS(Movements[OutValue],Movements[Code],$A2)
=IFERROR(LOOKUP(2,1/(Movements[Code]=$A2),Movements[UnitCost]),"")
=IF(Balance<Minimum,"Reorder","")
The first gives stock on hand, the second its value, the third the most recent cost, the fourth a reorder flag. With those four you can run a small warehouse. Anything beyond them is where spreadsheets start to become programs, badly.
Step 4: six rules that prevent most of the damage
- Format the code column as Text. Otherwise 00123 becomes 123 and the scanner stops matching.
- Convert both tabs to Tables (Ctrl+T). Formulas then reference structured names and grow automatically.
- Never insert rows in the middle. Add at the bottom, sort by date afterwards.
- Validate the type column with a list: Receipt, Issue, Transfer, Adjustment. Free text is how you end up with "entrada", "ENTRADA" and "Entrada".
- One editor at a time. A shared file with two simultaneous editors loses rows silently.
- Save a dated copy every Friday. inventory_2026-03-06.xlsx in a folder that is backed up, never inside the live OneDrive folder if others edit it.
Step 5: closing the month without deleting history
Do not clear the movements tab at the end of the year. Add an opening row per product, dated the first day of the new period, with the closing balance as the quantity and a note that says "opening balance". The ledger keeps the total, and the balance formula keeps working because it sums everything, including the opening rows.
That single habit is what allows you to answer a question six months later: why the count changed, and in which month.
Step 6: counting with the spreadsheet
Print a count sheet from the products tab, sorted by location, with a blank column for the physical quantity. Count in pairs if the stockroom is large: one person reads, another writes. Then enter the differences as Adjustment rows, one per product, with the reason in the note.
Never change a quantity directly in the products tab. If you do, the adjustment leaves no trace and the next count repeats the same argument.
What breaks first, in practice
| Symptom | Cause | Fix |
|---|---|---|
| Duplicate codes | Typing instead of choosing from the products tab | Data validation on the code column, sourced from the products list |
| Balance that does not match the count | Quantities edited by hand in the products tab | Adjustments only, as movement rows |
| Rows that vanish | Two editors saving the same file | One editor, or a versioned copy per session |
| Codes that stop matching | The code was stored as a number | Reformat as text and re-enter leading zeros |
| Slow file | 50,000 rows of history in one sheet | Opening balances per year and an archive file |
When this is no longer enough
A well-built ledger in Excel handles a single user, a stable catalogue and a few hundred movements a month without drama. It stops handling them at the second editor, at the moment you need the cost of a specific movement, or at the first auditor who asks for a history with users and timestamps. Those are the thresholds, and they are worth measuring before the spreadsheet embarrasses you in front of a customer.
Where Kardex Tauro fits
If you want the structure above without the fragility, Kardex Tauro is the same ledger with the rules enforced: a movement is always a document, the balance is always calculated, the code is always text and the user is always recorded. It runs on Windows 10 and 11 with the database on your PC or on a computer in your local network, and it imports products and opening balances from the very Excel file you have been keeping.
The free edition covers one PC. The professional edition is $120 a year per computer, ten dollars a month, with no charge per user, and it installs from the Microsoft Store.
Frequently asked questions
Should I keep one row per product or one row per movement?
One row per movement, always. The product row is a lookup table; the movement rows are the inventory. A spreadsheet of product rows with a quantity column is a list that cannot explain itself when the count differs.
How do I stop people from editing past movements?
Protect the sheet with a password and leave only the entry columns unlocked, and close each month with an opening row. Excel protection is not security, but it stops accidents, which is what you actually need at this scale.
Can I use a barcode scanner with an Excel inventory?
Yes, if it is a keyboard-wedge reader: it types the code into the active cell. Combine it with data validation on the code column and the scan becomes a lookup instead of a transcription.

Download the inventory control template
Read: where the spreadsheet stops working
A spreadsheet is not a bad system. It is an excellent system with no guardrails, and every guardrail you add here is one you will not have to explain to an auditor later.