STOCKHISTORY_SKIPPING.xml
I don't know how you convert that back to Excel. Even if you do, I don't think it will exhibit the behavior I described. As I mentioned, I can open a new sheet and the dates will not be skipped. No trouble with other functions.
STOCKHISTORY function missing dates in January and February 2024
I have a file originally saved on February 22,2024 where I used the STOCKHISTORY function to retrieves dates between 2018-2023. The date range is derived (not typed in directly but cell references) based on user input. If I change the Last Date February 22, 2024, the STOCKHISTORY function returns data, but all the dates between 12/28/2023 and 2/20/2024 are skipped. It does this for every Stock. If I delete the formula an re-enter it. It still skips the dates.
Oddly enough, if I open a fresh copy of Excel and enter the formula it doesn't skip the dates.
My only option appears to be to delete all STOCKHISTORY functions. SAVE AS a new name. Then open the new file and reenter all the STOCKHISTORY functions.
This happened on January 31, 2024 as well.
I can provide the file that exhibits this behavior. I would like to know how to prevent this from happening.
2 answers
Sort by: Most helpful
-
Chris Van Winkle 0 Reputation points
2024-03-05T15:34:24.6033333+00:00 -
Jiajing Hua-MFST 9,175 Reputation points Microsoft Vendor
2024-03-07T08:25:59.34+00:00 Hi @Chris Van Winkle
Thanks for your sharing.
Could you please tell us which version of Office are you using?
You issue can be reproduced on my environment with Microsoft 365 Apps installed. In my opinion, it is related to a multi-cell array formula.
According to the article 'Rules for changing array formulas', you can't add new cells to a block of result cells,
From your shared workbook, the result range is blocked which starts from F35 to K1639.
I suggest you select the range of cells from F35 to K1639 that contain the array formula, and delete it. Re-enter the formula, but do not press Ctrl + Shift +Enter, please press Enter directly to have a check.
Then the formula will be a dynamic array formula without curly braces {}.
In following image, the blue box in the lower right corner is the result cell range of the dynamic array.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.