ISPMT

function ISPMT(
  arg1: number = null,
  arg2: number = null,
  arg3: number = null,
  arg4: number = null,
): number | string | boolean

Description

Returns the interest paid during a specific period of an investment.

Parameters

arg1numberdefault: null

Interest rate per period. For example, use 6%/4 for quarterly payments at 6% APR.

arg2numberdefault: null

Period for which you want to find the interest.

arg3numberdefault: null

Number of payment periods in an investment.

arg4numberdefault: null

Lump sum amount that a series of future payments is right now.

Returns

number | string | boolean

Try It

var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.ISPMT(0.1/12, 1, 2*12, 2000));

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).