The DB function in Google Sheets is a powerful tool for calculating depreciation, providing businesses and individuals a way to estimate asset value reduction over time. Utilizing the arithmetic declining balance method, this function simplifies the accounting process by enabling users to assess the depreciation expense for a given period quickly.
Syntax
DB(cost, salvage, life, period)
- cost: The initial cost of the asset.
- salvage: The value of the asset at the end of its useful life.
- life: The number of periods the asset is expected to be in use.
- period: The specific period for which you want to calculate the depreciation.
Example #1
DB(10000, 1000, 5, 1)
This function call calculates the first-year depreciation for an asset that costs $10,000 with a salvage value of $1,000 and a useful life of 5 years. The result is $1,800.
Example #2
DB(15000, 1500, 10, 2)
This example computes the second-year depreciation for an asset worth $15,000, with a salvage value of $1,500 and a lifespan of 10 years. The end result is $2,700.
Example #3
DB(20000, 2000, 7, 3)
This function calculates the depreciation for the third year of an asset costing $20,000, with a salvage value of $2,000 and a total lifespan of 7 years. The outcome is $3,000.
Error handling
- NUM!: Indicates that an invalid number has been provided for one of the parameters.
- VALUE!: Signifies that the inputs given are not recognized as valid numeric values.
- DIV/0!: Occurs when the specified life of the asset is zero, making it impossible to calculate depreciation.