Contact

ODDLYIELD Function (LibreOffice Calc)

Financial Intermediate LibreOffice Calc

Find an irregular final-period yield with LibreOffice Calc ODDLYIELD, including clean-price inputs, percentage formatting and a price/yield reconstruction.

Verification status: Eight ordinary ODDLYIELD formulas were recalculated through XLSX import and separate ODS export in LibreOfficeDev 26.8.0.0.alpha0, build 2c87e51eeaa2b413ff4ae097b2705eea1995d8e5, using a forced-recalculation profile. Saved identities, numeric results and both controls were checked. This is headless development-build evidence; no stable-release, 26.8.1.1 or GUI execution is claimed. How formula examples are checked

Quick answer: =ODDLYIELD(DATE(2025;10;1);DATE(2026;1;15);DATE(2025;7;1);.05;99;100;2;0) returned 0.084404373681 in the scoped LibreOffice development-build check below.

Availability and version history

  • Introduced: First release not established; documented by LibreOffice 3.3.
  • Supported in: LibreOffice 26.8 Help and 26.8.1.1 source. No retirement is established.
  • Scope: English desktop Calc formulas with semicolon separators; execution below used a development build.
  • Checked: October 14, 2026. Eight ordinary formulas were recalculated headlessly in LibreOfficeDev 26.8.0.0.alpha0, build 2c87e51eeaa2b413ff4ae097b2705eea1995d8e5. No stable-release or GUI execution is claimed.

What ODDLYIELD calculates

ODDLYIELD returns an annual decimal yield for a security with an irregular final coupon interval. It uses the quoted clean price, the last coupon date and the final redemption amount. It is not the coupon rate and is not a general iterative internal-rate-of-return calculation over an arbitrary cash-flow list. Function-specific Help.

Syntax and arguments

ODDLYIELD(Settlement; Maturity; LastInterest; Rate; Price; Redemption; Frequency [; Basis])
  • Settlement / Maturity / LastInterest: Numeric spreadsheet dates; the examples place settlement after the last coupon and before maturity.
  • Rate: Annual coupon rate as a decimal.
  • Price / Redemption: Amounts per 100 face value. Price is the quoted clean price, excluding accrued interest.
  • Frequency: 1, 2 or 4 coupon payments per year.
  • Basis: Optional day-count convention; omitted means 0.
Basis Day-count convention
0 or omitted US 30/360 (NASD)
1 Actual/actual
2 Actual/360
3 Actual/365
4 European 30/360

Eight reproducible examples

All eight formulas were recalculated in the exact development build above. The independent column uses high-precision arithmetic; the final column is separately rounded from the saved native numeric value. Values are shown to at most twelve decimal places, so a last-place display difference is possible.

Formula Independent reference Saved development-build result
=ODDLYIELD(DATE(2025;10;1);DATE(2026;1;15);DATE(2025;7;1);.05;99;100;2;0) 0.084404373681 0.084404373681
=ODDLYIELD(DATE(2025;10;1);DATE(2026;1;15);DATE(2025;7;1);.05;99;100;2;1) 0.084214773129 0.084214773129
=ODDLYIELD(DATE(2025;10;1);DATE(2026;1;15);DATE(2025;7;1);.05;99;100;2;2) 0.083729681702 0.083729681702
=ODDLYIELD(DATE(2025;10;1);DATE(2026;1;15);DATE(2025;7;1);.05;99;100;2;3) 0.084214773129 0.084214773129
=ODDLYIELD(DATE(2025;10;1);DATE(2026;1;15);DATE(2025;7;1);.05;99;100;2;4) 0.084404373681 0.084404373681
=ODDLYIELD(DATE(2025;10;1);DATE(2026;1;15);DATE(2025;7;1);.05;99;100;1;0) 0.084404373681 0.084404373681
=ODDLYIELD(DATE(2025;10;1);DATE(2026;1;15);DATE(2025;7;1);.05;99;100;4;0) 0.084404373681 0.084404373681
=ODDLYIELD(DATE(2025;10;1);DATE(2026;1;15);DATE(2025;7;1);.05;99;100;2) 0.084404373681 0.084404373681

Practical worksheet

Enter A2=DATE(2025;10;1), B2=DATE(2026;1;15), C2=DATE(2025;7;1), D2=0.05, E2=99, F2=100 and G2=2. Then =ODDLYIELD(A2;B2;C2;D2;E2;F2;G2;0) matches the first tested case, approximately 0.084404373681.

Format the result as a percentage to read 8.4404373681%. Do not multiply the stored value by 100 and then also apply percentage formatting. The coupon remains 5%; the larger yield reflects the specified price and final payment timing.

The clean price 99 becomes 100.25 after adding this example’s accrued interest of 1.25. Pass 99 to ODDLYIELD. Passing 100.25 would add accrued interest a second time inside the helper.

Advanced interpretation and checks

Write T, U and A for the year fractions from last coupon to maturity, settlement to maturity and last coupon to settlement. The inspected helper is equivalent to:

Yield = ((Redemption + 100*Rate*T)/(Price + 100*Rate*A) - 1)/U

With basis 0, those fractions are 194/360, 104/360 and 90/360. The numerator compares the final payment with the price including accrued interest; division by U annualizes the remaining-period return under this model.

Frequency cancels algebraically in the retained helper, explaining the matching results for frequencies 1, 2 and 4 in the table. Do not extend that observation to regular-coupon YIELD or to a different product’s implementation.

An independently reconstructed ODDLPRICE calculation using this yield returns the input clean price 99. Holding the schedule fixed, a higher positive price produces a lower yield in this formula because it enlarges the price-plus-accrued-interest denominator. These checks are mathematical validations in addition to the eight native examples. Inspected implementation.

Boundaries and troubleshooting

Keep price and redemption on the same per-100 scale, and use the same date basis throughout a round trip. Changing basis alone changes the result: Actual/360 gives approximately 0.083729681702 for the displayed schedule.

The examples deliberately use an ordinary positive-price schedule. No invalid-domain cases or exact error codes are claimed. Although the complete odd-last helper was inspected, its current financial wrapper’s full guards were not available. The first coupon is not an argument here; an irregular first coupon is a separate problem.

Official evidence and checking scope

The XLSX formulas were recalculated with a forced-recalculation profile and exported to a separate ODS file. The deliberately stale SUM cache changed to 3, and the uncached SUM returned 7. All eight function identities and numeric results were checked against the saved XML and independent calculations. The execution was headless in the exact development build named above; the separately inspected 26.8.1.1 source was not executed. Invalid-domain cases were not tested. The complete current financial wrapper was not available for inspection; the cited helper, registration, Help and successful ordinary cases do not establish every validation or coercion branch.