Calculate NPV for Irregular Payment Dates in Excel
Question details
Calculate the present value of cash flows on irregular dates and compare it with a modified payment schedule.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A payment schedule has cash flows on irregular dates, and some payments may be changed while the remainder is distributed across other dates.
- Observed behavior
- The user needs an NPV for each schedule using the corresponding payment dates.
Enter each cash flow as a number and its matching date as a valid Excel date. Put the earliest date in the first row, use consistent cash-flow signs, and confirm the annual discount rate.
Calculate the Original Schedule With Excel XNPV
Use XNPV when cash flows occur on dates that are not evenly spaced.
Enter the cash flows in B2:B34 and their corresponding dates in C2:C34, with the earliest date in C2.
Select an empty cell and enter =XNPV(8%,B2:B34,$C$2:$C$34). Replace 8% with your annual discount rate.
Press Enter to calculate the present value as of the first date in C2. Check that the values and dates ranges have the same number of rows.

Compare a Modified Payment Schedule
Use a separate cash-flow column to compare the revised schedule with the original.
Compare Irregular Payment Schedules in WPS Spreadsheets
Use XNPV in WPS Spreadsheets to calculate the present value of dated cash flows and compare an original schedule with a revised one.
- 1. Open your workbook: Open WPS Spreadsheets and select Open to load your Excel workbook, or create a new spreadsheet.
- 2. Enter values and dates: Place cash flows in B2:B34 and matching dates in C2:C34, with the earliest date in C2.
- 3. Calculate the original NPV: Select an empty cell, enter =XNPV(8%,B2:B34,$C$2:$C$34), and press Enter.
- 4. Compare a revised schedule: Enter revised cash flows in D2:D34 and use =XNPV(8%,D2:D34,$C$2:$C$34) in another cell to compare the results.

Frequently Asked Questions
Why use XNPV instead of NPV for irregular payments?
XNPV uses the dates supplied in its dates range to discount each cash flow. Excel NPV assumes cash flows occur at regular intervals.
What date does XNPV use as the valuation date?
XNPV calculates present value as of the first date in the dates range. Make sure no other date in that range is earlier.
Why does my XNPV formula return an error?
Check that the values and dates ranges have the same number of rows, the dates are valid Excel dates, and no date precedes the first date. Also check that the cash-flow series contains at least one positive and one negative value.
Can I compare schedules with different payment dates?
Yes. Give each schedule its own matching cash-flow and date ranges, and use the same annual discount rate. To compare values as of the same date, include that date as the first date in each schedule, with a zero cash flow if appropriate.




