FormulaCraft

How to calculate a running balance in Excel and Google Sheets

Topic:Finance basics
Excel & Google Sheets
=IF(ROW()=2,C2,D1+C2)

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: A = Date, B = Description, C = Amount (positive for credits, negative for debits), D = Balance.
  2. 2In D2 enter =C2 (first row starts at the first transaction amount or an opening balance).
  3. 3In D3 enter =D2+C3 and copy down — each row adds the current transaction to the previous balance.
  4. 4To handle both debits and credits separately, use columns for each and subtract: =D1+C2-B2.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

How do I start with an opening balance?

Put the opening balance in D2 directly as a value, then in D3 use =D2+C3 and copy down.

Can I have the running balance update automatically when I add a new row?

In an Excel Table (Ctrl+T), the formula in the Balance column will auto-fill to new rows. In Sheets, use ARRAYFORMULA to extend automatically.

More on Finance basics

See all →

Formulas used

Related tasks

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

Last reviewed: