How to Calculate the Final Payment to Reach a Target IRR in Excel
Question details
The user needs to determine the specific final cash flow amount required to achieve a target Internal Rate of Return (IRR) for a series of dated cash flows.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Financial modeling or investment analysis where a specific target IRR must be met, requiring the calculation of the final payment or an additional receivable.
- Observed behavior
- To find the exact final cash flow value for dated periods, standard IRR calculations are insufficient, and the user must use discounted cash flow mathematics like XNPV or the Solver add-in.
Ensure you have all your initial cash flow dates and amounts listed chronologically in your spreadsheet, and clearly define your target Internal Rate of Return (IRR) percentage in a dedicated cell.
Use the XNPV Formula to Solve for the Final Payment
Calculate the required final payment directly by discounting known cash flows against the target rate using the XNPV function.
This method uses discounted cash flow mathematics. By calculating the Net Present Value (NPV) of all known cash flows at the target rate, you can determine what the final cash flow must be to bring the total XNPV to zero, which conceptually equates to hitting your exact target XIRR.
Place your cash flow dates in one row (e.g., B1:F1) and the corresponding cash flow amounts in the row below (e.g., B5:F5).
Input your target rate in a dedicated cell (e.g., B8) and the target final payment date in another cell (e.g., G1).
Select a blank cell and enter the reverse XNPV formula to find the missing cash flow. For example: =-XNPV(B8,B5:F5,B1:F1)*(1+B8)^((G1-B1)/365).
To ensure the resulting IRR meets or exceeds the target without fractional rounding errors, wrap the formula in a ROUNDUP function: =ROUNDUP(-(XNPV(B8,B5:F5,B1:F1))*(1+B8)^((G1-B1)/365),0).

Use the Excel Solver Tool to Find the Value
Utilize Excel's Solver add-in to iteratively find the exact final payment amount that results in your target XIRR.
Calculate Complex IRR and XNPV Seamlessly in WPS Office
WPS Spreadsheet provides powerful financial functions like XIRR, XNPV, and robust What-If Analysis tools to help you model target internal rates of return accurately and efficiently.
- 1. Open WPS Spreadsheet: Download, install, and open WPS Office Spreadsheet on your device.
- 2. Input financial data: Enter your chronological cash flow dates and transaction amounts into your worksheet.
- 3. Apply formula: Use the built-in XNPV function combined with future value math to directly calculate the final payment needed.
- 4. Use What-If tools: Alternatively, navigate to the 'Data' tab and use the What-If Analysis tools to iteratively solve for the target rate.

Frequently Asked Questions
Why should I use XIRR and XNPV instead of standard IRR and NPV?
Standard IRR and NPV functions assume that cash flows occur at regular, equal intervals (like exactly one month or one year apart). XIRR and XNPV take specific calendar dates into account, providing a much more accurate calculation for real-world financial scenarios where payment dates naturally vary.
Why doesn't Goal Seek work well for all target IRR calculations?
Goal Seek is a simple iterative calculation tool that can sometimes fail to converge on a solution when dealing with the complex polynomial equations inherent in rate of return math. In these cases, using a direct XNPV mathematical formula or the more advanced Solver add-in yields reliable results.
Can I calculate the additional receivable if a final payment is already scheduled?
Yes. You can use the XNPV formula to calculate the total absolute final payment required. Once you have that total, simply subtract the already scheduled final payment amount to determine the additional receivable needed to hit your target IRR.
What does the ROUNDUP function do in the final payment formula?
Wrapping the discounted cash flow formula in ROUNDUP ensures that the calculated payment is rounded up to the nearest whole number (or desired decimal limit). This guarantees that your resulting IRR will exactly meet or fractionally exceed your target rate, preventing it from falling marginally short due to decimal truncation.




