CUMIPMT Function in ONLYOFFICE Spreadsheet Editor: Syntax, Examples and Troubleshooting
Calculate total loan interest payments over a selected contiguous period range.
Verification status: Two specified timing-argument cases were checked in ONLYOFFICE Desktop Editors Community 10.0.0.169 on Linux. The main loan worksheet remains independently calculated; these tests do not certify every input or financial model. How formula examples are checked
CUMIPMT totals the interest portions of scheduled payments across an inclusive period range. Use it to compare annual interest costs or the lifetime interest of a fixed-rate loan.
Availability and version history
- Introduced: The original release and date are not established by the official sources checked.
- Availability: Documented in the current ONLYOFFICE Spreadsheet Editor help; no final working-version endpoint is established.
- Scope: Docs and Desktop Editors release separately. This unversioned reference does not establish support in every older build or mobile client.
- Checked: October 14, 2026, against the official CUMIPMT reference. Documentation and independent financial examples, plus the two Desktop Editors Community 10.0.0.169 Linux cases below.
Syntax and arguments
=CUMIPMT(rate, nper, pv, start_period, end_period, type)
| Argument | Meaning |
|---|---|
rate |
Interest rate per payment period |
nper |
Total scheduled payments |
pv |
Opening present value; a positive loan advance in these examples |
start_period |
First included payment, from 1 through nper |
end_period |
Last included payment, from 1 through nper |
type |
0 for payments at period end; 1 for payments at period start |
Always supply type. The official reference prints six arguments without optional brackets, but its description also mentions an omitted value of zero. In the native check below, omitting the sixth argument returned an error. An explicit 0 or 1 avoids relying on the documentation ambiguity. There is no fv argument; use a payment-by-payment schedule if you need a nonzero terminal target.
Native check of the timing argument
The following exact formulas were recalculated in Desktop Editors Community 10.0.0.169 on Linux:
| Formula | Observed result |
|---|---|
=CUMIPMT(0.1/12,72,100000,24,36) |
#NAME? |
=CUMIPMT(0.1/12,72,100000,24,36,0) |
approximately -7219.87563943283 |
The explicit-zero result also agrees with an independently calculated payment schedule. The error is an observed result for this omitted-argument formula and build; it is not a universal error rule for every CUMIPMT failure or every Docs deployment.
Set up the worksheet
Enter these values in a blank worksheet and place results in unused cells, leaving the inputs intact.
| Cell | Enter | Purpose |
|---|---|---|
B2 |
=6%/12 |
Monthly rate, 0.005 |
B3 |
60 |
Five years of monthly payments |
B4 |
10000 |
Opening loan principal |
B5 |
1 |
First included payment |
B6 |
12 |
Last included payment |
B7 |
0 |
End-of-month payments |
Money received is positive and money paid out is negative, so the interest total is negative for this borrower. The result is a cash amount in the same units as pv, not a rate or percentage.
Worked examples
| Formula | Expected result | Meaning |
|---|---|---|
=CUMIPMT(B2,B3,B4,B5,B6,B7) |
-551.904511 |
First 12 payments |
=CUMIPMT(B2,B3,B4,13,24,0) |
-442.856186 |
Second year only |
=CUMIPMT(B2,B3,B4,1,60,0) |
-1599.680918 |
Entire term |
=CUMIPMT(B2,B3,B4,60,60,0) |
-0.961831 |
A one-payment range |
=CUMIPMT(B2,B3,B4,1,1,1) |
0.000000 |
First immediate payment |
=CUMIPMT(B2,B3,B4,1,12,1) |
-499.407474 |
First year, beginning payments |
The first-year total is about 551.90 in interest cost. It is smaller than 10000 × 6% = 600 because principal is paid down during the year. Year two costs less again as the outstanding balance continues to fall.
Compare years without counting a payment twice
Payment ranges include both endpoints. Year one is 1–12, year two is 13–24, and year three is 25–36. Starting year two at 12 would count payment 12 twice.
For a two-year total:
=CUMIPMT(B2,B3,B4,1,24,0)
The expected result is -994.760697. It equals the sum of the separate first- and second-year totals before rounding. For a positive report display, use =-CUMIPMT(B2,B3,B4,1,24,0).
Reconcile total interest to total payments
The expected monthly payment is -193.328015294. Over 60 payments, total signed cash paid is approximately -11599.680918; adding back the positive 10,000 advance leaves interest -1599.680918:
=60*PMT(B2,B3,B4,0,0)+B4
Beginning-of-period payments use a different payment amount. Their first interest component is zero and full-term interest is approximately -1541.971062:
=CUMIPMT(B2,B3,B4,1,60,1)
This is a timing comparison within the same fixed-rate model, not a claim that changing a lender’s due date will produce that saving.
Audit against individual payments
Enter payment numbers 1 through 12 in D2:D13. In E2, enter:
=IPMT($B$2,D2,$B$3,$B$4,0,$B$7)
Fill down to E13, then enter =SUM(E2:E13) in E15. The expected total is -551.904511, matching the first table row. This provides a transparent breakdown when a range total looks surprising.
Troubleshooting and practical limits
- Unexpected sign: Positive loan proceeds produce negative repayment components. Negate a result for a positive cost or debt-reduction display, but retain signed values in reconciliation formulas.
- Wrong rate or term: Match units. For a nominal 6% annual rate and monthly payments, use
6%/12and60, not6and5. - Invalid period: Use whole-number payment indices from
1throughnper. A range must have its start no later than its end. - Totals differ by cents: Format results for display without rounding intermediate formulas. A lender that rounds each installment, uses daily interest or changes the last payment can produce different totals.
- Formula error: Check numeric inputs, period bounds, timing and the configured formula language. The short official reference does not specify every error token or text/blank coercion rule.
These examples assume fixed rates, equal periods and the scheduled payments. Extra payments, skipped installments, fees and variable rates need a separate cash-flow schedule.
Related functions and further reading
- PMT calculates the complete periodic payment.
- IPMT and PPMT split one payment into interest and principal.
- CUMIPMT and CUMPRINC total a selected range.
- SUM adds worksheet components; ROUND is useful when a model explicitly calls for rounded amounts.
The function-entry guide explains the function dialog. Advanced Settings covers formula language and regional settings; examples here use English names, decimal points and commas.
Example verification: Results were independently calculated with high-precision annuity equations and a separate discounted-payment/amortization model. The main loan worksheet uses six-decimal half-up display rounding. Its examples remain independently calculated; only the two formulas in the native-check section were executed in the named build.