
π This article includes 1 downloadable practice file β
In this article
VDB returns declining-balance depreciation between any two periods and, by default, switches to straight-line when that gives more β as many tax rules expect.
Syntax
=VDB(cost, salvage, life, start, end, [factor], [no_switch])
| Argument | What it means |
|---|---|
start, end |
Can be fractions, e.g. 0 to 0.5 for a half year. |
Examples
Example 1
=VDB(90000, 10000, 5, 0, 0.5)
Depreciation for an asset bought mid-year.
VDB in practice
Where you will use it
- Depreciation for any period, switching to straight-line
- Partial-year depreciation
- Tax schedules
Worked example
| Start | End | Formula | Result |
|---|---|---|---|
| 0 | 1 | =ROUND(VDB(500000,50000,5,A2,B2),0) | βΉ 2,00,000.00 |
| 1 | 2 | =ROUND(VDB(500000,50000,5,A3,B3),0) | βΉ 1,20,000.00 |
| 0 | 5 | =ROUND(VDB(500000,50000,5,A4,B4),0) | βΉ 4,50,000.00 |
Results calculated in Excel.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Periods | Start and end are period counts, not dates |
| No switch | Set no_switch TRUE to stay declining |
Related functions
π Part of the free Excel course: Beginner β Expert Β· Try it in the Formula Lab or ask the AI Helper.
Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.
π Practice files for this article
- πPractice workbook: Financial: EMI, SIP, NPV, IRR, depreciation23 tasks on realistic sales data β type your formula, the Check column turns green when it is right. Answers sheet included.β¬ XLSX Β· 35 KB
Free to use for learning. Files with macros (.bas) are plain text β import them with Alt+F11 β File β Import File, and always test on a copy.
Atul (AJ) builds office-automation and local-first AI tools as Atulya AI, and works with Excel, SAP and Oracle EPM every day. He writes about the shortcuts, macros and automations that actually save time β plus the occasional wacky fact. Videos on YouTube: Lazy Automator AI (@LazyAutomatorAI).
More posts by Atul βBuild this skill next
This page is a quick function reference. Use it for syntax, then practise the function in a broader workflow.
Stuck on a step? Ask a question and the AI answers using this article.