Hi - I am trying to calculate XNPV using the formula function of Summary tool and trying to figure out how to dynamically change the Finance Rate? The input source will have different dates, cash flows, and rate each time.
Alternatively, I could use a formula tool and use the formula: FinanceXNPV(Rate, Value1, Date1, Value2, Date2): Net Present Value of an investment with dates
However, I am unsure of how to make this all dynamic with the formula tool.
See workflow attached for example.
Thanks!
Solved! Go to Solution.
Hello @cireost,
When we look at the formula for XNPV:
We can see that it is a Sum of a rather simple formula. The only difficulty here in making this dynamic is giving the start date to every row but we can accomplish this easily with the Multi-Row Tool. Once we have done this we can create the de-aggregated formula for XNPV. Finally, we Sum these values to give the final XNPV.
Hope this helps!
Sam :)