COUPDAYBS
days from coupon period start to settlement · from excel · excel: not yet compared · sheets: not yet compared
signature
COUPDAYBS(settlement, maturity, frequency, [basis])
returns: number
| argument | required |
|---|---|
| settlement | required |
| maturity | 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
=COUPDAYBS(DATE(2026,1,15), DATE(2030,1,15), 2) 0 errors
error values observed from the engine — each with a call that produces it.
| error | produced by |
|---|---|
| #NUM! | =COUPDAYBS(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
- COUPDAYS days in the coupon period containing settlement
- COUPDAYSNC days from settlement to the next coupon date