The DB function in Excel is a powerful tool for calculating the depreciation of an asset over a specified period using the fixed-declining balance method. This approach allows businesses and individuals to account for the declining value of assets effectively, aiding in financial analysis and reporting.
Syntax
DB(cost, salvage, life, period)
- cost: The initial cost of the asset.
- salvage: The asset’s value at the end of its useful life.
- life: The number of periods (often years) over which the asset is depreciated.
- period: The specific period for which the depreciation is calculated.
Example #1
DB(10000, 2000, 5, 1)
Calculates the depreciation for an asset valued at $10,000 with a salvage value of $2,000 over 5 years, for the first year. The result is $3,200.
Example #2
DB(15000, 3000, 10, 3)
This calculates the depreciation for an asset costing $15,000, with a salvage value of $3,000 over 10 years, for the third year. The result is $1,500.
Example #3
DB(25000, 1000, 7, 4)
Determines the depreciation for an asset with a cost of $25,000, a salvage value of $1,000, over 7 years, for the fourth year. The result is $4,000.
Error handling
- NUM!: Occurs when the life or period is less than or equal to zero.
- VALUE!: Happens when non-numeric values are used for any of the function’s arguments.
- DIV/0!: Results when the life of the asset is zero, causing division errors in the calculation.