Contact

ODDLPRICE Function in Microsoft Excel: Syntax, Examples & Troubleshooting

Financial Intermediate Microsoft Excel

Calculate Excel price for an odd last coupon with ODDLPRICE. Reconcile a short and long final period, accrued interest and a simple yield denominator per 100 face value.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: ODDLPRICE prices a security whose last coupon interval is shorter or longer than its regular schedule. last_interest is the last coupon date before the final irregular period; it is not the original issue date.

Syntax and inputs

=ODDLPRICE(settlement, maturity, last_interest, rate, yld, redemption, frequency, [basis])

All arguments except basis are required. Settlement is the buyer’s settlement date; maturity is final repayment; rate is annual coupon interest and yld is annual yield. The output is price per 100 face value, excluding the accrued-interest component in the documented price/yield relationship.

Use a positive redemption amount per 100 face value and frequency 1, 2 or 4 for the normal annual, semiannual or quarterly schedule. Rate is annual. An odd last period does not introduce a new frequency value.

Basis is 0 or omitted = US (NASD) 30/360; 1 = actual/actual; 2 = actual/360; 3 = actual/365; 4 = European 30/360. Dates and basis are truncated to integers. Create dates with DATE and maintain the strict ordering maturity > settlement > last_interest.

Worked example: a three-month final coupon period

Put these inputs in B2:B9:

Cell Input Entry
B2 Settlement =DATE(2026,2,15)
B3 Maturity =DATE(2026,4,15)
B4 Last interest =DATE(2026,1,15)
B5 Annual coupon 6%
B6 Annual yield 8%
B7 Redemption 100
B8 Frequency 2
B9 Basis 0
  1. Enter =ODDLPRICE(B2,B3,B4,B5,B6,B7,B8,B9) in D2.
  2. Expected result: approximately 99.66447368.
  3. Independently reconcile 101.5/(1+0.08×60/360)−0.5.

The final interest is 100×6%×90/360 = 1.5. At February settlement, 30 convention days have accrued, giving 0.5 accrued interest. Sixty convention days remain to the maturity cash flow of 101.5. The price relationship uses that remaining time and subtracts the already accrued amount.

Second example: a zero-yield control

=ODDLPRICE(B2,B3,B4,6%,0,100,2,0) is expected to return 101: the undiscounted maturity payment 101.5 minus accrued interest 0.5. The documented error rule rejects negative yield, not zero yield.

This control separates the accrual subtraction from discounting. Treating the full 101.5 as the quoted price would omit a component of the calculation even when no discounting is applied.

Advanced application: a nine-month last period

Use last interest October 15, 2025, settlement February 15, 2026, and maturity July 15, 2026, keeping rate 6%, yield 8%, redemption 100, frequency 2 and basis 0.

=ODDLPRICE(DATE(2026,2,15),DATE(2026,7,15),DATE(2025,10,15),6%,8%,100,2,0)

Expected price: approximately 99.12903226. The final interest covers nine convention months and is 4.5; four months’ accrual is 2; five months remain. The independent expression is 104.5/(1+0.08×5/12)−2.

The normal schedule is still semiannual although the final interval lasts nine months. For complex bases, quasi-coupon fractions determine the components. These clear 30/360 fixtures do not validate every actual/actual month-end or leap-year case.

Troubleshooting and source scope

Microsoft documents #VALUE! for an invalid date and #NUM! for negative rate or yield, basis outside 0–4, or violation of the strict date order. Its list is not an exhaustive table of every malformed redemption/frequency case.

Preserve full precision when checking a price against a yield formula. The independent expressions here use the price/yield relationship in Microsoft’s ODDLYIELD equation, inverted for price; they are not native Excel tests. Keep odd-first and odd-last functions separate, because their date arguments and cash-flow structures differ. These are mechanics examples rather than an investment recommendation.

Compatibility and verification

Microsoft’s reference checked on October 17, 2026 lists: Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel 2024 Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2019 for Mac Excel 2016. This current support list does not establish the first release. The introduction version and last functioning version have not been established from the reviewed documentation. No retirement is asserted.

Example verification: Expected numerical results are independently calculated; text and shape expectations follow the documented contract. These examples have not been tested in Microsoft Excel. No screenshot or native execution is claimed.