Edit

Share via


WorksheetFunction.Ddb(Double, Double, Double, Double, Object) Method

Definition

Returns the depreciation of an asset for a specified period using the double-declining balance method or some other method you specify.

public double Ddb (double Arg1, double Arg2, double Arg3, double Arg4, object Arg5);
Public Function Ddb (Arg1 As Double, Arg2 As Double, Arg3 As Double, Arg4 As Double, Optional Arg5 As Object) As Double

Parameters

Arg1
Double

Cost - the initial cost of the asset.

Arg2
Double

Salvage - the value at the end of the depreciation (sometimes called the salvage value of the asset). This value can be 0.

Arg3
Double

Life - the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).

Arg4
Double

Period - the period for which you want to calculate the depreciation. Period must use the same units as life.

Arg5
Object

Factor - the rate at which the balance declines. If factor is omitted, it is assumed to be 2 (the double-declining balance method).

Returns

Remarks

Important: All five arguments must be positive numbers.

The double-declining balance method computes depreciation at an accelerated rate. Depreciation is highest in the first period and decreases in successive periods. Ddb uses the following formula to calculate depreciation for a period:

Min( (cost - total depreciation from prior periods) * (factor/life), (cost - salvage -  total depreciation from prior periods) )

Change factor if you do not want to use the double-declining balance method.

Use the Vdb(Double, Double, Double, Double, Double, Object, Object) function if you want to switch to the straight-line depreciation method when depreciation is greater than the declining balance calculation.

Applies to