A to Z of Excel Functions: The COUPPCD Function
5 February 2018
Welcome back to our regular A to Z of Excel Functions blog. Today we look at the COUPPCD function.
The COUPPCD function
A coupon bond is a bond that pays interest before the bond matures. That interest is paid on a regular schedule and in Excel that can be either annually (once a year), semiannually (twice a year), or quarterly (four times a year). If you're thinking about investing in a coupon bond before its initiation date, i.e. the first day that the bond is available, then you can calculate the calendar date of the most recent coupon payment by using the COUPPCD function. This function returns a number that represents the previous coupon date before the settlement date.
The COUPPCD function employs the following syntax to operate:
COUPPCD(settlement, maturity, frequency, [basis])
The COUPPCD function has the following arguments:
- settlement: this represents the security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer
- maturity: this is the security's maturity date, i.e. when the security expires
- frequency: The number of coupon payments per year. For annual payments, frequency is 1; for semiannual, frequency is 2; for quarterly, frequency is 4. These are the only options (see below)
- basis: the type of day count basis to use. This is optional. There are five options:
|Basis||Day count basis|
|0 or omitted||US (NASD) 30 / 360|
|1||Actual / actual|
|1||Actual / 360|
|1||Actual / 365|
|1||European 30 / 360|
It should be further noted that:
- Microsoft Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900
- dates should be entered using the DATE function, or as results of other formulae or functions. For example, use =DATE(2020,2,29) for the 29th of February, 2020. Problems may occur if dates are entered as text
- the settlement date is the date a buyer purchases a coupon, such as a bond. The maturity date is the date when a coupon expires. For example, suppose a 30-year bond is issued on January 1, 2008, and is purchased by a buyer six months later. The issue date would be January 1, 2008, the settlement date would be July 1, 2008, and the maturity date would be January 1, 2038, 30 years after the January 1, 2008, issue date
- all arguments are truncated to integers
- if settlement or maturity is not a valid date, COUPPCD returns the #VALUE! error value
- if frequency is any number other than 1, 2, or 4, COUPPCD returns the #NUM! error value
- if basis < 0 or if basis > 4, COUPPCD returns the #NUM! error value
- if settlement ≥ maturity, COUPPCD returns the #NUM! error value.
Please see my example below:
We’ll continue our A to Z of Excel Functions soon. Keep checking back – there’s a new blog post every business day.
A full page of the function articles can be found here.