This function calculates the yield of a security with an odd first period.
ODDFYIELD(settle, maturity, issue, first, rate, price, redeem, freq, basis)
This function has these arguments:
Settlement date for the security
Maturity date for the security
Issue date for the security
First coupon date
Interest rate of the security
Price of the security
Redemption value per $100 face value for the security
Frequency of payment, number of payments per year
[Optional] Integer representing the basis for day count (Refer toDay Count Basis.)
This function returns a #VALUE! error when settle, maturity, issue, or first is invalid. Settle, maturity, issue, first, and basis are truncated to integers.
If rate is less than 0 or yield is less than or equal to 0, a #NUM! error is returned.
If basis is less than 0 or greater than 4, a #NUM! error is returned.
Maturity should be greater than first which should be greater than settle which should be greater than issue. Otherwise a #NUM! error is returned.
Accepts numeric data. Returns numeric data.