The Excel financial function COUPDAYS(settle,maturity,frequency,basis) returns the number of days in the coupon period in which settlement occurs.
COUPDAYS(settle,maturity,frequency,basis)
I am w