Returns the sum-of-years’ digits depreciation of an asset for a specified period.
The initial cost of the asset.
The value at the end of the depreciation (sometimes called the salvage value of the asset).
The number of periods over which the asset is depreciated (sometimes called the useful life of the asset).
The period for which you want to calculate the depreciation. Period must use the same units as life.
Contributors: Alberto Ferrari, Marco Russo