DEV Community

Andrews
Andrews

Posted on • Originally published at geekexcel.com on

Usage of Excel COUPDAYSNC Function in Office 365!! (With Examples)

Excel COUPDAYSNC Function:

COUPDAYSNC Function
COUPDAYSNC Function

In this tutorial, you will understand the description, basic syntax, and usage of the Excel COUPDAYSNC Function in Office 365. Get an official version of Microsoft Excel from the following link: https://www.microsoft.com/en-in/microsoft-365/excel.

Description of COUPDAYSNC Function:

  • The Excel COUPDAYSNC Function evaluates the number of days from the settlement date to the next coupon date.

COUPDAYSNC Function – Syntax:

The basic syntax of Excel COUPDAYSNC Function is,

=COUPDAYSNC(settlement, maturity, frequency, [basis])
Enter fullscreen mode Exit fullscreen mode

Important Note:

  • Dates must be entered with the use of the DATE function. It can also be a result of other functions or formulas. If dates are entered as text, issues can occur.
  • For example, use DATE(2020,7,13) for the 13th of July 2020.

Argument Explanation:

  • Settlement (Required): It is the settlement date of the security.
  • **Maturity (Required): **It is the maturity date of the security. The maturity date is the date when the security expires.
  • Frequency (Required): Number of coupon payments per year.
    • Annual – 1
    • Semiannual – 2
    • Quarterly – 4
  • Basis (Optional): It specifies the day count basis to use.

| Basis | Day count basis |
| 0 or omitted | US (NASD) 30/360 |
| 1 | Actual/actual |
| 2 | Actual/360 |
| 3 | Actual/365 |
| 4 | European 30/360 |

Important Note:

  • #NUM! Error – Occurs if either:
    • The supplied ‘settlement’ date is greater than or equal to the ‘maturity’ date;
    • The ‘frequency’ argument is not equal to 1, 2, or 4;
    • The ‘basis’ argument is not equal to 0, 1, 2, 3, or 4.
  • #VALUE! Error – Occurs if either:
    • The supplied ‘settlement’ or ‘maturity’ dates are not valid Excel dates;
    • Any of the supplied values are non-numeric characters.

Practical Examples:

Let’s look at some examples of COUPDAYSNC function so you can explore how to use it in Microsoft Excel.

Example 1:

  • We have entered the input values of settlement, maturity, frequency, and basis into the cell range B5: E7.
  • Here, in this example, we have selected the input cells B5, C5, D5, and E5 to calculate the number of days.
  • Refer to the below syntax of the COUPDAYSNC function to return the output.
=COUPDAYSNC(B5,C5,D5,E5)
Enter fullscreen mode Exit fullscreen mode

Example 1
Example 1

  • You need to click Enter to execute the formula.

Example 1 - Output
Example 1 – Output

  • Now, you can see the result in the G5 cell.
  • You can repeat the same for other input values.
  • In another way, you can just drag the cell G5 to G7 so it automatically returns the respective output.

Example 2:

  • The #NUM! Error appears if the supplied ‘settlement’ date is greater than or equal to the ‘maturity’ date or the ‘frequency’ argument is not equal to 1, 2, or 4 or the ‘basis’ argument is not equal to 0, 1, 2, 3, or 4.

Example 2
Example 2

Example 3:

  • The function returns the #VALUE! Error if any one of the supplied values is a non-numeric character.

Example 3
Example 3

Summary:

That’s it. This article guides you to understand how to use the EXCEL COUPDAYSNC Function in Office 365. The description, basic syntax, and examples of this function make you understand this function even easier. Share your valuable feedback in the below comment box. Thanks for visiting Geek Excel!! Keep Learning With Us!!

Read Ahead:

Top comments (0)