This can be done with theSTOCKHISTORY function.
The STOCKHISTORY function retrieves historical stock price information based on a given symbol and date range.
However, this formula is a bit fragile.
The result is the latest available close price in the current month.
The final 1 is a property setting that tells STOCKHISTORY to return the close price only.
See thetable herefor more information about properties available to the STOCKHISTORY function.
See below for a workaround.
LOOKUP always operates in approximate match mode, assuming data is sorted.
This is an example of theBigNumconcept.
First, the LET function stores results from STOCKHISTORY in a variable calledresults.
This row contains two values: the date and the close price on that date.
The primary purpose of STOCKHISTORY is to get the history of a financial instrument over time.
The TODAY function takes no arguments.
you might format the value returned by TODAY with a datenumber format.
LOOKUP’s default behavior makes it useful for solving certain problems in Excel.
you might use INDEX to retrieve individual values, or entire rows and columns.
The MATCH function is often used together with INDEX to provide row and column numbers….