COUPPCD function
Returns the coupon date immediately before (or on) the settlement date.
Available in Excel 2007 and later (earlier versions needed the Analysis ToolPak add-in), Excel for the web
Excel 2007 and laterWorks in Google Sheets
Syntax
COUPPCD(settlement, maturity, frequency, [basis])| Argument | What it means | |
|---|---|---|
settlement | Required | The date you buy the security (after its issue date). |
maturity | Required | The date the security matures and is repaid. |
frequency | Required | Coupon payments per year: 1 = annual, 2 = semi-annual, 4 = quarterly. |
basis | Optional | Day-count basis: 0 or omitted = US 30/360, 1 = actual/actual, 2 = actual/360, 3 = actual/365, 4 = European 30/360. |
Returns: A date serial number.
How COUPPCD works
COUPPCD gives the date of the last coupon paid before you bought the bond. Accrued interest runs from this date to the settlement date, so it marks the start of the current coupon period. If settlement falls exactly on a coupon date, that date is returned.
All six COUP functions describe the coupon schedule of a bond around the settlement date: COUPPCD and COUPNCD give the previous and next coupon dates, COUPDAYBS, COUPDAYSNC and COUPDAYS the day counts, and COUPNUM the number of coupons still to come. Excel builds the schedule backwards from the maturity date in steps of 12/frequency months, so a bond maturing on 15 June with semi-annual coupons pays on 15 June and 15 December.
Examples
1Previous coupon date
| A | B | |
|---|---|---|
| 1 | Settlement | 2026-12-02 |
| 2 | Maturity | 2031-06-15 |
| 3 | Frequency | 2 |
| 4 | Basis | 1 |
| 5 | ||
| 6 | 2026-06-15 |
Result: 2026-06-15
The last coupon before 2 Dec 2026 was paid on 15 Jun 2026 (cell formatted as yyyy-mm-dd).
2Accrued days with plain date subtraction
| A | B | |
|---|---|---|
| 1 | Settlement | 2026-12-02 |
| 2 | Maturity | 2031-06-15 |
| 3 | Frequency | 2 |
| 4 | Basis | 1 |
| 5 | ||
| 6 | 170 |
Result: 170
Subtracting the previous coupon date from the settlement date gives 170 days — the same as COUPDAYBS with basis 1 (format the result as General).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | settlement is on or after maturity, frequency is not 1, 2 or 4, or basis is outside 0–4. | Check the dates and the frequency/basis codes. |
#VALUE! | A date argument is not a valid date. | Use real date cells or DATE; dates are truncated to whole days. |
Tips
- The basis argument does not affect the date returned.
- Enter dates with DATE or as date cells, not as text such as "12/02/2026", which different regional settings read differently.
Google Sheets
COUPPCD also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
COUPPCD in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | KUPONDAG.FORRIGE |
| Dutch | COUP.DATUM.VB |
| Finnish | KORKOPÄIVÄ.EDELLINEN |
| French | DATE.COUPON.PREC |
| German | ZINSTERMVZ |
| Hungarian | UTOLSÓ.SZELVÉNYDÁTUM |
| Italian | DATA.CED.PREC |
| Norwegian (Bokmål) | OBLIG.DAG.FORRIGE |
| Polish | WYPŁ.DATA.POPRZ |
| Portuguese (Brazil) | CUPDATAANT |
| Portuguese (Portugal) | CUPDATAANT |
| Russian | ДАТАКУПОНДО |
| Spanish | CUPON.FECHA.L1 |
| Swedish | KUPFKD |
| Turkish | KUPONGÜNÖKT |