Calculate a running total of a column of cells in Excel
If you have a column of numbers and you want to calculate a running total of the numbers alongside, you can use the SUM() formula combined with a clever use of absolute and relative references.
Imagine your spreadsheet has values in cells A2 through to A20. You want to put a running total in column B.
In cell B2, enter the following formula:
=SUM($A$2:A2)
This will put the value of A2 into B2. Remember that $A$2 is an absolute reference. This means that anywhere you copy this formula, it will always refer back to A2.
Then, copy this formula and paste it into cell B3. The formula should now look like this:
=SUM($A$2:A3)
This will put the sum of A2 and A3 into B3. Note that, as promised, $A$2 hasn't changed even though you have copied the cell from one place to another. On the other hand, A2 was a relative reference in the previous cell, so it changed from A2 to A3 when you copied and pasted the formula from B2 to B3.
Once you've verified that this works as described, you can then copy the formula into each cell from B2 to B20. The final cell, B20, will contain the total of all the numbers in cells A2:A20.
- Level of difficulty:
About Us
Fiveminutelessons.com is a website dedicated to providing free training on a range of subjects. including Google Analytics, Microsoft Word and Microsoft Excel.
Everything here is free for you to use while on the site. If you like something, why not link to it or support our sponsors. You can even become a sponsor.
Commercial Services
As well as the free training you get at www.fiveminutelessons.com, we also offer a range of commercial services to help you with your training and online learning requirements including:
- Private labelling
- Courseware development
- e-learning development
- Corporate subscriptions
- Learning consultancy services
- Documentation and user guide development
- Development of innovative corporate learning environments
Contact us now to find out more about our learning consultancy and courseware development services

Comments
Post new comment