Bhanu17Sharma02 commented on pull request #256: URL: https://github.com/apache/poi/pull/256#issuecomment-931225414
Thanks for sharing a Microsoft reference, I went through it, According to the doc shared by you, the initial investment is not supposed to be provided as an input to the npv function, but is supposed to be added to the final output of the npv function to get the final outcome. We executed the same function with the data that you provided and my own dataset, in both the cases the output of your npv function did not match with the output from the excel npv function.Attaching the screenshots and the excel files for both the cases. [Correct NPV Calculation.xlsx](https://github.com/apache/poi/files/7258927/Correct.NPV.Calculation.xlsx)   -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
