Google Sheets Inventory Tracker: Stock In/Out Log
To track inventory in Google Sheets, log every movement as a row and compute stock with SUMIFS. Do not keep a "quantity" cell that people overwrite. Once someone types over a number, you cannot tell how it got there, and counts drift without anyone noticing. A ledger of movements (stock in, stock out, count adjustment) gives you an audit trail for free, and the balance becomes a formula you can trust.
This is the simple ledger version, built for one location and a few hundred items. It works well at that size, and we will say plainly where it stops working. If you want a ready-made layout first, see our Google Sheets inventory template; for warehouses, lots and FIFO, see the inventory management guide.
The ledger idea in 3 columns
Every stock change is one row with three essential facts: which item, which direction, how many. Everything else (date, who, note) helps you audit but does not change the maths.
| Date | SKU | Type | Qty | Note |
|---|---|---|---|---|
| 2026-11-02 | BX-100 | In | 120 | Supplier delivery |
| 2026-11-03 | BX-100 | Out | 18 | Order 4471 |
| 2026-11-05 | BX-100 | Adjust | -2 | Cycle count: 2 damaged |
Quantity is always typed as a positive number for In and Out; the Type column carries the direction. Adjust is the only type that may be negative or positive, because it corrects a mismatch. Stock for BX-100 here is 120 + (-2) - 18 = 100.
The reason this beats overwriting: if the shelf says 98 and the sheet says 100, you can look at the history and see exactly what was logged. With a single quantity cell, all you have is two disagreeing numbers.
Setup: Items and Movements tabs
Create two tabs.
Items (one row per product, columns A to F):
| A: SKU | B: Name | C: Reorder at | D: In stock | E: Status | F: Last movement |
|---|---|---|---|---|---|
| BX-100 | Shipping box, medium | 40 | formula | formula | formula |
| TP-220 | Packing tape, 48 mm | 25 | formula | formula | formula |
Movements (append-only, columns A to E): Date, SKU, Type, Qty, Note, exactly as in the table above. Freeze row 1 on both tabs and format column A of Movements as a date.
The invented items above are examples only. Use your own SKUs; short, unique codes without spaces avoid matching errors later.
Balance and reorder formulas
In Items!D2, the current balance:
=SUMIFS(Movements!$D:$D, Movements!$B:$B, $A2, Movements!$C:$C, "In")
+ SUMIFS(Movements!$D:$D, Movements!$B:$B, $A2, Movements!$C:$C, "Adjust")
- SUMIFS(Movements!$D:$D, Movements!$B:$B, $A2, Movements!$C:$C, "Out")
In Items!E2, the reorder flag:
=IF(D2<=C2, "Reorder", "OK")
In Items!F2, the date of the last movement, useful for spotting dead stock:
=MAXIFS(Movements!$A:$A, Movements!$B:$B, $A2)
Format column F as a date; an item with no movements yet shows 0 (a 1899 date) until its first row is logged. Drag all three down. On the example data, BX-100 gives D = 120 + (-2) - 18 = 100, E = "OK" (100 > 40) and F = 2026-11-05. SUMIFS takes the range to sum first, then pairs of criteria range and criterion. Whole-column references like Movements!$D:$D mean new rows are picked up automatically. If the file ever feels slow, switch to bounded ranges such as $D$2:$D$20000.
You can also add conditional formatting on column E so "Reorder" turns red, which gives you a visual list of what to buy.
Data validation and a stock-count tab
A ledger is only as clean as its entries. Two kinds of validation protect it.
Dropdown for Type. Select the Type column in Movements, then use the Data menu to add a data validation rule with a list of items: In, Out, Adjust. Choose to reject invalid input. A mistyped "in " with a trailing space would otherwise be silently ignored by SUMIFS and your balance would be wrong. Google documents the dropdown setup in its in-cell dropdown help article.
Dropdown for SKU. Do the same for the SKU column, using the range Items!A2:A as the list source. This stops typos from creating phantom items.
For physical counts, add a third tab, Count:
| A: SKU | B: System | C: Counted | D: Variance |
|---|---|---|---|
| BX-100 | formula | you type | formula |
B2:
=INDEX(Items!$D:$D, MATCH($A2, Items!$A:$A, 0))
D2:
=IF(C2="", "", C2-B2)
After the count, take each non-zero variance and add one Adjust row in Movements with the note "cycle count" and the date. The balance now matches the shelf, and the correction stays on record. Resist the temptation to edit the computed balance directly: the whole design depends on that cell never being typed over.
Mobile entry via Form
If staff record movements from a phone, a Google Form is a better front door than the sheet itself. A Form with four fields (SKU dropdown, Type dropdown, Qty, Note) can append each response to a sheet, and the staff member never sees a formula they could break. One common pattern is to let the Form write to its own response tab and have a short script or an ARRAYFORMULA pull those rows into Movements, so the ledger tab stays under your control.
A simple option is to let the Form's response tab be your Movements tab: add a Date column from the Form's timestamp, keep column order consistent, and point the SUMIFS ranges at that tab. Test with five fake entries before real stock goes through it.
The core limitation here is that the Form cannot calculate "can this person take out 50 when only 30 are left" on its own. If you need rules like that, you are into script territory (see the next sections) or a small custom app.
Where it breaks (concurrency, size)
Be realistic about the limits.
Size. Google's help page says Sheets spreadsheets can hold up to 20 million cells or 100 MB when created in or converted to Google Sheets (Google Drive Help). A five-column Movements tab uses 5 cells per movement, so the cell ceiling is far away. In practice, speed degrades well before that: thousands of whole-column SUMIFS over tens of thousands of rows feel slow long before you hit the limit. Archive old years into a separate file with an opening balance row when that happens.
Concurrency. Sheets allows several people to edit at once, and the append-only design avoids two people overwriting the same quantity cell. What it cannot prevent is a business-logic clash: two people picking the last 10 units for different orders. The sheet will happily show -10. A negative balance is a useful alarm, but it is an after-the-fact alarm, not a lock.
Editing history. Anyone with edit access can change an old Movements row. Protect the sheet (Data menu, protected sheets and ranges) so only a few people can edit existing rows, and let everyone else append through the Form.
Multiple locations, lots, reservations. The simple ledger does not model them. You can bolt on a Location column and extra SUMIFS criteria, and many shops do for a while. By the time you need lot numbers and expiry, you are better served by a dedicated layout or app.
Automating alerts
Once the balance is a formula, an alert is a short script. This one emails you a list of items at or below their reorder level every morning:
function emailLowStock() {
const sheet = SpreadsheetApp.getActive().getSheetByName('Items');
const rows = sheet.getDataRange().getValues().slice(1); // skip header
const low = rows.filter(([sku, name, reorderAt, inStock]) =>
sku && inStock <= reorderAt
);
if (!low.length) return;
const body = low
.map(([sku, name, reorderAt, inStock]) =>
`${name} (${sku}): ${inStock} left, reorder at ${reorderAt}`)
.join('\n');
MailApp.sendEmail(
Session.getEffectiveUser().getEmail(),
`Low stock: ${low.length} item(s)`,
body
);
}
In the Apps Script editor, open Triggers and add a time-driven trigger to run emailLowStock daily. It runs inside your own Google account with no per-task fee, which is the same job a paid automation platform would charge a monthly fee for. We cover alert patterns in more depth in preventing stockouts with automated alerts.
Apps Script has quotas and a six-minute execution limit per run, which a short loop like this will never approach. Outgoing email quotas are also finite, so send one summary, not one email per item.
When it is time for a real app
A ledger in Sheets is the right tool until one of these appears: multiple locations, lot and expiry tracking, reservations against incoming orders, many staff entering at once on phones, or the file feeling slow. The good news is that the ledger design is exactly what a real stock system uses, so the move is a lift, not a rebuild. Your Items and Movements tabs stay as the data, and a web app puts a proper front door on them. We walk through one such build in an inventory management web app on Apps Script.
Subscriptions are sometimes the right call too. If you need native integrations with a marketplace, a barcode printing workflow or multi-warehouse transfers on day one, buying a stock system can beat building one. If your needs are "know what we have, get warned before we run out, keep a history", the sheet above is genuinely enough and costs nothing.
Outgrowing the sheet? Get a free feasibility review: tell us how many items and locations you track and what you want automated, and we will say whether a few scripts, a small web app, or an off-the-shelf tool is the cheaper route. You can also message us on WhatsApp.
Frequently Asked Questions
How do I track inventory in Google Sheets?
Keep two tabs. An Items tab lists each product once with a reorder level, and a Movements tab gets one new row for every stock in, stock out or count adjustment. The current stock for each item is then a SUMIFS formula over Movements, not a number someone types. Because nobody edits a quantity directly, you always have a record of how the number was reached, and mistakes are corrected with a new row instead of silently overwritten.
Can two people edit the sheet at the same time?
Yes, Google Sheets supports simultaneous editing, and the ledger design makes it much safer because people add rows instead of editing the same quantity cell. The problems that remain are human, not technical: two people logging the same delivery, or someone editing an old Movements row. Protect the formula columns and the Items tab, restrict who can edit the Movements history, and funnel entries through a Google Form if many people record stock.
How do I do a physical stock count?
Add a Count tab with one row per item, the system balance pulled from Items, and a column where you type what you counted. The difference is the variance. Post each non-zero variance as an Adjust row in Movements with a note such as 'cycle count', so the balance matches the shelf and the correction stays visible in the history. Never type over the computed balance to make it match.
Can I use a barcode scanner?
Usually, yes. Most USB and Bluetooth scanners behave like a keyboard: they type the code and press Enter, so scanning into a SKU cell or a Form field works without any software. We have not tested every model, so confirm yours with a quick trial. Phone cameras are a separate matter and generally need an app rather than plain Sheets.
When do I need inventory software instead of Sheets?
When the sheet stops being the cheapest place to be accurate. The usual signs: several warehouses or locations, lot numbers and expiry dates, stock reserved by incoming orders, many people entering at once from phones, or a Movements tab so large that the file feels slow. At that point the same ledger idea usually moves into a small custom web app on top of the data you already have, rather than into a monthly subscription.



