This function calculates the annual yield of a security that pays interest at maturity.
YIELDMAT(settle, maturity, issue, issrate, price, basis)
This function has these arguments:
Settlement date for the security
Maturity date for the security
Issue date for the security
Interest rate for the security at the date of issue
Price per $100 face value for the security
[Optional] Integer representing the basis for day count (Refer to Day Count Basis.)
This function returns a #VALUE! error when settle, maturity, or issue is invalid.
If issrate is less than 0 or price 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.
If settle is greater than or equal to maturity, a #NUM! error is returned.
Settle, maturity, issue, and basis are truncated to integers.
Accepts numeric and date data. Returns numeric data.