Net Present Value (NPV) is the present value of expected future cash flows minus the initial cost of investment. The NPV function in Excel only calculates the present value of uneven cashflows, so the initial cost must be handled explicitly.
The NPV function returns 50962.91. The initial investment (-50,000, recorded as a negative value because it is an outflow) is then added, and the final result is 962.91.