This function calculates the price per $100 face value of a security with an odd last coupon period.
This function has these arguments:
Settlement date for the security
Maturity date for the security
Last coupon date
Annual interest rate
Annual yield for 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 to Day Count Basis.)
This function returns a #VALUE! error when settle, maturity, or last is invalid. Settle, maturity, issue, last, and basis are truncated to integers.
If rate is less than 0 or yield is less than 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 settle which should be greater than last. Otherwise a #NUM! error is returned.
Accepts numeric data and dates. Returns numeric data.