Hello all!
I am having a serious problem in excel and i keep getting stuck. I ll try to explain the problem as good as possible.
My wife and I are looking to buy a house. As i am somewhat of an analytic person, i want to calculate costs & gains over a long period of time. In order to do this i am setting up multiple scenarios. The problem starts with the calculation of the long term saving that we would lose if we decide to buy a house right now.
The saving part:
In the saving part i have different operators and i want them to be changeable. This is why i want all my formulas to relate to these operators. Examples are: period: 10 yrs; interest rate, loyalty bonus, etc...
So for the simple calculation of the ammount we would save over for example 10 years i have designed the following formula:
(=(A5*(1+G5)^L4)+((C5*(1-(1+G5)^L4))/(1-(1+G5))))
Where:
A5 = start ammount on account
G5 = interest rate supplied by financial organisation
L4 = ammount of capitalisations (or period)
C5 = recurring ammount to be saved every month
This calculation is pretty easy and everything can be changed easily in the operators to change a scenario.
The loyalty bonus:
The problem in my calculation is the loyalty bonus. This is the interest rate the financial organisation would give us every year at the end of the year, on the ammount saved that has not been withdrawed from the bank.
I was thinking of doing this with the seriessum formula. Since it works as shown below.
ZA006051246.gif
What i need is that every period is calculated and added (with the formula from above). So if we would go in years i would want something like this:
[ (calculation of ammount saved over 1 year) * loyalty bonus ] + [ (calculation of ammount saved over 2 years) * loyalty bonus rate ] ... etc
I can make this formula, only it involves me manually typing the following array in the coefficients part of the seriessum formula: {1,1,1,1,1,1,1,1,1,1} which stands for 10 years.
This means that if i change my original operator of years (which is now 10) to lets say 20, the formula wont be good anymore... What i actually want from excel, is to automaticly make me an array with "1s" of the ammount that is filled in in the period operator box.
So when it is 5 years excel should generate: {1,1,1,1,1} ; when it is 2 years excel should generate: {1,1} because i need these arrays to work in my formula. I know that array constants can only use numbers or text, and not formulas, so this is the part where i am really stuck...
Can anyone help me?
I thank you in advance.
Regards,
Resolate
Bookmarks