Applies ToExcel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2024 Excel 2024 for Mac Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2016

This article describes the formula syntax and usage of the TBILLYIELD function in Microsoft Excel.

Description

Returns the yield for a Treasury bill.

Syntax

TBILLYIELD(settlement, maturity, pr)

Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text.

The TBILLYIELD function syntax has the following arguments:

  • Settlement    Required. The Treasury bill's settlement date. The security settlement date is the date after the issue date when the Treasury bill is traded to the buyer.

  • Maturity    Required. The Treasury bill's maturity date. The maturity date is the date when the Treasury bill expires.

  • Pr    Required. The Treasury bill's price per $100 face value.

Remarks

  • Microsoft Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900.

  • Settlement and maturity are truncated to integers.

  • If settlement or maturity is not a valid date, TBILLYIELD returns the #VALUE! error value.

  • If pr ≤ 0, TBILLYIELD returns the #NUM! error value.

  • If settlement ≥ maturity, or if maturity is more than one year after settlement, TBILLYIELD returns the #NUM! error value.

  • TBILLYIELD is calculated as follows:

    Equation

    where:

    • DSM = number of days from settlement to maturity, excluding any maturity date that is more than one calendar year after the settlement date.

Example

Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.

Data

Description

3/31/2008

Settlement date

6/1/2008

Maturity date

$98.45

Price per $100 face value

Formula

Description

Result

=TBILLYIELD(A2,A3,A4)

The yield for the Treasury bill using the terms in A2, A3, and A4 (0.0914, or 9.14%).

9.14%

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.