
📎 This article includes 1 downloadable practice file ↓
In this article
DURATION returns Macaulay duration in years. Roughly, a bond with duration 7 loses about 7% in price if rates rise 1% — which is why long-duration debt funds swing more.
Syntax
=DURATION(settlement, maturity, coupon, yld, frequency, [basis])
| Argument | What it means |
|---|---|
frequency |
1, 2 or 4. |
Examples
Example 1
=DURATION(DATE(2020,6,1), DATE(2030,6,1), 7%, 7.5%, 2)
Roughly 7 years for a 10-year 7% bond.
DURATION in practice
Where you will use it
- Interest-rate sensitivity of a bond
- Compare bond risk
- Portfolio duration
Worked example
| Coupon | Yield | Maturity | Formula | Result |
|---|---|---|---|---|
| 0.08 | 0.075 | 31-Mar-2031 | =ROUND(DURATION(DATE(2026,10,4),C2,A2,B2,2,0),2) | 3.86 |
| 0.07 | 0.07 | 31-Mar-2036 | =ROUND(DURATION(DATE(2026,10,4),C3,A3,B3,2,0),2) | 7.08 |
| 0.09 | 0.085 | 31-Mar-2028 | =ROUND(DURATION(DATE(2026,10,4),C4,A4,B4,2,0),2) | 1.43 |
Results calculated in Excel.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Modified duration | Use MDURATION for price sensitivity |
| Settlement date | Must be before maturity |
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.