Skip to main content

AMORDEGRC

Returns the prorated linear depreciation of an asset for each accounting period.

Syntax

expression.AMORDEGRC(arg1, arg2, arg3, arg4, arg5, arg6, arg7);

expression - A variable that represents a ApiWorksheetFunction class.

Parameters

NameRequired/OptionalData typeDefaultDescription
arg1RequiredApiRange | ApiName | numberThe cost of the asset.
arg2RequiredApiRange | ApiName | numberThe date when asset is purchased.
arg3RequiredApiRange | ApiName | numberThe date when the first period ends.
arg4RequiredApiRange | ApiName | numberThe salvage value of the asset at the end of its lifetime.
arg5RequiredApiRange | ApiName | numberThe period for which the depreciation will be calculated.
arg6RequiredApiRange | ApiName | numberThe rate of depreciation.
arg7OptionalApiRange | ApiName | numberThe day count basis to use: 0 or omitted - US (NASD) 30/360; 1 - Actual/actual; 2 - Actual/360; 3 - Actual/365; 4 - European 30/360.

Returns

number

Example

Calculate asset depreciation using the degressive method for accounting periods in a spreadsheet.

// Determine asset value loss with the AMORDEGRC function in a spreadsheet.

// Record the depreciation amount in a cell for financial tracking in a spreadsheet.

let worksheet = Api.GetActiveSheet();
let func = Api.WorksheetFunction;
worksheet.GetRange("A1").SetValue(func.AMORDEGRC(3500, "1/1/2018", "3/1/2018", 500, 1, 0.25, 1));