Problem:

We want to create a sequence of numbers where each member of the sequence is the sum of the previous N number of values.

Solution:

Use the SUM, OFFSET, INDIRECT, ADDRESS, ROW, and COLUMN functions as shown in the following formula:

=SUM(OFFSET(INDIRECT(ADDRESS(ROW(),COLUMN())),0,-1,1,-2))