TBILLYIELD Function

Calculate Treasury bill yields in Excel and Sheets. Learn the TBILLYIELD function syntax, parameters, examples, and common errors with this guide.

ExcelExcel
Google SheetsGoogle Sheets
financial
intermediate
Syntax Preview
ExcelExcelGoogle SheetsGoogle Sheets
=TBILLYIELD(settlement, maturity, pr)

Practical Examples

Basic Treasury Bill Yield Calculation

Calculate the discount rate for a T-bill purchased at $98.45

Result: 0.0905 or 9.05%

Comparing Multiple T-Bill Investment Options

Analyze yields for T-bills at different prices to find the best return

Result: Yield table showing different investment returns

Real-Time T-Bill Yield Monitoring

Create a dynamic dashboard to track T-bill yields as market prices change

Result: Live yield calculations

Treasury Bill Arbitrage Analysis

Identify arbitrage opportunities between T-bill market prices and calculated fair values

Result: Trading recommendation based on yield comparison

Error Handling for T-Bill Yield Calculations

Prevent and handle common TBILLYIELD errors with validation

Result: Yield or descriptive error message

Converting Discount Yield to Bond-Equivalent Yield

Calculate both discount yield and bond-equivalent yield for comparison

Result: Bond-equivalent yield percentage

Common Errors and Solutions

#NUM!

TBILLYIELD returns #NUM! error

Cause:

Settlement date is on or after maturity date, or maturity is more than one year after settlement, or price is less than or equal to 0

Solution:

Ensure settlement date is before maturity date, maturity is within one year (365 days) of settlement, and price is a positive number greater than 0. For T-bills, prices are typically between $95 and $100 per $100 face value.

Prevention:

Validate that: (1) settlement < maturity, (2) maturity - settlement <= 365 days, (3) price > 0. Add data validation rules to prevent invalid inputs.

Frequency: 50%

Example:

#VALUE!

TBILLYIELD returns #VALUE! error

Cause:

One or more arguments is not a valid data type - settlement or maturity is not a valid date, or price is not a number

Solution:

Use the DATE(year, month, day) function to construct dates rather than text strings. Ensure the price cell is formatted as a number, not text. Convert text dates using DATEVALUE() if necessary.

Prevention:

Always use DATE() function for date inputs: =TBILLYIELD(DATE(2025,3,31), DATE(2025,6,1), 98.45). Format cells properly before calculations.

Frequency: 30%

Example:

#NAME?

Excel displays #NAME? error

Cause:

Function name is misspelled (e.g., TBILLYELD instead of TBILLYIELD) or the function is not available in the current Excel version

Solution:

Check the spelling of TBILLYIELD carefully. Ensure you are using Excel 2000 or later (Excel 2007+ has it built-in). In older versions, enable the Analysis ToolPak add-in.

Prevention:

Use Excel's autocomplete feature when typing function names. Verify your Excel version supports financial functions. For Excel 2003 and earlier, go to Tools > Add-Ins > Analysis ToolPak.

Frequency: 15%

Example:

Unrealistic Results

TBILLYIELD returns negative or extremely high yields

Cause:

Price entered as a percentage (e.g., 98.45%) instead of dollar amount, or price is greater than 100 for a discount instrument

Solution:

Enter price as dollars per $100 face value (e.g., 98.45, not 0.9845 or 98.45%). T-bill prices should be less than or equal to 100 since they are discount instruments. If price > 100, verify your data source.

Prevention:

Document that price should be entered as: $98.45 per $100 face value (not as 0.9845). Add conditional formatting to highlight prices > 100 as potential errors.

Frequency: 5%

Example:

Best Practices and Advanced Tips

Understanding T-Bill Price and Yield Relationship

TBILLYIELD and TBILLPRICE are inverse functions. When price goes down, yield goes up, and vice versa. This inverse relationship is fundamental to all fixed income securities. Use TBILLYIELD when you know the market price and need to calculate the return.

360-Day Year Convention

TBILLYIELD returns yields based on a 360-day year (money market basis), not 365 days. This is the standard convention for T-bills and money market instruments. To convert to bond-equivalent yield (365-day basis), use TBILLEQ or multiply by 365/360.

Always Use DATE Function for Dates

Rather than typing dates as text strings, use the DATE(year, month, day) function to avoid date interpretation issues across different regional settings and Excel versions. This ensures consistency and reduces errors.

Price Entry Format

Enter price as dollar amount per $100 face value, not as a decimal. For example, use 98.45 (representing $98.45), not 0.9845. This is the standard market convention and prevents calculation errors.

One-Year Maturity Limit

Treasury bills by definition have maturities of one year or less. TBILLYIELD will return #NUM! error if the maturity date is more than 365 days after the settlement date. For longer-term Treasury securities, use YIELD or PRICE functions instead.

Settlement vs Trade Date

Remember that the settlement date is typically 1-2 business days after the trade date (T+1 or T+2). When analyzing market transactions, ensure you're using the settlement date, not the trade date, for accurate yield calculations.

Real-World Yield Formula

TBILLYIELD calculates: Yield = ((100 - Price) / Price) * (360 / Days to Maturity). Understanding this formula helps you validate results and troubleshoot errors. The 360-day year is key to the calculation.

Combining with Other Treasury Functions

Use TBILLYIELD alongside TBILLPRICE and TBILLEQ for comprehensive T-bill analysis. TBILLYIELD gives discount rate, TBILLEQ gives bond-equivalent yield, and TBILLPRICE lets you work backward from yield to price.

Need Help with TBILLYIELD Function?

Stop struggling with formula syntax. Use AskFormulas to generate validated formulas instantly with our AI-powered tool.

Example Excel formula:

Related Formulas

Excel TBILLEQ Function

Calculate the bond-equivalent yield for Treasury bills. Learn TBILLEQ syntax, examples, and how to convert T-bill discount rates to comparable bond yields.

intermediate
financial
ExcelExcel
Google SheetsSheets
Validated
Excel TBILLPRICE Function

Calculate the price per $100 face value for Treasury bills. Learn TBILLPRICE syntax, examples, and T-bill pricing with settlement and maturity dates.

intermediate
financial
ExcelExcel
Google SheetsSheets
Validated
IRR Function in Excel

The IRR function calculates internal rate of return for cash flows. Learn to evaluate investment profitability with practical examples.

intermediate
financial
ExcelExcel
Google SheetsSheets
Validated
RATE Function in Excel

The RATE function calculates interest rate per period for loans. Master RATE with examples, error solutions, and tips. Get examples, tips, and solutions.

intermediate
financial
ExcelExcel
Google SheetsSheets
Validated