
LookupLevel: IntermediateAvailable in: Excel 365 / 2021+
In this article
- Syntax
- Examples
- Example 1
- Related functions
STOCKHISTORY fetches daily, weekly or monthly prices for a stock or currency pair into a spill range.
Syntax
=STOCKHISTORY(stock, start_date, [end_date], [interval], [headers], [properties…])
| Argument |
What it means |
stock |
Ticker such as “XNSE:INFY” or a Stocks data type. |
Examples
Example 1
=STOCKHISTORY("XNSE:TCS", TODAY()-30, TODAY())
Last month of TCS closing prices.
WEBSERVICE
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
✨ Ask AI about this articleStuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong