Thanks, but that doesn't work.It looks like the StockHistory function returns information of certain stocks/funds based on their ticker symbol, as explained here:
How to Use the Excel STOCKHISTORY Function
Discover how to use the Excel STOCKHISTORY function to retrieve and visualize stock data. Track monthly price changes and identify highs and lows.www.xelplus.com
Since the "S&P 500" really isn't an individual fund, I don't know if it will work.
But you can try, based on the symbol mentioned here: S&P 500 Index Ticker Symbol.
=STOCKHISTORY("SPX",TODAY()-1,TODAY()-1)
Alan,This site provides a free Add in that I use to track stock prices including the S&P
Stock Connector add-in for Excel
www.michael-saunders.com
Hi Joe, that is the closing price for SPX Technologies, the closing price for S&P Index was $ 5,554.13, you need to type SPX in a cell, click Stock History, scroll down the list, expand it to show all results and select manually.If you look further down the article in the second link I provided, it looks like it says you can use "SPX" for that (see the section entitled "Other Tickers Symbols for the S&P 500").
So I entered this formula in cell A1 to get yesterday's closing price:
Excel Formula:=STOCKHISTORY("SPX",TODAY()-1,TODAY()-1)
And this is what it returned for me:
View attachment 116759