Contact

PRICEMAT Function (OpenOffice Calc)

Financial Intermediate OpenOffice Calc

Price maturity-paid interest with OpenOffice PRICEMAT. Separate the discounted total payment from accrued interest and verify its inverse relationship with YIELDMAT.

Verification status: Eight ordinary reference formulas were recalculated in Apache OpenOffice 4.1.16 on Linux x86-64, Build 9816, through generated native ODF and GUI hard recalculation. Saved identities, inputs and results were checked. How formula examples are checked

Quick answer: =PRICEMAT(DATE(2024;7;1);DATE(2025;1;1);DATE(2024;1;1);.05;.06;0) returned 99.441747572816 in the tested Apache OpenOffice 4.1.16 build.

Availability and version history

  • Introduced: First release not established; documented by OpenOffice.org 3.3.
  • Supported in: Apache OpenOffice 4.1.16; this is a verified release, not a final supported version.
  • Scope: Desktop Calc, English function names and semicolon-separated formulas.
  • Checked: October 14, 2026. Eight ordinary reference formulas were recalculated from generated ODF in 4.1.16 on Linux x86-64, Build 9816. Source and independent arithmetic were checked.

What PRICEMAT returns

PRICEMAT prices a security whose interest is paid at maturity, per 100 face value. It discounts principal plus issue-to-maturity interest over the settlement-to-maturity fraction, then subtracts issue-to-settlement accrued interest. It is different from a regular coupon PRICE calculation. Release implementation.

Syntax and arguments

PRICEMAT(Settlement;Maturity;Issue;Rate;Yield[;Basis])
  • Settlement, Maturity, Issue: dates; use Issue≤Settlement<Maturity.
  • Rate: annual interest rate. Yield: annual required yield, both nonnegative for the supported ordinary model.
  • Basis: optional 0, with alternatives 1–4.
  • The result is per 100; there is no separate redemption or coupon-frequency argument.

Eight reproducible examples

The native column contains saved 4.1.16 results; independent references use high-precision arithmetic and the stated source rules. Values are shown to twelve decimal places where needed. Enter DATE expressions directly rather than locale-dependent date text.

Formula Native 4.1.16 result Independent reference
=PRICEMAT(DATE(2024;7;1);DATE(2025;1;1);DATE(2024;1;1);.05;.06;0) 99.441747572816 99.441747572816
=PRICEMAT(DATE(2024;7;1);DATE(2025;1;1);DATE(2024;1;1);.05;.06;1) 99.439186345407 99.439186345407
=PRICEMAT(DATE(2024;7;1);DATE(2025;1;1);DATE(2024;1;1);.05;.06;2) 99.428884576685 99.428884576685
=PRICEMAT(DATE(2024;7;1);DATE(2025;1;1);DATE(2024;1;1);.05;.06;3) 99.43749499106 99.43749499106
=PRICEMAT(DATE(2024;7;1);DATE(2025;1;1);DATE(2024;1;1);.05;.06;4) 99.441747572816 99.441747572816
=PRICEMAT(DATE(2024;1;1);DATE(2025;1;1);DATE(2024;1;1);.05;.06;0) 99.056603773585 99.056603773585
=PRICEMAT(DATE(2024;4;1);DATE(2024;10;1);DATE(2024;1;1);.04;.06;0) 99 99
=PRICEMAT(DATE(2024;7;1);DATE(2025;1;1);DATE(2024;1;1);.05;.06) 99.441747572816 99.441747572816

Practical worksheet

For issue January 1, 2024, settlement July 1, 2024, maturity January 1, 2025, rate 5%, yield 6% and basis 0, the final payment is 105. Its settlement value is 105/1.03ā‰ˆ101.941747572816. Subtracting accrued interest of 2.5 gives 99.441747572816.

The discounted total payment and the quoted result therefore differ. Omitting the accrued-interest subtraction would overstate this function’s result by 2.5 in the example. When issue and settlement coincide, the accrued part is zero and the native one-year result is 99.056603773585.

Advanced interpretation and checks

Let A be the issue-to-maturity year fraction, B the issue-to-settlement fraction and C the settlement-to-maturity fraction. The implementation returns 100*((1+A*Rate)/(1+C*Yield)-B*Rate). It computes all three fractions separately using GetYearFrac.

For the ordinary same-parameter example, YIELDMAT can reverse that algebra when given this clean price. The inverse is a formula identity under matching dates, rates and basis, not a statement that all securities have this cash-flow structure. Basis 1 gives a slightly different native price, approximately 99.439186345407, because of the leap-year date fractions.

Boundaries and troubleshooting

The wrapper checks nonnegative Rate and Yield and Settlement<Maturity. For practical use also validate Issue≤Settlement and positive denominators; the native examples satisfy those conditions. Invalid dates, negative-rate inputs and degenerate denominators were not executed.

Use date serials or DATE expressions rather than ambiguous date text. A maturity-only interest payment is not a series of periodic coupons, and the output is not the full accrued settlement amount. Keep the quoted-price convention explicit when comparing with PRICE, PRICEDISC or an independent present-value calculation.

Official evidence and checking scope

The generated ODF produced the informational load warning ā€œNot all attributes could be read.ā€ The sheet was hard-recalculated and saved separately. All eight ordinary function identities, inputs and results were reconciled; a stale SUM cache changed from 999999 to 3 and an uncached SUM returned 7. This establishes the stated examples, not every workbook style or invalid input. Other explanatory identities are independent calculations. The authoring-tool XLSX was not executed in OpenOffice, and its preview values are not the native results reported here.