Calculation Issues

Design a WPS Spreadsheet Inventory Sheet Without Overwriting Formulas

Algirdas JasaitisAlgirdas Jasaitis Nov 12, 2026 868 views

Question details

Create an inventory worksheet that allows stock movements to be entered without replacing the formulas used to calculate current quantities.

Design a WPS Spreadsheet Inventory Sheet Without Overwriting Formulas
Product
WPS Spreadsheet
Device & OS
not provided
Scenario
The user needs to track opening inventory, receipts, transfers, and adjustments across locations while retaining a movement history.
Observed behavior
Using one cell for both manual stock values and inventory formulas causes formulas to be overwritten and removes the transaction record.
Before you start

Decide on consistent names for every stock location, such as Warehouse A and Store 1, before creating formulas. Use one unique SKU or item code for each inventory item so transaction totals can be matched accurately.

Solution 1Recommended

Separate inventory transactions from calculated stock balances

Use this approach to preserve every stock movement and calculate each location's balance without typing over formula cells.

Create an Inventory table for opening quantities and a separate Transactions table for receipts, transfers, and adjustments. Enter movements only in the Transactions table; keep the Current Stock column formula-driven.

For transfers, enter the source location in the From Location column and the receiving location in the To Location column. For receipts, use a source such as Supplier; for stock leaving inventory, use a destination such as Customer.

1
Create the opening inventory table

In WPS Spreadsheet, add a sheet named Inventory and create columns for SKU, Item Name, Location, Opening Quantity, and Current Stock. Select the range and choose Insert > Table to make the inventory list easier to manage.

2
Create a transaction history table

Add a sheet named Transactions and create columns for Date, SKU, Movement Type, From Location, To Location, and Quantity. Record each receipt, transfer, issue, or adjustment as a new row instead of changing an inventory balance manually.

3
Calculate the current stock by location

In the Inventory table's Current Stock column, enter a formula based on the SKU and location, such as =D2+SUMIFS(Transactions!$F:$F,Transactions!$B:$B,$A2,Transactions!$E:$E,$C2)-SUMIFS(Transactions!$F:$F,Transactions!$B:$B,$A2,Transactions!$D:$D,$C2). This adds incoming quantities and subtracts outgoing quantities for that item and location.

4
Fill the calculation down the inventory list

Select the formula cell in Current Stock and drag the fill handle down, or use Home > Fill > Down, so every item-location row calculates its own balance.

Separate inventory transactions from calculated stock balances
Formula cells remain separate from data entry: After this setup, users enter only new transaction rows. Current inventory updates automatically from the opening quantity and recorded movements.
WPS Spreadsheet inventory workflow

Build a protected, formula-based inventory tracker in WPS Spreadsheet

WPS Spreadsheet lets you keep inventory movement entries separate from calculated balances. Use tables and SUMIFS formulas to calculate stock by SKU and location, then protect formula cells while leaving transaction-entry cells available to users.

  1. 1. Start an inventory workbook: Open WPS Spreadsheet and create separate worksheets named Inventory and Transactions.
  2. 2. Add inventory and movement columns: Enter SKU, location, and opening quantity on Inventory, then add date, SKU, source, destination, and quantity columns on Transactions.
  3. 3. Use formulas for stock balances: Add a SUMIFS-based formula in the Current Stock column to add inbound movements and subtract outbound movements.
  4. 4. Convert lists to tables: Select each data range and choose Insert > Table so new rows can be managed consistently.
  5. 5. Protect the calculation sheet: Use Review > Protect Sheet after unlocking only the cells intended for transaction entry.
Track receipts, transfers, issues, and adjustments in a complete transaction history.Calculate current inventory by item and location without overwriting formulas.Protect stock balance formulas while allowing controlled data entry.Open, edit, and save Microsoft Excel .xlsx inventory workbooks with compatible formulas and tables.
microsoft office alternative - wps office

Frequently Asked Questions

Why should I not type a new stock quantity into a formula cell?

Typing into a formula cell replaces the formula with a fixed value. Enter the stock movement as a new row in the Transactions sheet instead, so the Current Stock formula can recalculate and the movement remains in the history.

How do I record a transfer between two inventory locations?

Create one transaction row with the item SKU, quantity, source location in From Location, and receiving location in To Location. The balance formula subtracts the quantity from the source and adds it to the destination.

Can I use SUMIFS to calculate stock for each SKU and location?

Yes. Use SUMIFS to total quantities where the SKU and To Location match the inventory row, then subtract a second SUMIFS total where the SKU and From Location match that row's location.

How can users enter inventory transactions without changing formulas in WPS Spreadsheet?

Unlock only the transaction-entry cells through Format Cells > Protection, keep formula cells locked, and then select Review > Protect Sheet. Users can enter movements in unlocked cells while locked formulas cannot be edited.

What should I use for receipts and stock leaving the business?

For a receipt, set From Location to a value such as Supplier and set To Location to the receiving warehouse. For stock leaving inventory, set From Location to the warehouse and To Location to a value such as Customer or Disposal.