VDB Function
Calculates variable declining balance depreciation for any period you specify.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| cost | Initial cost of the asset. | Required |
| salvage | Value at the end of the depreciation life. | Required |
| life | Number of periods over which the asset is depreciated. | Required |
| start_period | Starting period for which to calculate depreciation. | Required |
| end_period | Ending period for which to calculate depreciation. | Required |
| factor | Rate of decline (default 2 for double-declining). | Optional |
| no_switch | If TRUE, does not switch to straight-line (default FALSE). | Optional |
Basic Example
Depreciation for the first year using declining balance with straight-line switch
=VDB(10000, 2000, 5, 0, 1)First-year depreciation for a $10,000 asset using double-declining balance, switching to straight-line if beneficial.
Advanced Examples
Example 1: Cumulative depreciation for years 2-4
Tax reportingTotal depreciation from the start of year 2 to the end of year 4
=VDB(10000, 2000, 5, 1, 4)How VDB Works
VDB combines the declining balance method with an optional straight-line switch. By default, it switches to straight-line when that gives higher depreciation. This maximizes the deduction while ensuring the asset is not depreciated below salvage value.
Important Notes & Limitations
Can calculate depreciation for a single period or a range of periods.
Automatically switches to straight-line unless no_switch is TRUE.
More flexible than DDB for partial periods and range calculations.
Common Errors & Fixes
#NUM! errorStart or end period is invalid or cost < salvage.Fix: Check period values and ensure cost >= salvage.
Too much depreciationno_switch was set to TRUE.Fix: Use the default or FALSE for no_switch to allow straight-line switch.
Download Practice File
VDB
vdbPractice VDB with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the VDB function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps