In this article, you will learn how to use the XNPV formula in Google Sheets.
The XNPV function in Google Sheets calculates the net present value (NPV) of a series of cash flows, given a specific interest rate. This function is similar to the NPV function but allows you to specify a different date for the start of the investment period.
The syntax for the XNPV function is as follows:
rate is the interest rate per period.
values is a range of cells that contain the cash flows for each period.
dates is a range of cells that contain the dates for each cash flow.
The cash flows in the values range must be in the same order as the dates in the dates range. The rate and values arguments must be the same length.
For example, if you wanted to calculate the NPV of a series of cash flows starting on January 1, 2022, with an interest rate of 5%, you could use the following formula:
This would calculate the NPV of the cash flows in cells B1:B5, using the corresponding dates in cells A1:A5, and a 5% interest rate.
The NPV and XNPV functions in Google Sheets are similar, but there is one key difference between them: the NPV function assumes that the first cash flow occurs at the beginning of the investment period, while the XNPV function allows you to specify a different date for the start of the investment period.
Are you learning this formula to visualize financial data, build a financial model, or conduct financial analysis? If so, LiveFlow may help you to automate manual workflows and keep numbers updated in real time. You can access more than fifty financial templates here, from the simple Income Statement to Multi-Currency Consolidated Financial Statement. You can also customize these templates as you want without breaking the automated data inflow.
To learn more about LiveFlow, book a demo.
Learn how to do this step-by-step in the video below 👇