Stock Return Seven Days

Returns the stock's past 7 days return. By default, this function returns total return using adjusted prices where available. You can optionally pass a second argument to request price return instead.

What is Calculated

The calculation measures return over the past 7 days using the nearest available trading dates for the start and end observations.

Parameters

Parameter Required Description
Symbol Yes Stock ticker symbol
TypeOfReturn No Optional. Use total (default) for dividend-adjusted total return, or price for price return. Also accepts return, change, and changepercent.

Notes

  • Returns are expressed as decimals (0.20 = 20% gain)
  • Default behavior is total return
  • Use price when you want return based only on unadjusted closing prices
  • Trading-day availability may shift the exact start/end observation dates slightly

Examples

7-day total return (default)
=StockReturnSevenDays("AAPL","total")
7-day total return
=StockReturnSevenDays("AAPL","price")
7-day price return
=StockReturnSevenDays("AAPL") * 100
Convert to percentage

When to Use

  • Short-term momentum analysis
  • Weekly performance checks
  • Comparing recent moves across stocks

When NOT to Use

Scenario Use Instead
Need a different preset horizon Use the corresponding StockReturn...() function for that horizon
Need custom dates StockReturnCustomDates()
Need dollar change instead of return Use the corresponding Change...() function where available

Common Issues & FAQ

Q: What is the difference between total and price? A: total uses adjusted prices and includes dividends where available. price uses unadjusted close prices and excludes dividend adjustments.

Q: Why might the exact dates differ from the dates I expect? A: If the requested anchor date is a weekend or market holiday, the calculation uses the nearest available trading date.

Q: Why am I getting NA? A: Check that the symbol is valid and that sufficient historical pricing data is available for the requested period.

Get Access to 1 Billion Usable Market data points IN YOUR EXCEL SHEETS WITH EASY TO USE EXCEL FUNCTIONS

Get started today
MarketXLS Excel Add-in Tutorial - How to Use Stock Return Seven Days and Other Financial Formulas
How does MarketXLS work?