Summing expanding cells without helper column

ttombozara

New Member
Joined
Dec 6, 2011
Messages
6
Please help.<o:p></o:p>
<o:p> </o:p>
A<o:p></o:p>
B<o:p></o:p>
C<o:p></o:p>
D<o:p></o:p>
1<o:p></o:p>
20<o:p></o:p>
20<o:p></o:p>
<o:p> </o:p>​
20<o:p></o:p>
2<o:p></o:p>
18<o:p></o:p>
38<o:p></o:p>
<o:p> </o:p>​
0.9<o:p></o:p>
3<o:p></o:p>
16.2<o:p></o:p>
54.2<o:p></o:p>
<o:p> </o:p>​
<o:p> </o:p>​
4<o:p></o:p>
14.58<o:p></o:p>
68.78<o:p></o:p>
<o:p> </o:p>​
<o:p> </o:p>​
5<o:p></o:p>
13.122<o:p></o:p>
81.902<o:p></o:p>
<o:p> </o:p>​
<o:p> </o:p>​
6<o:p></o:p>
11.8098<o:p></o:p>
93.7118<o:p></o:p>
<o:p> </o:p>​
<o:p> </o:p>​
7<o:p></o:p>
10.62882<o:p></o:p>
104.3406<o:p></o:p>
<o:p> </o:p>​
<o:p> </o:p>​
<tbody> </tbody>

<o:p></o:p>
Formula in cell A1: =$D$1*$D$2^(ROWS($A$1:A1)-ROWS($A$1))<o:p></o:p>
Formula in cell A1: =SUM($A$1:A1)<o:p></o:p>
I would like to get rid of column A, helper column, and pu**** formula into an array to straight away compute the results in column B.<o:p></o:p>
Thank in advance for your help.

Tom

PS: Apology for the layout of my data which may not comply withthe norm of this forum.

 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
If you are happy to have the results start in row 2 instead of row 1, here is one way.
Formula in B2 is copied down.


Excel 2016 (Windows) 32 bit
BCD
1Direct20
2200.9
338
454.2
568.78
681.902
793.7118
8104.34062
Without Helper
Cell Formulas
RangeFormula
B2=SUM(B1,D$1*D$2^(ROWS(B$2:B2)-1))
 
Upvote 0
Or using the formula that calculates the sum of the terms of a geometric progression
S = a1 * (q^n-1)/(q-1)
maybe this...


A
B
C
D
1
20​
20​
2
38​
0,9​
3
54,2​
4
68,78​
5
81,902​
6
93,7118​
7
104,3406​

Formula in B1 copied down
=D$1*(D$2^ROWS(B$1:B1)-1)/(D$2-1)

M.
 
Upvote 0
Great!!!!!!!!!!!!!
Many thanks, you great people for your help. It did work perfectly. With many heads together, things can easily be solved.
* Peter_SSs: starting in row 2 is not a major problem, thank you;
* Marcelo Branco: what can I say. I am supposed to be a maths teacher, I completely forgot it although I am solving a problem of a geometric progression. Many thanks.

Maybe see you again sometimes.

Tom
 
Upvote 0
* Marcelo Branco: what can I say. I am supposed to be a maths teacher, I completely forgot it although I am solving a problem of a geometric progression. Many thanks.

Tom
You are welcome. Thanks for the feedback.
I must confess that i also took time to identify that it was a mere problem of geometric progression. ;)
I tried to use Excel functions, etc, etc, until ... it came! And then i remembered (deduced). the formula

M.
 
Upvote 0

Forum statistics

Threads
1,215,028
Messages
6,122,753
Members
449,094
Latest member
dsharae57

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top