VDB
depreciation over a period, declining balance with switch · from excel · excel: not yet compared · sheets: not yet compared
signature
VDB(cost, salvage, life, start_period, end_period, [factor], [no_switch])
returns: number
| argument | required |
|---|---|
| cost | required |
| salvage | required |
| life | required |
| start_period | required |
| end_period | required |
| factor | optional |
| no_switch | optional · defaults to 0 |
examples
formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.
fx
=VDB(10000, 1000, 10, 0, 1) 2000 errors
error values observed from the engine — each with a call that produces it.
| error | produced by |
|---|---|
| #NUM! | =VDB(2, 2, 2, 2, 2) |
related
- ACCRINT accrued interest for a security paying periodic interest
- ACCRINTM accrued interest for a security paying at maturity
- AMORDEGRC depreciation per period, French accounting, degressive
- AMORLINC depreciation per period, French accounting, linear
- COUPDAYBS days from coupon period start to settlement
- COUPDAYS days in the coupon period containing settlement