A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Volker wrote:
Interest 3,00%
NPV(B1;B6:B16) 100,00 €
XNPV(B1;B6:B16;A6:A16) 102,98 €
[....]
Can anybody tell me why the results of npv and xnpv differ?
There are really are two reasons.
First and foremost, you are misusing NPV if B6 is the first cash flow, as your use of XNPV suggests.
As the NPV help page states: "The NPV investment begins one period before the date of the value1 cash flow and ends with the last cash flow in the list. [....] If your first cash flow occurs at the beginning of the first period, the first value must be added to the NPV result, not included in the values arguments".
That is why there is so much difference in your example.
Secondly, even if you correct that to be B6+NPV(B1,B7:B16), there will still be some difference between NPV (103.00) and XNPV(102.98).
That is because XNPV uses the actual date differences, which are 366 instead of 365 in some instances in your example, whereas NPV treats all periods as equal.
One final note: In your example, NPV and XNPV are close only because your NPV periods are one year each. If instead your periods were monthly, there would be a significant difference between NPV (103.00) and XNPV(130.17) because NPV assumes that B1 is a periodic rate, whereas XNPV assumes that B1 is an annual rate.