<p>The <b>XNPV</b> function is one of the financial functions. It is used to calculate the net present value for an investment based on a specified interest rate and a schedule of irregular payments.</p>
<pstyle="text-indent: 50px;"><b><em>rate</em></b> is the discount rate for the investment.</p>
<pstyle="text-indent: 50px;"><b><em>values</em></b> is an array that contains the income (positive values) or payment (negative values) amounts. At least one of the values must be negative and at least one positive.</p>
<pstyle="text-indent: 50px;"><b><em>dates</em></b> is an array that contains the payment dates when the payments are made or received.</p>
<p>The values can be entered manually or included into the cell you make reference to.</p>
<p>To apply the <b>XNPV</b> function,</p>
<ol>
<li>select the cell where you wish to display the result,</li>