COUPDAYS

days in the coupon period containing settlement · from excel · excel: not yet compared · sheets: not yet compared

signature

COUPDAYS(settlement, maturity, frequency, [basis])

returns: number

argumentrequired
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 =COUPDAYS(DATE(2026,1,15), DATE(2030,1,15), 2) 180

errors

error values observed from the engine — each with a call that produces it.

errorproduced by
#NUM! =COUPDAYS(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
  • COUPDAYBS days from coupon period start to settlement
  • COUPDAYSNC days from settlement to the next coupon date