Formula Errors

Fix WPS Spreadsheet XIRR #NUM! Errors Above 20%

Steve KSteve K Nov 12, 2026 869 views

Question details

The user needs to resolve a #NUM! error returned by XIRR when the calculated annualized rate exceeds approximately 20%.

Product
WPS Spreadsheet
Device & OS
not provided
Scenario
The user is calculating an internal rate of return from dated cash flows, including daily transactions, and needs a reliable rate when XIRR becomes unstable.
Observed behavior
XIRR returns #NUM! for certain final cash-flow values and higher rates, even though the dates, values, and initial guess appear valid. Goal Seek may report a solution but fail to complete its iteration.
Before you start

Confirm that the cash-flow and date ranges have the same number of entries, contain valid date values, and include at least one positive and one negative cash flow. Check that the cash flows produce a zero net-present-value root before troubleshooting numerical stability.

Solution 1Recommended

Use NPV and Goal Seek to calculate the unstable XIRR rate

Use this method when XIRR returns #NUM! because the cash-flow pattern has multiple roots or becomes numerically unstable at higher annualized rates.

Instead of asking XIRR to solve the rate internally, calculate the dated net present value for a trial rate and use Goal Seek to make that value equal to zero. This approach gives WPS Spreadsheet a direct target and can work when XIRR cannot converge.

1
Enter a trial rate

In cell J61, enter a starting rate such as 0.20 or another reasonable estimate for the expected annual return.

2
Calculate dated net present value

In cell J62, enter =SUMPRODUCT($G$54:$G$93/(1+J61)^(($F$54:$F$93-$F$54)/365)). Use the cash-flow range in column G and the corresponding date range in column F.

3
Open Goal Seek

In WPS Spreadsheet, open Tools > Goal Seek, or choose Data > What-If Analysis > Goal Seek if that menu is shown in your version.

4
Set the NPV target to zero

Set the Formula cell to J62, set the Target value to 0, and set the Changing cell to J61. Start the calculation and accept the rate when the resulting NPV is sufficiently close to zero.

5
Verify the calculated rate

Format J61 as a percentage and recalculate the NPV in J62 with additional decimal places to confirm that the rate is a valid root for the full cash-flow sequence.

Why this works: Goal Seek solves the explicit NPV equation directly, avoiding some of the convergence problems that can cause XIRR to return #NUM! for higher rates or complex cash-flow patterns.
WPS Spreadsheet solution

Solve difficult XIRR calculations with WPS Spreadsheet Goal Seek

WPS Spreadsheet lets you validate dated cash flows, calculate a transparent NPV equation, and use Goal Seek to find the rate that makes NPV equal to zero when XIRR cannot converge. It also supports familiar spreadsheet formulas and Microsoft Excel workbook formats for easy migration.

  1. 1. Open the workbook: Launch WPS Spreadsheet and open the workbook containing the dated cash-flow table.
  2. 2. Build the NPV calculation: Place a trial rate in a blank cell and use SUMPRODUCT with the cash-flow and date ranges to calculate dated NPV.
  3. 3. Run Goal Seek: Choose Tools > Goal Seek, set the NPV cell to 0, and select the trial-rate cell as the changing cell.
  4. 4. Review and save the result: Format the solved rate as a percentage, verify the NPV is near zero, and save the workbook in its original format.
Use Goal Seek to solve XIRR-style rates when the direct formula returns #NUM!.Inspect cash-flow signs, dates, and NPV values to identify multiple roots or unstable calculations.Work with familiar spreadsheet formulas and a lightweight interface.Open, edit, and save Microsoft Excel .xlsx and .xls workbooks with compatible formatting and formulas.
microsoft office alternative - wps office

Frequently Asked Questions

Why does XIRR return #NUM! when the result is above 20%?

The 20% value is not a universal XIRR limit. The error can result from multiple possible roots, a cash-flow pattern without a valid root near the starting guess, or numerical instability caused by annualizing closely spaced transactions.

What cash-flow requirements must be met before using XIRR?

The values range must contain at least one positive and one negative cash flow, and the dates and values ranges must have the same number of entries. Dates must be valid spreadsheet dates and should match the cash-flow order.

How do I use Goal Seek instead of XIRR in WPS Spreadsheet?

Enter a trial rate in J61, calculate NPV in J62 with =SUMPRODUCT($G$54:$G$93/(1+J61)^(($F$54:$F$93-$F$54)/365)), then open Tools > Goal Seek. Set J62 to 0 by changing J61.

Why can Goal Seek say it found a solution and then fail to iterate?

Goal Seek may be encountering a discontinuity, multiple roots, an extreme rate, or a poorly scaled formula. Try a different starting rate, verify the ranges, and use a direct NPV formula with a target of zero.

How can I tell whether the cash flows have multiple XIRR solutions?

Calculate NPV at several trial rates and look for more than one change from positive to negative or negative to positive. Each zero crossing may represent a different root, so the selected initial guess can affect the result.