Pull in YQL (Yahoo Query Language) data to Google Sheets
This Google App Script (GAS) code, when 'bound' to a Google Sheet, will pull in historical data from the Adj_Close field.
Adj_Close is the closing price adjusted for splits and dividends, making a comparisons about total return much easier.