COUPDAYS Function
Return the number of days in the coupon period that contains the settlement date. settlement is the settlement date and maturity the maturity date of the security, and frequency is the number of coupon payments per year: 1 (annual), 2 (semiannual) or 4 (quarterly). basis selects the day count convention: 0 (US 30/360, the default), 1 (actual/actual), 2 (actual/360), 3 (actual/365) or 4 (European 30/360). A settlement date on or after the maturity date, or another frequency or basis, returns #NUM!. With a semiannual coupon, the period has 180 days on the 30/360 bases, 182.5 days on the actual/365 basis and its actual number of days on the actual/actual basis.
Syntax
COUPDAYS(settlement, maturity, frequency, basis)
Category: Financial. Minimum arguments: 3. Maximum arguments: 4.
Available for supported offline calculation.
Examples
=COUPDAYS(DATE(2026,1,1),DATE(2028,1,1),2)
The formula returns 180, the days of a semiannual coupon period on the US 30/360 basis.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.