1
[Example][1] [1]: http://prntscr.com/jsd694
1 - investment by the client;
2 - commencement of contract;
3 - duration of contract;
4 - rate of return for each customer;
5 - whether the customer has chosen to withdraw the income monthly or not;
6 - amount to be deposited monthly for those who opted for monthly deposit;
7 - End date of contract;
8 - final amount to be withdrawn at contract end;
9 - administrative fee charged for each withdrawal;
10 - how many days have elapsed since the date of the contract;(=($A$1-C3))
11 - conversion of item 10 to months;(was the only way I found to have item 12 result)(=K3/(365/12))
12 - give me how much you have earned since the beginning of your contract; (=B3*(((1+E3) L3)-1))
13 - the problem is here; customers q opt for monthly withdrawals will have the same amount every month, Exp R $ 10000,00 to 8% = R $ 800,00 every month, but need to dilute this value for each day of the month, and return me the income from day one until the current day, and when the month comes around, it all starts all over again.
Total value/ ( today() - start date ) = daily value
– Reginaldo Rigo