VDB function
Returns declining-balance depreciation over any period range, switching to straight-line when that gives a larger charge.
Available in All versions of Excel (Windows and Mac), Excel for Microsoft 365, Excel for the web
In every Excel versionWorks in Google Sheets
Syntax
VDB(cost, salvage, life, start_period, end_period, [factor], [no_switch])| Argument | What it means | |
|---|---|---|
cost | Required | Initial cost. |
salvage | Required | Value at the end of the life. |
life | Required | Useful life in periods. |
start_period | Required | Start of the range (0 = the beginning of the life). Can be fractional. |
end_period | Required | End of the range. Use start + 1 for one period. |
factor | Optional | Declining-balance rate factor. Default 2. |
no_switch | Optional | FALSE or omitted = switch to straight-line when it is larger; TRUE = never switch. |
Returns: The total depreciation between start_period and end_period.
How VDB works
VDB ("variable declining balance") is the most flexible depreciation function. It calculates declining-balance depreciation like DDB, but between any two points in time — one year, the first two years, or even half a year — and by default it switches to straight-line depreciation once straight-line on the remaining value gives a bigger charge. That switch ensures the asset is depreciated fully down to its salvage value by the end of its life.
Periods are measured from the start of the life: the first year is start_period 0 to end_period 1, the third year is 2 to 3. Because ranges are allowed, VDB can give cumulative depreciation (0 to 3) in a single call, and fractional values let you handle partial periods.
Examples
1Switch to straight-line in the later years
| A | B | |
|---|---|---|
| 1 | Cost | 10000 |
| 2 | Salvage | 0 |
| 3 | Life (years) | 5 |
| 4 | ||
| 5 | 1,080.00 |
Result: 1,080.00
Pure DDB would charge 864.00 in year 4 and 518.40 in year 5, leaving 777.60 undepreciated. VDB sees that straight-line on the remaining 2,160 over 2 years (1,080) is larger, so it switches: year 4 = 1,080.00 (Number format, 2 decimals).
2Cumulative depreciation for the first two years
| A | B | |
|---|---|---|
| 1 | Cost | 10000 |
| 2 | Salvage | 0 |
| 3 | Life (years) | 5 |
| 4 | ||
| 5 | 6,400.00 |
Result: 6,400.00
Years 1 and 2 at 40% declining balance: 4,000 + 2,400 = 6,400.00 (Number format, 2 decimals).
3First month of an asset with a life in months
| A | B | |
|---|---|---|
| 1 | Cost | 24000 |
| 2 | Salvage | 3000 |
| 3 | Life (months) | 48 |
| 4 | ||
| 5 | 1,000.00 |
Result: 1,000.00
With the life given in months the rate is 2/48 per month: 24,000 × 2/48 = 1,000.00 (Number format, 2 decimals).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | start_period > end_period, end_period > life, or a negative argument. | Check the period range. |
Tips
- Year n alone is
VDB(cost, salvage, life, n-1, n)— note the start is n−1. - Set
no_switchto TRUE to reproduce plain DDB results over a range.
Google Sheets
VDB also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
VDB in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | ODPIS.ZA.INT |
| Danish | VSA |
| Hungarian | ÉCSRI |
| Italian | AMMORT.VAR |
| Norwegian (Bokmål) | VERDIAVS |
| Portuguese (Brazil) | BDV |
| Portuguese (Portugal) | BDV |
| Russian | ПУО |
| Spanish | DVS |
| Swedish | VDEGRAVSKR |
| Turkish | DAB |