YIELDDISC
Syntax:
YIELDDISC ( settlement , maturity , pr , redemption [ , [ basis ] ] )
Description: Computes the annual yield for a discounted security.
Arguments:
Name |
Type |
Description |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
settlement |
number |
The security's settlement date. |
||||||||||||
maturity |
number |
The security's maturity date. |
||||||||||||
pr |
number |
The security's price. |
||||||||||||
redemption |
number |
The security's redemption value per $100 face value. |
||||||||||||
basis |
number |
The truncated integer type of day count basis to use, as follows:
|
Time information in the date arguments is ignored.
Return Type and Value: number – The annual yield for a discounted security.
However, if
settlement or maturity is out of range for the current date base value,
#NUM!
is returned.settlement ≥ maturity,
#NUM!
is returned.pr or redemption ≤ 0,
#NUM!
is returned.basis < 0 or basis > 4,
#NUM!
is returned.