Running total with one formula copied down
Show the total so far on every row, for sales to date, a budget used, or a bank balance, using SUM with one locked cell.
BasicsBeginner6 minExcel · Google Sheets
Example content. The numbers are fictional and made for learning.
Goal
Show sales so far this year next to each month.
Why this is useful
A running total answers "where are we so far?" on every row: sales to date against a target, how much of a budget is used, or the balance after each payment.
Example
| Row | A | B |
|---|---|---|
| 1 | Month | Sales |
| 2 | January | 4,200 |
| 3 | February | 3,900 |
| 4 | March | 5,100 |
| 5 | April | 4,650 |
| 6 | Sales to date, March | 13,200.00=SUM($B$2:B4) |
Steps
1. Start on the first row
Next to the first month, type =SUM($B$2:B2). The range starts and ends on the same row, so the result is just January.
2. Lock only the start
The $ in $B$2 keeps the start of the range fixed. B2 without $ moves when you copy the formula.
3. Copy it down
Drag the formula down. On row 3 it becomes =SUM($B$2:B3), on row 4 =SUM($B$2:B4), and so on: the range grows one row at a time.
4. Show progress against a target
Divide by the year's target in a fixed cell: =SUM($B$2:B2)/$E$1, formatted as a percentage.
5. Keep the list in order
A running total follows the row order. Sort by date before you read it.
Formulas by language
Cell names such as B2 stay the same. The function name and the character between arguments follow the spreadsheet language. The English line in each list is the reference form used on this site, not a universal spelling. When the decimal sign is a comma, arguments are usually separated with a semicolon, because the comma is already used in numbers.
Type it on the first row and copy it down.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=SUM($B$2:B2)Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=SUMMA($B$2:B2)German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=SUMME($B$2:B2)French (France)
Decimals look like 1,5. Arguments are separated with ;.
=SOMME($B$2:B2)Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=SUMA($B$2:B2)Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=SUMA($B$2:B2)Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=SOMA($B$2:B2)Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=SOMMA($B$2:B2)Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=SOM($B$2:B2)
What the copied formula looks like on the March row: 4,200 + 3,900 + 5,100.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=SUM($B$2:B4)Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=SUMMA($B$2:B4)German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=SUMME($B$2:B4)French (France)
Decimals look like 1,5. Arguments are separated with ;.
=SOMME($B$2:B4)Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=SUMA($B$2:B4)Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=SUMA($B$2:B4)Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=SOMA($B$2:B4)Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=SOMMA($B$2:B4)Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=SOM($B$2:B4)
Share of the year's target in E1, reached so far.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=SUM($B$2:B2)/$E$1Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=SUMMA($B$2:B2)/$E$1German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=SUMME($B$2:B2)/$E$1French (France)
Decimals look like 1,5. Arguments are separated with ;.
=SOMME($B$2:B2)/$E$1Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=SUMA($B$2:B2)/$E$1Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=SUMA($B$2:B2)/$E$1Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=SOMA($B$2:B2)/$E$1Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=SOMMA($B$2:B2)/$E$1Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=SOM($B$2:B2)/$E$1
A balance: money in (column B) minus money out (column C) so far.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=SUM($B$2:B2)-SUM($C$2:C2)Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=SUMMA($B$2:B2)-SUMMA($C$2:C2)German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=SUMME($B$2:B2)-SUMME($C$2:C2)French (France)
Decimals look like 1,5. Arguments are separated with ;.
=SOMME($B$2:B2)-SOMME($C$2:C2)Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=SUMA($B$2:B2)-SUMA($C$2:C2)Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=SUMA($B$2:B2)-SUMA($C$2:C2)Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=SOMA($B$2:B2)-SOMA($C$2:C2)Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=SOMMA($B$2:B2)-SOMMA($C$2:C2)Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=SOM($B$2:B2)-SOM($C$2:C2)
The same spoken language can use different separators in different countries. Spanish in Spain often uses a comma for decimals and a semicolon between arguments. Spanish in Mexico often uses a period and a comma. If a formula is rejected, check the spreadsheet locale.
Excel and Google Sheets
- This works the same in every version of Excel and in Google Sheets.
- When you insert a row inside the list, copy the running-total formula into it from the row above; the rows below adjust by themselves.
- Function names and the separator between arguments follow the spreadsheet language. Excel uses the language of your installation; Google Sheets uses the spreadsheet locale under File, Settings.
- Workbooks from Hellosheetwise store formulas in English. Excel and Google Sheets show them in your language when you open the file.
If something goes wrong
Every row shows the same number.
Both ends of the range are locked ($B$2:$B$2). Remove the $ from the second cell.
Each row shows only its own month.
The start is not locked, so it moves too. Write $B$2 at the start of the range.
The total jumps after sorting.
The rows changed order. Sort by date, or by the column the total should follow.