This function returns the yield for a Treasury bill (or T-bill).
TBILLYIELD(settle, mature, priceper)
This function has these arguments:
Settlement date for the Treasury bill
Maturity date for the Treasury bill
Price per $100 face value for the Treasury bill
This function returns a #VALUE! error when settle or mature is invalid. Settle and mature are truncated to integers.
The function returns an error in the following cases:
If priceper is less than or equal to 0, a #NUM! error is returned.
If settle is greater than or equal to mature or if mature is more than one year after settle, a #NUM! error is returned.
Accepts numeric and DateTime object data for all arguments. Returns numeric data.
TBILLYIELD("3/31/2003","6/1/2003",98.65) gives the result 0.0794598041299475 (or 5.80%)