How to Use the COUPNUM Function in Google Sheets

Published on

How to Calculate the Number of Interest Payments (Coupons) Between the Settlement and Maturity Dates of an Investment, Such as a Bond

To calculate the number of interest payments, also known as coupons, between the settlement date and maturity date of an investment (like a bond), we can use the COUPNUM function in Google Sheets.

Required Parameters for the COUPNUM Function

In addition to the settlement and maturity dates, you need to know the frequency of the coupon payments. There are three possible frequencies:

  • Annual (1)
  • Semiannual (2)
  • Quarterly (4)

Another factor that will affect the calculation is the day count basis to follow.

COUPNUM Function – Syntax and Arguments

Syntax:

COUPNUM(settlement, maturity, frequency, [day_count_convention])

Arguments:

  • settlement: The settlement date of the security, which refers to the date after issuance when the security is traded to the buyer.
  • maturity: The maturity or expiration date of the security.
  • frequency: The number of coupon payments per year (refer to table #1 below).
  • day_count_convention: An optional argument that indicates the day count basis to follow (refer to table #2 below)

Table #1 – Frequency

Frequency IndicatorCoupon (COUPNUM) Basis
1Annual
2Semiannual
4Quarterly

Table #2 – Day Count Basis

Day Count IndicatorDay Count Basis
0 or omittedUS 30/360 (as per NASD standards)
1Actual/Actual
2Actual/360
3Actual/365
4European 30/360 (according to European conventions)

COUPNUM Function Example in Google Sheets

Here is an example of how to use the COUPNUM function in Google Sheets.

In the following example, cells B2, B3, B4, and B5 contain the settlement date, maturity date, frequency, and day count convention, respectively.

=COUPNUM(B2, B3, B4, B5)
Example of the COUPNUM Function Formula in Google Sheets

Based on the above settlement date, maturity date, and day count basis, the semiannual coupon numbers (COUPNUM) will be 12, while the quarterly coupon numbers will be 23. You can verify this by changing the frequency in cell B4 to 2 (for semiannual) or 4 (for quarterly).

Important Points to Note

How to Properly Input the Settlement and Maturity Dates

To quickly calculate the number of coupons, you may use the COUPNUM function as follows:

=COUPNUM("2014-4-1", "2020-1-1", 4, 1)

While this method allows you to avoid cell references for the arguments, it is not recommended. Instead, in all functions, particularly those in the financial category, it’s best to use the DATE function for date inputs.

When you are not using cell references in the COUPNUM formula, you should write it as follows:

=COUPNUM(DATE(2014, 4, 1), DATE(2020, 1, 1), 4, 1)

Here, the DATE function follows this syntax: =DATE(year, month, day).

Error Values in the COUPNUM Function in Google Sheets

The COUPNUM function may return the #VALUE! error in the following scenarios:

  • Invalid settlement date
  • Invalid maturity date

For example, if the default date format in your sheet is dd/mm/yyyy, but you accidentally enter the settlement or maturity date in mm/dd/yyyy format, you may see the #VALUE! error or incorrect coupon numbers.

The COUPNUM function may return the #NUM! error in the following cases:

  • If the frequency is any number other than 1, 2, or 4 (out of range)
  • If the day count basis is less than 0 or greater than 4 (out of range)
  • If the settlement date is greater than or equal to the maturity date

That’s all about using the COUPNUM function in Google Sheets. Enjoy!

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Finding Most Frequent Text in Excel with Dynamic Array Formulas

Looking to identify the most frequently occurring text in Excel? You can do this...

Hierarchical Numbering Sequences in Excel

Creating hierarchical numbering sequences in an Excel spreadsheet can significantly improve the way you...

How to Easily Repeat a Sequence of Numbers in Excel

Excel offers multiple ways to accomplish tasks, and the simplicity of each approach depends...

Create a Sequence of Dates at Every Nth Row in Excel (Dynamic Array)

Would you like to create a sequence of dates in every nth row in...

More like this

XMATCH Row by Row: Finding Values Across a Range in Google Sheets

Using the BYROW function with XMATCH in Google Sheets allows us to match values...

Limit Formula Expansion to a Specific Row in Google Sheets

In this tutorial, I’ll explain how to limit the expansion of an array formula...

3-D Referencing Structured Data Tables in Google Sheets

When you have several tables within a single sheet—not across multiple sheets in a...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.