The ODDFPRICE function in Excel is designed to calculate the price of a bond that has an odd first period. This financial function is particularly useful for investors and analysts working with securities that do not conform to standard pricing methods, such as those with irregular payment schedules. By accurately determining the price per $100 face value, users can make informed decisions on bond investments.
Syntax
ODDFPRICE(settlement, maturity, issue, first_coupon, rate, yield, frequency, [basis])
- settlement: The date when the buyer purchases the bond.
- maturity: The date when the bond will expire and the principal will be paid back.
- issue: The bond’s issue date.
- first_coupon: The date of the bond’s first coupon payment.
- rate: The coupon rate of the bond.
- yield: The annual yield on the bond.
- frequency: The number of coupon payments per year (1 for annual, 2 for semiannual, or 4 for quarterly).
- [basis]: (optional) The day count basis to use (0 for US (NASD), 1 for actual/actual, etc.).
Example #1
=ODDFPRICE("2023-10-01", "2030-10-01", "2023-01-01", "2023-04-01", 0.05, 0.03, 2)
In this example, the function calculates the price of a bond purchased on October 1, 2023, maturing on October 1, 2030, with an issue date of January 1, 2023, and a first coupon payment date of April 1, 2023. The coupon rate is 5%, and the yield is 3%, with semiannual payments. The result might be approximately $105.50.
Example #2
=ODDFPRICE("2023-11-15", "2025-11-15", "2022-11-15", "2023-05-15", 0.04, 0.02, 1)
Here, the bond is set to be purchased on November 15, 2023, maturing on November 15, 2025. The issue date is November 15, 2022, with a first coupon on May 15, 2023. With a coupon rate of 4% and a yield of 2%, the bond price might be around $102.00.
Example #3
=ODDFPRICE("2024-01-01", "2030-01-01", "2023-01-01", "2024-01-01", 0.06, 0.04, 4)
In this instance, the bond is purchased on January 1, 2024, and matures on January 1, 2030, with an issue date of January 1, 2023. The first coupon is also on January 1, 2024, with a coupon rate of 6% and a yield of 4%, yielding a price of approximately $108.00.
Error handling
- VALUE! – This error occurs if one of the arguments provided is of an inappropriate type, such as text when a date is expected.
- NUM! – This error indicates that one or more of the numeric arguments are invalid, like a non-positive yield rate.
- N/A – Returned when required data, such as a date or rate, is missing or not available.