5-year Treasury Rate
Returns daily 5-year US Treasury constant maturity yields in percent per annum (FRED DGS5).
Latest published rate
Use =TreasuryRate5y("LP") for the latest published numeric observation. In the Office add-in, use =mxls.TreasuryRate5y("LP"). LP means latest published; it is not a real-time bond quote. A value of 4.38 means 4.38% per annum.
History and dates
Calling the economic-data function without arguments returns the daily historical series. A numeric argument requests that many observations. Use "STATUS" to inspect source, frequency and source update time. Daily data follow the FRED publication calendar; weekends and market holidays do not have new observations. FRED may publish a closing observation on a later business day.
Data source and frequency
Federal Reserve H.15 via FRED series DGS5. Frequency is daily. Historical results contain daily rows, rather than the weekly averages previously returned. The prior weekly series is retained in the economic database under the corresponding treasury_rate_*_weekly key; this does not introduce a new Excel function.
Syntax
=TreasuryRate5y([arg1], [arg2])Parameters
LP: latest published value; STATUS: source metadata; number: observation count; omitted: daily series.
Optional second date for a historical date-range request.
Returns
5-year Treasury rate as percentage
Examples
=TreasuryRate5y()=TreasuryRate10y()-TreasuryRate5y()When to Use
- Medium-term discount rate
- Intermediate yield curve analysis
- Auto loan rate benchmarking
- Medium-term fixed income research
When NOT to Use
| Scenario | Use Instead |
|---|---|
| Long-term rate | TreasuryRate10y() |
| Short-term rate | TreasuryRate3m() or TreasuryRate1y() |
| Mortgage rates | TreasuryRate10y() |
Common Issues & FAQ
When is 5-year used?
Auto loans, some corporate bonds, and intermediate-term analysis.
How does it compare to 10-year?
Usually lower than 10-year in a normal yield curve.
Related Formulas
More MarketXLS Economic Data formulas you can use in the same worksheet:
- U.S - Euro Foreign Exchange Rate
- U.S - UK Foreign Exchange Rate
- U.S Dollar Index
- Unemployment Rate
- Vehicle Sales - Light Weight
- Wilshire 5000 Total Market Index
- Average Hourly Earnings - Private
- Average Weekly Hours of Production
See TreasuryRate5y used in a complete workbook: Yield Curve Dashboard Excel: June 2026 Recession Indicator and Treasury Spread Tracker
