The Excel YIELDDISC function returns the annual yield for a discounted security, such as a Treasury bill, that is issued at a discount but that matures at face value.
Get annual yield for discounted security
Yield as percentage
=YIELDDISC (sd, md, pr, redemption, [basis])
sd - Settlement date of the security.
md - Maturity date of the security.
pr - Price of security.
redemption - Redemption value per $100 face value.
basis - [optional] Day count basis (see below, default =0).
The Excel YIELDDISC function returns the annual yield for a discounted security (non-interest-bearing), such as a Treasury bill, that is issued at a discount but that matures at face value. In the example shown, the formula in F5 is:
with these inputs, the YIELDDISC function returns 0.03264023 which, or 3.26% when formatted with the percentage number format.
In Excel, dates are serial numbers. Generally, the best way to enter valid dates is to use cell references, as shown in the example. If you want to enter valid dates directly inside a function, the DATE function is the best approach.
The basis argument controls how days are counted. The PRICE function allows 5 options (0-4) and defaults to zero, which specifies US 30/360 basis. This article on wikipedia provides a detailed explanation of available conventions.