Some­times you need to cre­ate a run­ning total.

Run­ning Total 

The most ver­sa­tile solu­tion I know is using the SUM func­tion and a dynam­ic range which in our case is $B$2:B2. How­ev­er, the most impor­tant fact is that we have to lock (F4 key) the first part of this range (Fig. 1).

=SUM($B$2:B2)

SUM function
Fig. 1 SUM function

When we copy our for­mu­la down, we can see that the first part of the range will always refer to cell B2, but the sec­ond one will go down as we drag the for­mu­la. This way, we have a range that expands as we go down. It’s the most ver­sa­tile solu­tion (Fig. 2). 

=SUM($B$2:B4)

An expanding range
Fig. 2 An expand­ing range

This solu­tion has prob­lems with Excel tables. When we sum from F2 to F2 cells and press F4 key to lock it, every­thing looks fine. How­ev­er, when we add new data to our table, the last cell will expand because it refers to the whole col­umn July -> August (Fig. 3). 

 Adding a new value
Fig. 3 Adding a new value

In this case, we have to mod­i­fy our range. Instead of cell F2 we can use the table nomen­cla­ture. When we click cell F2, Excel will refer to this table row, where @ means this table row, and Income means the col­umn we are refer­ring to (Fig. 4). 

=SUM($F$2:[@Income])

 Range modification
Fig. 4 Range modification

We have to over­write all cells (Fig. 5). 

Overwriting cells
Fig. 5 Over­writ­ing cells

This way we got prop­er results. We can check if it works prop­er­ly by adding some new rows. After we added two rows, the results are still cor­rect (Fig. 6).

Correct formula operation
Fig. 6 Cor­rect for­mu­la operation

The only draw­back of this for­mu­la is that we won’t see the whole range because Excel won’t select the whole range. The­o­ret­i­cal­ly, the last cell should include the whole col­umn but Excel selects only the first and the last row (Fig. 7).

=SUM($F$2:[@Income])

The formula in the last cell
Fig. 7 The for­mu­la in the last cell

We won’t see it, but Excel will. We have to remem­ber that Excel will cre­ate a prop­er ref­er­ence and we can cre­ate a prop­er run­ning total, even in Excel tables. 

https://www.youtube.com/watch?v=djsC6ybbuWk