MDURATION
modified Macauley duration · from excel · excel: not yet compared · sheets: not yet compared
signature
MDURATION(settlement, maturity, coupon, yld, frequency, [basis])
returns: number
| argument | required |
|---|---|
| settlement | required |
| maturity | required |
| coupon | required |
| yld | required |
| frequency | required |
| basis | optional |
examples
formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.
fx
=MDURATION(DATE(2026,1,15), DATE(2030,1,15), 0.05, 0.04, 2) 3.609465279848172 errors
error values observed from the engine — each with a call that produces it.
| error | produced by |
|---|---|
| #NUM! | =MDURATION(2, 2, 3, 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