FN-VDB-001: An empty factor slot in VDB is 0, not the default 2
Documentation differs from behaviour · measured · recorded 2026-11-04
VDB defaults factor to 2 only when the argument is left off the end of the call. An empty slot, as in VDB(c,s,l,a,b,,FALSE), is read as 0, and the result is the straight-line amount: 90 here, where factor 2 gives 160. Text factors other than numbers give #VALUE!, including "TRUE" and "FALSE", while "2" is read as 2.
Documentation: If factor is omitted, it is assumed to be 2 (the double-declining balance method). Source documentation
| Call and input route | Inputs | Excel | Correct value | Recorded in |
|---|---|---|---|---|
=VDB(A100,A101,A102,A103,A104,,FALSE)cell-value2 | cost: 10000x408f400000000000salvage: 1000x4059000000000000life: 100x4024000000000000start_period: 10x3ff0000000000000end_period: 20x4000000000000000 | 900x4056800000000000 | — | Excel build not recorded in this run; bulk captures of the same date (2026-09-29) record Excel 16.0 build 20430, Windows 64-bit, workbook compatibility 2 |
=VDB(A100,A101,A102,A103,A104,"2",FALSE)cell-value2 | cost: 10000x408f400000000000salvage: 1000x4059000000000000life: 100x4024000000000000start_period: 10x3ff0000000000000end_period: 20x4000000000000000 | 1600x4064000000000000 | — | Excel build not recorded in this run; bulk captures of the same date (2026-09-29) record Excel 16.0 build 20430, Windows 64-bit, workbook compatibility 2 |
=VDB(A100,A101,A102,A103,A104,"TRUE",FALSE)cell-value2 | cost: 10000x408f400000000000salvage: 1000x4059000000000000life: 100x4024000000000000start_period: 10x3ff0000000000000end_period: 20x4000000000000000 | #VALUE! | — | Excel build not recorded in this run; bulk captures of the same date (2026-09-29) record Excel 16.0 build 20430, Windows 64-bit, workbook compatibility 2 |
Basis: Ten recorded option readings (cases 00022 to 00031 of the run). A rule reading the required arguments, then factor, then no_switch reproduces all 142 retained padding calls.
Evidence and capture sources
- DnaCalc · apps/dna-onecalc/tests/acceptance.rs cfdc059510fa71bb7ae9609bb92e30a2d384de56 · recorded_vdb_explicit_missing_factor_is_zero recorded readings pinned
- CalcFunc-Evidence · runs/w111-depreciation-options-20260929/outcomes/excel.jsonl.gz 4d5320dfdc385354469b4d506153357bb932ab08 · w111dep-options-00022-vdb-optional-5-22
- CalcFunc-Evidence · runs/w111-depreciation-options-20260929/outcomes/excel.jsonl.gz 4d5320dfdc385354469b4d506153357bb932ab08 · w111dep-options-00025-vdb-optional-5-25
- CalcFunc-Evidence · runs/w111-depreciation-options-20260929/outcomes/excel.jsonl.gz 4d5320dfdc385354469b4d506153357bb932ab08 · w111dep-options-00026-vdb-optional-5-26