MS Excel: COUPPCD function for accrued interest
- Fakhriddinbek
- Apr 27
- 2 min read
The COUPPCD function in Excel returns the previous coupon date before the settlement date of a bond. In other words, it helps you determine the last interest payment date that occurred before you purchased the bond.
This function is useful for accrued interest calculations, bond pricing, and financial reporting.

Syntax
COUPPCD(settlement, maturity, frequency, [basis])
Argument | Description |
settlement | The bond's settlement date (the date you buy the bond). |
maturity | The bond's maturity date (when it will end). |
frequency | Number of coupon payments per year: 1 = Annual 2 = Semi-Annual 4 = Quarterly |
basis (Optional) | Day count basis: 0 = US (NASD) 30/360 (default) 1 = Actual/Actual 2 = Actual/360 3 = Actual/365 4 = European 30/360 |
Key Points
COUPPCD returns a date value.
It shows the last coupon payment date before the settlement date.
The result should be formatted as a Date in Excel.
It is useful for accrued interest, bond pricing, and financial reporting.
Practical Example
Suppose you buy a bond on May 1, 2024, which matures on April 15, 2028, and it pays interest semi-annually (twice a year).
The formula:
=COUPPCD(DATE(2024,5,1), DATE(2028,4,15), 2, 0)
Result:April 15, 2024
Explanation:Because the bond pays interest every 6 months (on April 15 and October 15), and your purchase is after the April coupon date but before the October coupon date, the previous coupon date is April 15, 2024.
Another example:Settlement on August 5, 2024, same bond:
=COUPPCD(DATE(2024,8,5), DATE(2028,4,15), 2, 0)
Result:April 15, 2024
Since the bond pays interest in April and October, and you bought it after the April coupon but before October, the previous coupon date is still April 15, 2024.
Summary
Item | Value |
Settlement Date | 05-Aug-2024 |
Maturity Date | 15-Apr-2028 |
Frequency | 2 (Semi-Annual) |
Basis | 0 (30/360 US) |
Previous Coupon Date | 15-Apr-2024 |
Important Notes
If the settlement date is the same as or later than the maturity date, the function will return a #NUM! error.
Frequency must be set to 1, 2, or 4 (Annual, Semi-Annual, Quarterly).
Always ensure the result is formatted as a Date for proper display.
When to Use COUPPCD?
When calculating accrued interest at the time of bond purchase.
When building bond amortization schedules.
For bond pricing calculations in secondary market transactions.
In fixed-income financial models.
Conclusion
The COUPPCD function is a valuable tool when working with bonds and fixed-income securities in Excel. It ensures you can determine the previous coupon payment date before the settlement, which is essential for accurate interest calculations and bond valuation.
Comentarios