Decode XNPV Function

Fowmy

Well-known Member
Joined
Jul 10, 2008
Messages
516
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am trying to calculate the XNPV using the below formula here but facing a problem in matching with the result from the XNPV function. The difference is 23.01. Can someone help me where I am going wrong?

1583172173897.png



XNPV Calculation.xlsx
BCDEFGHIJKLM
1
2Rate10%
3
4ValuesDates
51,000.0005-Jan-201,000.00110.00% 909.09
61,000.0015-Feb-202,000.00101.08% 1,978.70
71,000.0010-Mar-203,000.00101.71% 2,949.51
8
9
10
11XNPV: 2,972.52
12
13 (23.01)
14
15
16
17
Sheet1 (3)
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
The formulas in column G should be of the form =A5/E5 in G5. The NPV is =SUM(G5:G7) in G8.

The NPV discounts each cash flow (A5:A7), not the cumulative balance (E5:E7).

FYI, an alternative calculation is: =SUMPRODUCT(A5:A7 / (1+C2)^((B5:B7 - B5)/365))

And in fact, that alternative is necessary if C2 might be negative, because Excel XNPV does not permit a negative discount rate, for no good reason at all. (A design flaw, IMHO.)
 
Upvote 0
The formulas in column G should be of the form =A5/E5 in G5. The NPV is =SUM(G5:G7) in G8.

The NPV discounts each cash flow (A5:A7), not the cumulative balance (E5:E7).

FYI, an alternative calculation is: =SUMPRODUCT(A5:A7 / (1+C2)^((B5:B7 - B5)/365))

And in fact, that alternative is necessary if C2 might be negative, because Excel XNPV does not permit a negative discount rate, for no good reason at all. (A design flaw, IMHO.)

Thanks, got it.
 
Upvote 0

Forum statistics

Threads
1,224,837
Messages
6,181,255
Members
453,028
Latest member
letswriteafairytale

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top