Most stock problems in a small business are not dramatic. A customer asks for an item the shelf label says you have, and the box is empty. A supplier order arrives for something you already had plenty of. At month end nobody can say what the stock is worth, so the accountant guesses. Each one costs a sale, cash or time, and each one comes from the same cause: the spreadsheet holds a count that somebody typed in, not a quantity worked out from what actually came in and went out.
An inventory management system fixes that by recording movements, not totals. Items are listed once, every receipt, sale, transfer and count is a line in a log, and the quantity on hand is calculated. This guide shows how to build one in Excel without macros: the item master, stock in and stock out, transfers between locations, stock counts, purchase orders, reorder points and stock valuation, with the formulas and a worked month for a fictional hardware store.
How an Excel inventory system fits together
The structure is the same whether you stock 50 items or 500:
- 01Item master: one row per item with its rules: cost, price, reorder point and reorder quantity.
- 02Movement logs: stock in, stock out, transfers and counts, one line per movement.
- 03Purchase orders: what you have ordered and not yet received.
- 04Calculated views: stock on hand per location, stock value, a reorder list, a stock card per item and a dashboard.
You type into the first three. Everything in the fourth is a formula, which is what makes the numbers trustworthy: change a past line and every total that depends on it updates.
Step 1: set up the item master with reorder points
Create one row per item with these columns: SKU, Description, Category, Unit, Default location, Supplier, Purchase cost, Sale price, Reorder point, Reorder quantity and Lead time in days.
The SKU is the key every other sheet uses, so keep it short and unique, such as HW-1042. Pick it from a dropdown on every log (Data, Data Validation, List) so a typo can never create a phantom item.
The reorder point is the stock level at which you order more. A simple, defensible way to set it:
Reorder point = average daily usage x lead time in days + safety stock
If an item sells about 2.2 units a day, the supplier takes 7 days to deliver and you want 25 units of buffer, the reorder point is about 2.2 x 7 + 25 = 40. The reorder quantity is how much you order each time, usually a supplier's case or pallet size or a quantity that earns a better price.
Step 2: record stock in and stock out
Use two logs rather than one with plus and minus signs. Each line has a date, SKU, location, quantity and type.
Stock In covers purchases, opening stock, customer returns and anything you produce. Add a unit cost and a PO number for purchases.
Stock Out covers sales, internal use, damage, samples and returns to the supplier. Add a sale price on sales so the same log gives you revenue and margin.
Give every line a status so mistakes show immediately: a missing date, an SKU that is not in the item master, an unknown location, or a quantity that would take a location below zero. The negative-stock check matters most, because it catches the sale that was recorded against the wrong location.
Step 3: transfers between locations and stock counts
Transfers move stock from one location to another without changing the total: from the warehouse to the shop floor, or onto a service van. One line with a From and a To location takes stock off one and adds it to the other.
Stock counts compare reality with the system. For each counted item and location, calculate the system quantity on the count date and post the difference as an adjustment:
Adjustment = Counted quantity - System quantity on the count date
A negative adjustment is shrinkage, from loss, theft or an earlier recording error. A positive one is usually a receipt nobody recorded. Counting a few items each week, a cycle count, catches problems while they are small.
Step 4: stock on hand per location
With the logs in place, the quantity of any item at any location on any date is a sum of movements:
=SUMIFS(InQty, InSKU, s, InLoc, l, InDate, "<="&D) + SUMIFS(TrQty, TrSKU, s, TrTo, l, TrDate, "<="&D) - SUMIFS(OutQty, OutSKU, s, OutLoc, l, OutDate, "<="&D) - SUMIFS(TrQty, TrSKU, s, TrFrom, l, TrDate, "<="&D) + SUMIFS(AdjQty, AdjSKU, s, AdjLoc, l, AdjDate, "<="&D)
Here D is a report date cell. Set it to today to see current stock, or to the end of last month to see what you held then. Put SKUs down the side and locations across the top, and the same formula fills a stock-by-location grid. Total across a row for the item's on hand.
Step 5: purchase orders and stock on order
A purchase order line has a PO number, supplier, SKU, quantity, order date and expected date. Rather than typing what arrived, link receipts to the order: when goods come in, record them on Stock In with the PO number.
- Received:
=SUMIFS(InQty, InPO, PO, InSKU, s) - Still on order:
=MAX(0, Ordered - Received), or zero if the line is cancelled - Status: Received when nothing is left, Part received when some has arrived, Overdue when the expected date has passed, and Open otherwise
What is still on order counts toward the stock position: on hand plus on order. Reorder decisions use the stock position, not the on-hand figure, or you will order the same thing twice while the first order is on the way.
Step 6: the reorder list and suggested quantities
An item needs ordering when its stock position is at or below its reorder point. Suggest enough whole reorder lots to bring it back above:
=IF(Position<=ReorderPoint, ROUNDUP((ReorderPoint - Position + 1) / ReorderQty, 0) * ReorderQty, 0)
Rounding up to whole lots keeps orders in the sizes your supplier sells. Group the list by supplier so each one becomes a single purchase order, and add an expected arrival date of the order date plus the lead time.
A status column on the item master makes the picture readable at a glance:
=IF(OnHand<=0, "Out of stock", IF(Position<=ReorderPoint, "Reorder now", IF(OnHand<=ReorderPoint, "On order", "In stock")))
Step 7: stock valuation at weighted average cost
Stock value needs a cost per unit. Weighted average cost is the simplest method that holds up at month end: total cost of everything received, divided by the quantity received.
=SUMIFS(InValue, InSKU, s, InDate, "<="&D) / SUMIFS(InQty, InSKU, s, InDate, "<="&D)
Value every stock out line, adjustment and the closing stock at that cost. Stock value is then on hand multiplied by average cost, and cost of goods sold is the quantity sold multiplied by the same figure, so the two always reconcile with what came in.
Step 8: a worked example, one item for one month
A fictional hardware store stocks wood screws, 4 x 40 mm, in boxes of 200 (SKU HW-1042). It has two locations, the warehouse and the shop. The reorder point is 40 boxes, the reorder quantity 60 and the lead time 7 days. The sale price is 11.50 a box.
| Date | Movement | Warehouse | Shop | Total |
|---|---|---|---|---|
| 1 Nov | Opening stock, 50 at 6.20 | 50 | 0 | 50 |
| 3 Nov | Transfer to shop, 30 | 20 | 30 | 50 |
| 5 Nov | Received PO-311, 60 at 6.80 | 80 | 30 | 110 |
| 8 Nov | Sales, 22 | 80 | 8 | 88 |
| 12 Nov | Transfer to shop, 40 | 40 | 48 | 88 |
| 15 Nov | Sales, 25 | 40 | 23 | 63 |
| 20 Nov | Sales, 18 | 40 | 5 | 45 |
| 22 Nov | Damaged in warehouse, 4 | 36 | 5 | 41 |
| 30 Nov | Shop count: 4 counted, 5 on system | 36 | 4 | 40 |
The transfers change where stock is but not how much. The count posts an adjustment of minus 1 box, because the shelf held one fewer than the system expected.
Valuation. The store received 50 boxes at 6.20 (310.00) and 60 at 6.80 (408.00), 718.00 for 110 boxes, so the weighted average cost is 6.5273 a box.
| Boxes | Value | |
|---|---|---|
| Sold | 65 | 424.27 |
| Damaged | 4 | 26.11 |
| Count adjustment | 1 | 6.53 |
| Closing stock | 40 | 261.09 |
| Received in total | 110 | 718.00 |
Every box and every unit of cost is accounted for. The 65 boxes sold brought in 747.50, so the gross margin is 323.23, or 43.2 percent of sales.
Reorder. The stock position on 30 November is 40 on hand plus nothing on order, which is exactly the reorder point. The item shows Reorder now, and the suggested quantity is one lot of 60 boxes, costing about 408.00 at the current purchase cost of 6.80. The store sold 65 boxes in 30 days, about 2.2 a day, so the 40 boxes on hand cover about 18.5 days, comfortably longer than the 7-day lead time. That is the reorder point doing its job: the order goes out with enough stock left to cover delivery and a buffer.
Step 9: the stock card, slow movers and ABC
Stock card. Filter every movement of one item into one list in date order with a running balance, like the table above. It is the first place to look when a count does not match, because it shows exactly when stock went in and out.
Days of cover tells you how long the stock lasts at the current rate of sale:
=OnHand / (QtyOutLast30Days / 30)
Slow movers are items with stock but no stock out for a set period, such as 90 days. They tie up cash and shelf space, so list them with their value and decide whether to discount, return or stop stocking them. Do not suggest reordering them, even if they fall below their reorder point.
ABC classification ranks items by the value of what they sell. Class A items are the few that make up roughly 80 percent of the value, class C are the many that make up the last few percent, and class B sits between. Count A items most often and keep their reorder points tight. C items can be counted less often.
Mistakes that break spreadsheet inventory
- Typing stock levels. If the on-hand figure is typed, it is wrong the moment someone forgets a sale. Calculate it from movements.
- One log with plus and minus signs. A missing minus sign doubles the error. Use separate in and out logs with positive quantities.
- Ignoring stock on order. Reordering on the on-hand figure orders the same goods twice.
- No location. A shop and a warehouse with one combined total cannot explain an empty shelf.
- Deleting old movements. The history is the audit trail. Correct mistakes with an adjustment or a reversing line.
- Never counting. Without counts, the system drifts away from the shelf a little every week.
- Typing SKUs. One misspelling creates an item with negative stock and another with phantom stock. Use dropdowns.
An inventory workbook that is already built
Building the logs and formulas above takes time, and keeping the cross-references right as the file grows takes longer. The Inventory Management System in Excel has all of it built and checked.
List your items once with SKU, category, unit, default location, supplier, purchase cost, sale price, reorder point and reorder quantity. Record purchases, opening stock, returns and production on Stock In, and sales, internal use, damage, samples and returns to supplier on Stock Out, valued at weighted average cost with the sales value. Move stock between up to 10 locations with Transfers, and enter counted quantities on Stock Count to post adjustments. Every line has a status that flags a missing date, an unknown SKU or location, or a location that would go below zero. Purchase orders take their received quantities from Stock In lines with the same PO number and show Open, Part received, Received, Overdue or Cancelled.
The Items tab shows on hand, on order, average cost, stock value, usage, days of cover, last stock out, ABC class and a status for every item. The Reorder tab lists what to order, grouped by supplier, with suggested quantities in whole lots, an estimated cost and an expected arrival date. Stock by Location shows every item at every location, the Stock Card shows any item's history with a running balance, and the Dashboard shows stock value, items to reorder, out of stock items, stock on order, sales with gross margin, slow movers and eight data checks for any period or past report date. It holds 500 items, 2,000 stock in lines, 4,000 stock out lines and 1,000 lines each for transfers, counts and purchase orders, locks its formulas without a password and contains no macros.
If you need something simpler or a related tool, these templates may help:
Common questions
Can I manage inventory in Excel?
Yes, for a small business. Keep an item master and logs of stock in, stock out, transfers, counts and purchase orders, and calculate stock on hand, average cost, stock value and what to reorder from them with SUMIFS.
How do I calculate stock on hand in Excel?
Add everything received and transferred in, and subtract everything sold, used and transferred out, up to a report date, for each item and location. Add any count adjustments.
How do I set a reorder point?
Multiply average daily usage by the supplier's lead time in days and add safety stock. An item that sells 2.2 a day with a 7-day lead time and 25 units of buffer has a reorder point of about 40.
How is the reorder quantity suggested?
When on hand plus on order is at or below the reorder point, order enough whole reorder lots to bring the stock position back above it.
How should I value stock?
Weighted average cost is the simplest method that holds up: total cost received divided by quantity received, applied to sales, adjustments and closing stock.
Can I track stock in more than one location?
Yes. Record a location on every movement, use transfers to move stock between locations and build a grid of items against locations.
Does it work in Google Sheets?
The template is built for Microsoft Excel 2016 or later (desktop or Excel for the web). You can import it into Google Sheets, but sheet protection does not carry over and charts may look different, so Excel is the better fit.
Stock control works when the quantities come from movements, the reorder list comes from rules and a count corrects whatever drifts. You can preview the Inventory Management System in Excel free; downloading it is included in the OpenWorksheet monthly plan, and you can also buy this template on its own. The store, items and figures in this guide are a fictional example.