FormulaCraft

How to track a running inventory balance in Excel and Google Sheets

Excel & Google Sheets
=D2+SUM($B$2:B2)-SUM($C$2:C2)

Verified example

Computed by a real spreadsheet engine on the sample data below.

DateReceivedIssuedBalance
2024-01-011000100
2024-01-025030
2024-01-03020
2024-01-048040

=D2+SUM($B$2:B2)-SUM($C$2:C2)200

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Set up columns: Date, Received (B), Issued (C), Balance (D). Enter your opening balance in D2 (a manual figure).
  2. 2In D3, enter =D2+B3-C3 to add receipts and subtract issues from the prior balance.
  3. 3Copy D3 down for all transaction rows.
  4. 4Alternatively, use =OpeningBalance+SUM($B$2:B2)-SUM($C$2:C2) in each cell for a formula-only approach without manual balance entry.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

How do I add an opening balance without hardcoding it?

Put the opening balance in a named cell (e.g., D1) and reference it: =D$1+SUM($B$2:B2)-SUM($C$2:C2).

Can I filter the balance by product?

Use SUMIF with a product column to accumulate receipts and issues for each product separately.

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: