A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
I was having the same problem for a while and agree that this is even worse than the function not responding at all. It was then pointed out that the symbols that were generating completely erroneous quotes might be confused with similar symbols from another stock market. Eg the symbol FT exists on the NY market (XNYS:FT) but also on another market (I forget which one). This happened with 4 or 5 other ticker symbols.
If the STOCKHISTORY function is specified using "FT" as the symbol (either directly or by reference to another cell), Excel decided to pick quotes from the other market FT. This can be corrected either by specifying the exact market/ticker symbol (XNYS:FT) or by referral to a cell containing XNYS:FT using a Data>Stock type.
I didn't have this problem when STOCKHISTORY was working properly a couple of weeks ago. I had to go through all my 54 symbols and ensure they used the market:ticker format in every case. They now seem to be ok.
Microsoft's guidance for STOCKHISTORY states: "Enter a ticker symbol in double quotes (e.g., "MSFT") or a reference to a cell containing the Stocks data type. This will pull data from the default exchange for the instrument. You can also refer to a specific exchange by entering a 4-character ISO market identifier code (MIC), followed by a colon, followed by the ticker symbol (e.g., "XNAS:MSFT")"
It could be that the system is no longer pulling data from the default exchange and is being arbitrary about which exchange to use. By following the last sentence of the guidance, the correct ticker should be identified.