Excel STOCKHISTORY() function repeatedly encounters #CONNECT! error.

Anonymous
2024-08-19T21:41:33+00:00

Hi Team,

I spent over 2 hours troubleshooting this issue with an advocate in Office support (7*********0). He worked very hard to understand and resolve the issue.

We tried numerous resets: the network, uninstalling and reinstalling office, updating office, powering down, and restarting the computer. Nothing helped.

The issue occurs in approximately 20% of the values for a list of stocks and one date. It occurs in a similar percentage of dates for a single stock.

Ultimately we discovered that creating a new spreadsheet and typing or pasting the formula into an empty cell will not result in the #CONNECT! error. But this does not work in previously created spreadsheets.

Please check on this as soon as possible. This is a critical function for applying Excel to stock research.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

54 answers

Sort by: Oldest
  1. Anonymous
    2024-08-21T06:02:19+00:00

    And I waited until they did a normal update instead of the Preview beta test version. Should have waited a bit longer.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-08-21T16:18:16+00:00

    Thank you for the troubleshooting idea. I tried another version of Excel, on another system, the 2407 version. I run the updated 2408 version on my personal account. Both versions have the STOCKHISTORY() #CONNECT! issue.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-08-21T16:47:02+00:00

    Good morning

    I think this has something to do with the data source since in my case, the #CONNECT error only shows up in certain stocks.

    (1) This morning I opened a new spreadsheet with the same fields of the table that has the errors and started entering some stocks that I am planning on trading this week. So far all have displayed the correct information. Then I entered a stock that has the #CONNECT problem in the other sheet and it comes back with the error. So this is only on selected stocks.

    (2) I did not count the number of records that showed the problem yesterday so I cannot really verify this, but it seems to me that there are less #CONNECT errors on the sheet.

    (3) Yesterday I was constantly getting an error label, you know, the label that appears just below the menu, an today it has not appeared. So I guess the issue is slowly being resolved.

    (4) This is not the first time I get strange behavior after an upgrade, the other day I had one with a need to add memory to a partition, and the solution was quite technical, so it would be nice if MS would do more testing before launching upgrades.

    My two cents.

    Mario

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-08-21T18:40:20+00:00

    I have had the same issue since August 16th or 17th (Not sure exactly when I first saw the problem.) Also have spent lots of time since then trying to chase down the cause/solution without success.

    I am finding that the frequency and specifics, (stock, date(s)), of the erroneous cells change when I refresh my workbook. They never all work, and at least a few work each refresh, just not the same ones every time.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2024-08-21T19:15:37+00:00

    My StockHistory functions rely on Dates in different cells. And when I change the dates the #Connection errors will go away (I actually change a cell that feeds into the date that changes the date).

    Was this answer helpful?

    0 comments No comments