Events
Free Community Day (14 March)Conference 2026 (19-20 May)Awards 2026 (Nominations Open)
Speakers
Agenda
Conference AgendaMasterclassesCorporate Training
About
About usParticipating CompaniesEvent PartnersVisitor info
Resources
BlogEbooksFAQs
ContactGet Tickets
0

Your Cart

  • :
Remove
Subtotal:
Pay with browser.
Continue to Checkout
No items found.
Product is not available in this quantity.
Andrew Moss
Technical Writer
Resources
March 21, 2023

A better way of calculating running totals

Running totals are commonly used for keeping track of sales figures and monitoring the balance on a bank statement.

But how can you create one in Excel?

There are multiple methods, but let's look at two contrasting ones (as shown in the video).

@globalexcelsummit Running totals are commonly used for keeping track of sales figures and monitoring the balance on a bank statement. But how can you create one in Excel? There are multiple methods, but let's look at two contrasting ones (as shown in the video). A table called tblSales houses some sales data, and we want to return the running total of the Total (ยฃ) column. ๐—ง๐—ฟ๐—ฎ๐—ฑ๐—ถ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐— ๐—ฒ๐˜๐—ต๐—ผ๐—ฑ =๐š‚๐š„๐™ผ($๐™ฑ$๐Ÿน:๐™ฑ๐Ÿน) The first cell in the Total (ยฃ) column is referenced inside SUM as part of an expanding range. The left part is made absolute to prevent it from shifting as the formula is copied down using the fill handle. On the other side of the colon, the ending reference is relative to ensure the row number increases incrementally. ๐— ๐—ผ๐—ฑ๐—ฒ๐—ฟ๐—ป ๐— ๐—ฒ๐˜๐—ต๐—ผ๐—ฑ =๐š‚๐™ฒ๐™ฐ๐™ฝ(0,๐š๐š‹๐š•๐š‚๐šŠ๐š•๐šŽ๐šœ[๐šƒ๐š˜๐š๐šŠ๐š• (ยฃ)], ๐™ป๐™ฐ๐™ผ๐™ฑ๐™ณ๐™ฐ(๐šŠ,๐š‹,๐šŠ+๐š‹)) SCAN applies a custom LAMBDA to each value in an array and returns another containing the intermediate values created after scanning. 0 is the ๐š’๐š—๐š’๐š๐š’๐šŠ๐š•_๐šŸ๐šŠ๐š•๐šž๐šŽ, whilst the Total (ยฃ) column is the ๐šŠ๐š›๐š›๐šŠ๐šข. The LAMBDA takes two parameters: accumulator (๐šŠ) and value (๐š‹). ๐šŠ starts at the ๐š’๐š—๐š’๐š๐š’๐šŠ๐š•_๐šŸ๐šŠ๐š•๐šž๐šŽ and iteratively totals up the figures, whilst ๐š‹ contains the current one that gets added to ๐šŠ. ๐—ฅ๐—ฒ๐—บ๐—ฎ๐—ฟ๐—ธ๐˜€ The obvious upside of the newer method is only a single formula is required, whereas 10 are needed for the old approach. Using fewer formulas is more efficient โ€” there's less to go wrong. However, the downside is dynamic array formulas are incompatible with tables, meaning they can only live outside. There are other table-compatible methods that use structured references, but they still require one formula per value. Will spilled formulas become compatible with tables in the future? Watch this space. #exceleration #excel #globalexcelsummit โ™ฌ original sound - globalexcelsummit

A table called tblSales houses some sales data, and we want to return the running total of the Total (ยฃ) column.

Traditional Method

=๐š‚๐š„๐™ผ($๐™ฑ$๐Ÿน:๐™ฑ๐Ÿน)

The first cell in the Total (ยฃ) column is referenced inside SUM as part of an expanding range.

The left part is made absolute to prevent it from shifting as the formula is copied down using the fill handle.

On the other side of the colon, the ending reference is relative to ensure the row number increases incrementally.

Modern Method

=๐š‚๐™ฒ๐™ฐ๐™ฝ(0,๐š๐š‹๐š•๐š‚๐šŠ๐š•๐šŽ๐šœ[๐šƒ๐š˜๐š๐šŠ๐š• (ยฃ)],
๐™ป๐™ฐ๐™ผ๐™ฑ๐™ณ๐™ฐ(๐šŠ,๐š‹,๐šŠ+๐š‹))

SCAN applies a custom LAMBDA to each value in an array and returns another containing the intermediate values created after scanning.

0 is the ๐š’๐š—๐š’๐š๐š’๐šŠ๐š•_๐šŸ๐šŠ๐š•๐šž๐šŽ, whilst the Total (ยฃ) column is the ๐šŠ๐š›๐š›๐šŠ๐šข. The LAMBDA takes two parameters: accumulator (๐šŠ) and value (๐š‹).

๐šŠ starts at the ๐š’๐š—๐š’๐š๐š’๐šŠ๐š•_๐šŸ๐šŠ๐š•๐šž๐šŽ and iteratively totals up the figures, whilst ๐š‹ contains the current one that gets added to ๐šŠ.

Remarks

The obvious upside of the newer method is only a single formula is required, whereas 10 are needed for the old approach.

Using fewer formulas is more efficient โ€” there's less to go wrong.

However, the downside is dynamic array formulas are incompatible with tables, meaning they can only live outside.

There are other table-compatible methods that use structured references, but they still require one formula per value.

Will spilled formulas become compatible with tables in the future?

Watch this space.

For more Excel tips and tricks like this, check out our Video Tutorials page.

Latest articles
ICAEW Confirms Continued Partnership with the Global Excel Summit
Sheetcast - A Natural Evolution for People Who Love Excel
How to Build Your First AI Agent in Excel
Categories
News
Resources
Andrew Moss
Technical Writer
Share:

Latest Articles

Resources
Dec 22nd, 2025

Sheetcast - A Natural Evolution for People Who Love Excel

Excel becomes the backend, Sheetcast becomes the interface, and users get an app instead of a fragile file.
Read Article โ†’
Resources
Nov 24th, 2025

How to Build Your First AI Agent in Excel

Rather than positioning AI as something that replaces Excel, George Mount demonstrates how Excel becomes more powerful when paired with modern AI.
Read Article โ†’
Resources
Nov 10th, 2025

Leap into Excelโ€™s AI revolution with COPILOTALT by Sheetcast

This groundbreaking new function lets you experience the future of Excelโ€ฆ today!
Read Article โ†’

365-Day Digital Access

Your exclusive all-access pass to our entire digital learning experience for a whole year.

Get 365-Day Digital Pass
Pages
Home
20212022202320242025
About UsFAQsOnline CoursesBlogContact
LEGALS
Privacy PolicyTerms of Service
Subscribe to our newsletter!
The Global Excel Summit is a premium global conference bringing together thebrightest minds from the world of Excel.
ยฉ 2026 The Global Excel Summit is organised and managed by DATEL Productions Limited, a company incorporatedin England and Wales (no. 10106893) and registered at Suite 407, 95 Wilton Road, London SW1V 1BZ, UK.