COUPDAYS Function in Excel

In this post, you’ll learn about the COUPDAYS function in Excel and how you can use it in your excel spreadsheet.

Microsoft Office Excel provides the COUPDAYS function, allowing the user to calculate the number of days in a coupon period, including the coupon’s settlement date.

COUPDAYS Function in Excel

The COUPDAYS function helps the user to calculate the number of days which is the  time period of the coupon. It calculates and returns the number of days of the coupon period till the settlement date. It is categorized under Excel Financial Functions.


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

The COUPDAYS function and arguments

  • Settlement (required) – Settlement date of the security.
  • maturity (required) Maturity date of the security.
  • Frequency (required) – Number of coupon payments per year (annual = 1, semi-annual = 2, quarterly = 4).
  • Basis (optional) –  Day count basis (default =0).

How to use COUPDAYS function in Excel?

  • Open the Microsoft excel and launch a workbook or create a new Excel sheet.
  • As said in the description, you need the values of all the above arguments to carry out the COUPDAYS function to get the correct and desired accrued interest.
  • Enter the arguments in the same order of the syntax, one below the other, as shown in the picture below.
How to use COUPDAYS Function in Excel?
  • At this time, in a similar way enter the values of each of the arguments in their corresponding adjacent cells in the worksheet.
How to use COUPDAYS Function in Excel?
  • Below the tabulated list of arguments, select a cell and enter “Number of days”, the cell to the right will display the value of the formula (making identification easier).
How to use COUPDAYS Function in Excel?
  • When entering the formula, always start with the “=” operator. After entering the “=” operator enter COUPDAYS to initiate the formula followed by an open parenthesis. Excel recognizes “=’ as the start of a formula, if not included, excel will not accept and evade the execution of the function.
How to use COUPDAYS Function in Excel?
  • With the parenthesis open, select the first argument value. The position of the cell will be visible in the formula. According to the syntax order, the value of the argument must be selected, followed by a comma. The change in color of the cells aids to identify the name and of the cells in the formula.
How to use COUPDAYS Function in Excel?
  • To conclude, close the parentheses and click enter. The cell which contains the formula will display the number of days.  
How to use COUPDAYS Function in Excel?