How to track stock across two locations in one Google Sheet
One stock number per product works until the stock sits in two places. The sheet says you have 49 blue mugs, a customer is at the counter, and nobody can say whether 49 means on the shelf here or in boxes across town.
You need one more column and one more tab, not a second spreadsheet. This guide builds on the layout from how to track inventory in Google Sheets: a Products tab with SKU in column A, Opening stock in F and Stock left in J, and a Stock moves tab with Date, SKU, Type, Quantity and Note in columns A to E. If your columns differ, change the letters. The two places here are called Shop and Warehouse.
Why one movements tab beats a sheet per location
| Approach | What goes wrong |
|---|---|
| A separate file or tab of movements for each location | A transfer is typed in two places. If one half is missed, stock appears or vanishes and nothing flags it. |
| One movements tab with a Location column | Each row is a little longer. That is the whole cost. |
Add a Location column to Stock moves
Use the next free column on Stock moves. This guide uses F. Give it a dropdown so the names are always spelled the same way, because SUMIFS treats "Shop" and "Shop floor" as different places.
- Select column F from row 2 down.
- Choose Data > Data validation > Add rule.
- Under Criteria, choose Dropdown and enter the two values: Shop and Warehouse.
- Click Done.
Google's page on dropdown lists says an entry that does not match an item on the list is rejected, which is what you want here.
From now on every row says where it happened. Go back and fill in the location for the rows you already have. A row with no location still counts in the product total but belongs to neither place, so the check further down will catch it.
Record a transfer as two rows
Moving stock is not a new kind of event. It is an Out at one place and an In at the other, on the same date, for the same quantity.
| Date | SKU | Type | Quantity | Note | Location |
|---|---|---|---|---|---|
| 2026-11-02 | M-101 | In | 24 | Supplier delivery | Warehouse |
| 2026-11-03 | M-101 | Out | 6 | Counter sale | Shop |
| 2026-11-04 | M-101 | Out | 12 | Transfer to shop | Warehouse |
| 2026-11-04 | M-101 | In | 12 | Transfer from warehouse | Shop |
| 2026-11-05 | M-102 | Out | 7 | Counter sales | Shop |
| 2026-11-06 | P-201 | Out | 8 | Order for the cafe | Warehouse |
| 2026-11-07 | M-101 | Out | 9 | Counter sales | Shop |
Rows three and four are the transfer. Together they add 12 to stock in and 12 to stock out for the blue mug, so the total on the Products tab does not move.
One side effect to know about: the Stock in and Stock out columns on Products now include transfers. Stock left is still right, but Stock out is no longer the same thing as units sold.
Build a Locations tab
Add a tab called Locations with these columns: SKU (A), Product name (B), Shop opening (C), Warehouse opening (D), Shop (E), Warehouse (F), Total (G) and Check (H). Copy the SKUs across from Products.
Opening stock has to be split by hand, once. Type into C and D how much of each product was in each place on the day the sheet started. The two must add up to Opening stock on the Products tab.
Then add five formulas in row 2 and fill them down.
Product name (B2):
=INDEX(Products!B:B, MATCH(A2, Products!A:A, 0))Shop (E2) is the shop's opening stock, plus what came in there, minus what went out from there:
=C2+SUMIFS('Stock moves'!D:D, 'Stock moves'!B:B, A2, 'Stock moves'!C:C, "In", 'Stock moves'!F:F, "Shop")-SUMIFS('Stock moves'!D:D, 'Stock moves'!B:B, A2, 'Stock moves'!C:C, "Out", 'Stock moves'!F:F, "Shop")Warehouse (F2) is the same with D2 and "Warehouse":
=D2+SUMIFS('Stock moves'!D:D, 'Stock moves'!B:B, A2, 'Stock moves'!C:C, "In", 'Stock moves'!F:F, "Warehouse")-SUMIFS('Stock moves'!D:D, 'Stock moves'!B:B, A2, 'Stock moves'!C:C, "Out", 'Stock moves'!F:F, "Warehouse")Total (G2):
=E2+F2Check (H2):
=G2-INDEX(Products!J:J, MATCH(A2, Products!A:A, 0))
These are the SUMIFS formulas from SUMIFS for stock in and stock out with one more pair on the end: the location column and the place you want. Google's SUMIFS reference covers the syntax.
With the seven movements above, the tab shows:
| SKU | Product name | Shop opening | Warehouse opening | Shop | Warehouse | Total | Check |
|---|---|---|---|---|---|---|---|
| M-101 | Blue mug | 10 | 30 | 7 | 42 | 49 | 0 |
| M-102 | Red mug | 5 | 20 | −2 | 20 | 18 | 0 |
| P-201 | Dinner plate | 12 | 18 | 12 | 10 | 22 | 0 |
Trace the blue mug. Shop: 10 + 12 − 6 − 9 = 7. Warehouse: 30 + 24 − 12 = 42. Total 49. The Products tab works it out the other way, 40 + 36 in − 27 out = 49, so Check is 0.
Read the Check column and the negatives
Check should be 0 on every row. If it is not, one of two things happened: the two opening figures do not add up to the product's opening stock, or a movement row has no location. Fix the row and do not touch the formula.
A negative in Shop or Warehouse is a different message. The red mug shows −2 in the shop with a Check of 0. The total is right, but the sheet has the stock in the wrong place: the shop started with 5 and sold 7. Somebody brought mugs over from the warehouse and did not write it down. Find out how many, and add the pair. If it was a box of 6:
| Date | SKU | Type | Quantity | Note | Location |
|---|---|---|---|---|---|
| 2026-11-05 | M-102 | Out | 6 | Transfer to shop, entered late | Warehouse |
| 2026-11-05 | M-102 | In | 6 | Transfer from warehouse, entered late | Shop |
The red mug becomes 4 in the shop and 14 in the warehouse. The total is still 18.
To make negatives hard to miss, select columns E and F, choose Format > Conditional formatting, and under Format cells if pick Less than with the value 0 and a red fill. Google's page on conditional formatting shows the panel.
Work out what to bring over from the warehouse
Two more columns turn the tab into a restocking list. In I, type a Shop minimum for each product, the fewest you want on the shelf. In J, Move to shop:
=MAX(0, MIN(I2-E2, F2))
It brings the shop up to its minimum, but never asks for more than the warehouse holds. With a minimum of 10 for each mug and 8 for plates, and the red mug transfer entered:
| Product | Shop | Warehouse | Shop minimum | Move to shop |
|---|---|---|---|---|
| Blue mug | 7 | 42 | 10 | 3 |
| Red mug | 4 | 14 | 10 | 6 |
| Dinner plate | 12 | 10 | 8 | 0 |
This is separate from buying more. Your reorder level still compares against the total, because a supplier order is about what the business holds, wherever it sits.
When you do a stock count, count each place against its own column, and put the location on every adjusting row.
Where BoltSheets fits
Everything above works in a plain Google Sheet. The BoltSheets inventory tracker template has the same Products and Stock moves tabs, but it tracks one location: it has no Location column and no Locations tab, so the split is yours to add. In the demo you can ask "how many blue mugs are left?" or say "sold 6 blue mugs", and it previews a new Stock moves row that is only written when a person confirms it. Formula cells are never written to. BoltSheets is in early access and works with Google Sheets only.
Common questions
Should each location have its own spreadsheet?
It is tempting, but a transfer then has to be typed into two files, and nothing tells you when one half was forgotten. With one movements tab and a Location column, both halves sit next to each other and one check formula covers every product.
What does a negative number at one location mean?
Stock was sold or sent from that place that the sheet thinks is somewhere else. Almost always someone carried goods across without recording the transfer. Add the missing pair of transfer rows with the real date, and the negative goes away without the total changing.
Can I add a third location later?
Yes. Add its name to the Location dropdown, add an opening stock column and a stock column for it on the Locations tab, and copy the formula with the new name in place of "Shop". Then include the new column in the total.
Does this work in Excel?
The layout and the formulas do. SUMIFS, INDEX, MATCH, MAX and MIN are all in Excel. The menu paths in this guide for the dropdown and the highlight rule are the Google Sheets ones.