Calculates the number of days in the coupon, or interest payment, period that contains the specified settlement date. Learn more
The COUPDAYS function in Google Sheets is used to calculate the number of days between the settlement date and the next coupon payment date for a security that pays periodic interest.
The function takes four arguments:
settlement: the settlement date of the security. maturity: the maturity date of the security. frequency: the number of coupon payments per year. daycountconvention (optional): the day count basis to be used in the calculation. The day count convention parameter specifies the method used to calculate the fraction of a year between two dates. If this parameter is not provided, the function assumes a day count basis of 30/360.