Excel Guide · Prompt: “Compute cumulative running total of Monthly Revenue in column B starting at row 2”
How to Create a Running Total Formula in Excel
Verified by LiveFormulaLab Engineering Team • Updated November 2026
Build a cumulative running total column in Excel using expanding range references ($B$2:B2). Test live with editable monthly numbers.
Verified Excel Syntax
=SUM($B$2:B2)How This Formula Works (Step-by-Step)
A running total locks the starting cell with dollar signs ($B$2) while leaving the end reference relative (B2).
Step 1: Type =SUM($B$2:B2) in the first data row.
Step 2: As the formula copies down to row 3, 4, and 5, it automatically expands to $B$2:B3, $B$2:B4, and $B$2:B5.
Formula Syntax & Arguments Breakdown
Anchors the top cell of a SUM range with absolute $ signs ($B$2) while leaving the bottom cell relative (B2) so copying the formula downward expands the cumulative window automatically.
| Argument / Clause | Requirement | Data Type | Role & Behavior |
|---|---|---|---|
start_cell ($B$2) | Required | Absolute Reference | Locked starting cell of the cashflow, balance, or revenue column that stays fixed on row 2. |
end_cell (B2) | Required | Relative Reference | Dynamic row endpoint that increments automatically to B3, B4, B5, and B6 as you fill down. |
3 Real-World Use Cases
- Tracking year-to-date cumulative SaaS ARR across monthly closes.
- Monitoring remaining project budget after each vendor invoice.
- Auditing running bank or cash-flow balances in financial statements.
Cross-Platform Equivalents
- Excel
=SUM($B$2:B2)- SQL
SELECT month, net_new_arr, SUM(net_new_arr) OVER (ORDER BY month) AS cumulative_arr FROM arr_ledger;- Python Pandas
df['Cumulative ARR'] = df['Net New ARR'].cumsum()
Common Mistakes & Pro Tips
Pitfalls & How to Fix Them
Mistake: Forgetting "
quot; on the start cell (=SUM(B2:B2)) calculates only each single row rather than a cumulative sum.Fix: Press F4 on the first B2 in the range so it becomes $B$2:B2.
Mistake: Sorting the table after adding =SUM($B$2:B2) without structured rows can scramble absolute references or cause #REF! when rows are deleted.
Fix: Keep rows sorted chronologically before calculating cumulative totals, or use Excel 365 =SCAN(0, B2:B6, LAMBDA(a,b, a+b)).
Mistake: Blank rows at the bottom of a template repeat the final running total all the way down the sheet.
Fix: Guard blank rows with =IF(B2="", "", SUM($B$2:B2)) so empty periods stay visually clean.
Engineering Pro Tips
- In Excel 365 dynamic arrays, =SCAN(0, B2:B6, SUM) computes an entire spilled running total column from a single cell.
- To calculate a running total grouped separately by Account or Category, use =SUMIFS($C$2:C2, $A$2:A2, A2).
- To chart cumulative revenue versus budget targets, place the running total column immediately adjacent to monthly actuals.
Frequently Asked Questions
- Why must the first cell reference use $ dollar signs?
- Absolute locking ($B$2) keeps the top anchor fixed while the bottom row expands downward.
- How do I keep future empty rows blank instead of repeating the last total?
- Wrap it in IF: =IF(B2="", "", SUM($B$2:B2)).
- What is the modern Excel 365 way without dragging?
- Use =SCAN(0, B2:B6, LAMBDA(acc, val, acc + val)) for a dynamic spilled column.
Related Formulas & Guides
- Detect and Flag Duplicate Values in Excel with COUNTIF — Detect and highlight duplicate emails, SKUs, or transaction IDs in Excel using COUNTIF. Copy the formula and test live in our sandbox.
- How to Do VLOOKUP with Multiple Criteria in Excel — Learn how to run a multi-criteria lookup in Excel using XLOOKUP or INDEX/MATCH without helper columns. Copy and test live in our sandbox.
- Extract Domain Name From an Email Address in Excel — Extract company domains from email addresses in Excel using TEXTAFTER or RIGHT/FIND. Copy the verified formula and test with live rows.
- Excel SUMIFS Between Two Dates (Start & End Date) — Sum sales or expenses between a start date and end date in Excel with SUMIFS. Includes live editable date grid and SQL/Sheets equivalents.