• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Need Help to calculate cumulative Future Values

jaideep211

New Member
Hi All

I need a help with finding the correct formula for my excel model. I am trying to calculate cumulative future values of unequal cash flows as explained in the example below:
60372
• In the screenshot above, in column D, I need to calculate the cumulative FV of the cash flows.
• I have cash flows coming in at different dates. These are not random dates but dates that increase in one direction.
• I can invest each of these cash flows at a certain interest rates.
• I need to be able to know what is the total FV of all cash flows at each given date.

• For D24, the answer is C24 + FV of all prior cash flows as at Nov 1, 2018 (B25)
• However, just copying the D24 formula will not help me obtain D25 since for D25, a new variable is added (refer to the formula in column E.
• In this example I have manually written the formulas for each cell in column D. However, I this method becomes impractical if I have nearly >300 rows to calculate.

I have considered creating an table such as this while copying the relevant formulas however, it again makes the excel too big.
60373

Any help is much appreciated.

Thanks..!
 
jaideep211
As You already has an Excel-file, then You should upload it here
or
are You looking for some kind of snapshot-answer
 
This is no more than an implementation of your formula (I actually transposed your array because I wanted the result to be a column vector to fit into the table). Rather than using helper cells, I placed the array calculations into named formulas so they may be referenced and calculated on demand.
60375

The MMULT function was then used to sum the rows
60376

The result appear to tally with your example
60377
 

Attachments

  • Cumulative Future Value (PB).xlsx
    17.3 KB · Views: 6
jaideep211
Please, ReRead:
 
Hello Hans
I suspect we are doomed to a cycle of inserting names and removing them again to understand each other's work! :)

Once I had managed to align your formula with my data, I obtained a final value, as at 29/12/2019, given by
= FV( Rate, (MAX(Date)-MIN(Date))/365, ,-XNPV(Rate, CashFlow, Date) )

To obtain the column of Future Values, I finished up with
= FV( Rate, (@Date-MIN(Date))/365, ,-XNPV(Rate, IF( Date<=@Date, CashFlow, 0), Date ) )
[ I recognise that this is somewhere the 'black art' of partial anchoring and dragging would pay off :eek:]

Not having a finance background, I have not used XNPV before [for me, even T.INV.2T is more familiar], so it was interesting to find another full-blooded array function working away quietly with no CSE.

Note to others: Do not try this at home unless you are using an Office 365 insider version.
 

Attachments

  • Cumulative Future Value (PB).xlsx
    18.6 KB · Views: 4
Just looked again. The value for the final date can be calculated from first principles using
= SUMPRODUCT( CashFlow, (1+Rate)^((MAX(Date)-Date)/365) )
I think this calculates correctly with or without DAs, with or without CSE.
 
Back
Top