Financial function

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])
ArgumentWhat it means
settlementRequiredThe date you buy the security (after its issue date).
maturityRequiredThe date the security matures and is repaid.
frequencyRequiredCoupon payments per year: 1 = annual, 2 = semi-annual, 4 = quarterly.
basisOptionalDay-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

B6fx=COUPPCD(B1,B2,B3,B4)
AB
1Settlement2026-12-02
2Maturity2031-06-15
3Frequency2
4Basis1
5
62026-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

B6fx=B1-COUPPCD(B1,B2,B3,B4)
AB
1Settlement2026-12-02
2Maturity2031-06-15
3Frequency2
4Basis1
5
6170

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).

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 14 KB

Common errors and how to fix them

ErrorWhy it happensFix
#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.

LanguageFunction name
DanishKUPONDAG.FORRIGE
DutchCOUP.DATUM.VB
FinnishKORKOPÄIVÄ.EDELLINEN
FrenchDATE.COUPON.PREC
GermanZINSTERMVZ
HungarianUTOLSÓ.SZELVÉNYDÁTUM
ItalianDATA.CED.PREC
Norwegian (Bokmål)OBLIG.DAG.FORRIGE
PolishWYPŁ.DATA.POPRZ
Portuguese (Brazil)CUPDATAANT
Portuguese (Portugal)CUPDATAANT
RussianДАТАКУПОНДО
SpanishCUPON.FECHA.L1
SwedishKUPFKD
TurkishKUPONGÜNÖKT