# Documentation/Calc Functions/CUMIPMT ADD

TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate

## Function name:

CUMIPMT_ADD

## Category:

Financial Analysis

## Summary:

Calculates the accumulated interest for a period, that is, the total interest, for an investment based on a constant interest rate.

## Syntax:

CUMIPMT_ADD(**Rate**; **NPer**; **PV**; **StartPeriod**; **EndPeriod**; **Type**)

## Returns:

Returns a negative real number(in currency units) which is the cumulative interest payment on the loan with given arguments. Here negative sign indicates the amount is a debt.

## Arguments:

**Rate** is a positive real number or a reference to the cell containing that number which is the periodic interest rate.

**NPer** is a positive real number or a reference to the cell containing that number which is the payment period with the total number of periods. **Nper** can also be a non-integer value. **Nper** must refer to the same unit, and thus both be calculated annually or monthly.

**PV** is a positive real number or a reference to the cell containing that number which is the current value in the sequence of payments.

**StartPeriod** is a positive real number or a reference to the cell containing that number which is the first period.

**EndPeriod** is a positive real number or a reference to the cell containing that number which is the last period.

**Type** is the due date of the payment at the beginning or end of each period.

Type | Maturity Date |
---|---|

0 | due at the end |

1 | due at the beginning |

- If
**Rate**,**NPer**or**PV**. are less than or equal to 0 then the function will return an error value. - If
**StartPeriod**or**EndPeriod**are non-integer values then the function uses their floor values, i.e. they are truncated to integers. - If
**StartPeriod**(after truncation) is less than 1 or greater than**EndPeriod**(after truncation) then the function returns an error value. - If
**EndPeriod**(after truncation) is greater than**NPer**then the function returns an error value. - If
**Type**is any thing accept 0 or 1, then the function returns an error value.

## Additional details:

- The formula for CUMIPMT_ADD is:

where Rate is **Rate**, Start is **StartPeriod**, End is **EndPeriod**, Periods is **NPer**, Value is **PV** and Type is **Type**.

## Examples:

Formula | Description | Returns |
---|---|---|

=CUMIPMT_ADD(5.5%/12;24;5000;4;6;1) | The function calculates the interest payments at a yearly interest rate of 5.5 %, a payment period of monthly payments for 2 years and a current cash value of 5,000 currency units. The start period is the 4th and the end period is the 6th period. The payment is due at the beginning of each period. | -57.54 (currency units) |

=CUMIPMT_ADD(5.5%/12;24;5000;4;6;0) | The function calculates the interest payments at a yearly interest rate of 5.5 %, a payment period of monthly payments for 2 years and a current cash value of 5,000 currency units. The start period is the 4th and the end period is the 6th period. The payment is due at the end of each period. | -57.80 (currency units) |

=CUMIPMT_ADD(5.5%/12;24;5000;4;6;2) | The function returns an error for any value of Type except for 0 or 1. |
Err:502 |

=CUMIPMT_ADD(5.5%/12;24;5000;0.9;6;1) | The function returns an error since S is less than 1. |
Err:502 |

## Related LibreOffice functions:

## ODF standard:

None

## Equivalent Excel functions:

None