Stop people overwriting each other in a shared stock sheet
Two people record sales in the same stock sheet on the same afternoon. At closing time the blue mug count is wrong, and nobody did anything careless. The sheet was laid out in a way that made it happen.
Most of the fix is layout. The rest is four settings in Google Sheets, each checked against Google's help pages on the day this was written.
Why a typed-over stock number goes wrong
Take a blue mug with 64 on the shelf, and a sheet where the stock number is a cell that people edit.
- Asha sells 6. She reads 64, works out 58 and types 58.
- Ben sells 10 at about the same time. He also read 64, so he works out 54 and types 54.
- A cell holds one value. Whichever number went in second is the one that stays.
The right answer is 64 − 6 − 10 = 48. The sheet says 54 or 58. It is out by 6 or by 10, and nothing on the screen shows that a sale went missing.
This does not need two people typing in the same second. Ben only has to work from a number he read before Asha's change, from a screen he looked at a minute earlier or a figure he wrote down at the shelf. Asking people to be careful will not fix it, because both of them were.
Give every movement its own row
The layout that removes the problem is the one from how to track inventory in Google Sheets. A Products tab lists each product once with its opening stock. A Stock moves tab gets a new row for every delivery and sale. Nobody types a stock number at all.
With an opening stock of 40, the same afternoon looks like this:
| Date | SKU | Type | Quantity | Note |
|---|---|---|---|---|
| 2026-11-02 | M-101 | In | 24 | Supplier delivery |
| 2026-11-20 | M-101 | Out | 6 | Asha, counter sale |
| 2026-11-20 | M-101 | Out | 10 | Ben, order for the cafe |
Asha and Ben each added a row. Neither needed to know what the other was doing, and neither read the stock number first. On the Products tab, one formula adds up the In rows and another the Out rows, and stock left is:
=F2+H2-I2
That is 40 + 24 − 16 = 48, which is right. The two SUMIFS formulas behind columns H and I are traced row by row in SUMIFS for stock in and stock out.
Two habits keep this working:
- Never edit an old row. If Ben's 10 should have been 8, he adds a row: In, 2, with the note "correction, order was 8". Stock left becomes 40 + 26 − 16 = 50, and the mistake and its fix are both on record.
- Add at the bottom. If two people start on the same empty row, one moves down a row. A clash over an empty row is obvious the moment it happens. A clash over a stock number is not.
If your team records sales on phones, a Google Form can take the typing out of the sheet altogether. Each person submits the form, and Forms saves the response to a spreadsheet you choose. In the form, open Responses, then Summary, click More and choose Select destination for responses, then Select existing spreadsheet. Google's page on where form responses are saved has the steps. Check which tab and columns the responses arrive in, and point the SUMIFS formulas there.
Protect the cells nobody should type in
Once stock left is a formula, the remaining risk is someone typing a number over it. Then that product stops updating, and it looks fine until the next count.
- Select the formula columns on the Products tab.
- Choose Data > Protect sheets and ranges, then Add a sheet or range.
- Click Set permissions and pick one of two options.
| Option | What it does | Use it when |
|---|---|---|
| Show a warning when editing this range | People can still edit, but have to confirm first | Everyone is trusted and you only want to stop slips |
| Restrict who can edit this range | Only you, or only the people you choose, can edit | The formulas must not change without you |
To lock the whole Products tab apart from a few typed columns, choose Sheet in place of Range and tick Except certain cells.
Google's page on protecting sheets and ranges is clear about the limit: protection should not be used as a security measure, because people can still copy, print and export a protected spreadsheet. It stops accidents. It does not hide anything.
Use filter views so one person's filter is not everyone's
Overwriting is not only about values. One person filters Stock moves to see mug sales, and a colleague adding a row now sees a sheet with most rows missing.
Google's page on sorting and filtering says that when you add a filter, anyone with access to the spreadsheet will find the filter too, and anyone who can edit can change it. A filter view is different: it applies only to your own view. Choose Data > Create filter view and filter as usual.
Make it a team rule that nobody uses the ordinary filter on the shared tabs.
Find out who changed a number
When a figure looks wrong, look before you fix it.
- One cell. Right-click the cell and choose Show edit history. It steps back through who changed that cell and when. Google's page on finding what changed in a file lists what may not appear: added or deleted rows and columns, formatting changes, and changes made by formulas.
- The whole file. Open the version history from the top right of the spreadsheet (Google's page calls the control "Last edit") and pick a version in the panel to see who updated it and what changed. You need edit access to see it.
- A day you want to keep. Open the menu beside a version and choose Name this version. A spreadsheet can hold up to 15 named versions. The day of a stock count is a good one to name.
Be slow to press Restore this version. It puts the whole file back, and Google notes that it clears the cell-by-cell edit history from before the restore. For one bad cell, read the old value and type it back.
If you would rather be told than go looking, choose Tools > Notification settings > Edit notifications, then Any changes are made and Email - daily digest. Google's notifications page says these are set per person and per file, and that you are not notified about your own changes.
The rules to give the team
Five lines cover everything above.
- Every sale, delivery, return and write-off is a new row in Stock moves.
- Old rows are not edited. A mistake gets a correcting row with a note.
- Nobody types in a shaded column. Those are formulas.
- Filter with a filter view, never the shared filter.
- If a number looks wrong, check its edit history before changing it.
Put them on the first tab of the sheet.
Where BoltSheets fits
Everything above works in a plain Google Sheet. The BoltSheets inventory tracker template is built on the same rules: movements are rows, and stock left is a formula. In the demo you can say "sold 6 blue mugs". It previews a new row for Stock moves, and nothing is written until a person confirms it. Formula cells are never written to, and each change goes into a change log with an undo. BoltSheets is in early access and works with Google Sheets only.
Common questions
Can I lock cells in Google Sheets with a password?
No. Google's help page says a protected sheet or range cannot be protected with a password. Protection works by Google account instead. You choose which people may edit the range, and everyone else is blocked or warned.
Can someone with view-only access filter the sheet without disturbing anyone?
Yes. Google's help page says a person who can only view a spreadsheet can create a temporary filter view that only they can use. It is not saved when they leave.
Should I restore an old version when a stock number has been overwritten?
Usually not. Restoring puts the whole spreadsheet back, including everything colleagues entered correctly since then, and Google says it clears the cell-by-cell edit history from before the restore. Open the old version, read the number you need, and type it back in by hand, or make a copy of that version.
Does this layout work in Excel?
The layout does. One row per movement and a SUMIFS formula per product work the same way in Excel. The menus in this guide for protecting ranges, filter views and edit history are the Google Sheets ones, and Excel's equivalents are not covered here.