How to Fix Excel STOCKHISTORY #VALUE Error for CRH Stock
Question details
The user is experiencing a #VALUE error when using the STOCKHISTORY formula in Excel for CRH stock, with historical data incorrectly stopping at a specific past date.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Attempting to retrieve historical stock data for CRH using the STOCKHISTORY function for financial tracking and analysis.
- Observed behavior
- The formula returns a #VALUE error. Start dates after September 22, 2023, are incorrectly reported as non-trading days, even though current attributes like Price continue to work properly.
Verify that you have an active Microsoft 365 subscription and a stable internet connection, as the STOCKHISTORY function relies entirely on real-time cloud data from third-party financial providers.
Use an Exchange-Qualified Ticker Symbol
Ensure Excel pulls data from the correct stock exchange to avoid instrument mapping conflicts.
Sometimes, a simple ticker symbol like 'CRH' can be ambiguous to Excel's backend data provider, causing it to pull from an incomplete or halted data feed. Specifying the exact stock exchange resolves this mapping issue.
Find the specific exchange identifier for CRH based on where you are tracking it (e.g., XNYS for the New York Stock Exchange).
Modify your STOCKHISTORY formula to include the prefix and a colon before the ticker symbol, such as =STOCKHISTORY("XNYS:CRH", "1/1/2023", "12/31/2023").
Press Enter to apply the formula and allow Excel a few moments to fetch the updated data from the designated exchange.

Report the Data Source Issue to Microsoft
Since this error frequently stems from Microsoft's internal data provider halting historical tracking, submitting a report is necessary for a permanent fix.
Try WPS Office for Your Spreadsheet and Financial Data Needs
If you are frustrated by ongoing Microsoft Excel data provider bugs and formula errors, consider switching to WPS Office. It provides a lightweight, highly compatible spreadsheet environment that handles massive data sets and complex financial calculations smoothly.
- 1. Download WPS Office: Visit the official WPS website and download the free office suite for your operating system.
- 2. Open your Excel workbook: Launch WPS Spreadsheets and open your existing .xlsx files directly without any format conversion.
- 3. Continue your analysis: Utilize the extensive financial formula library in WPS to resume tracking and analyzing your stock data seamlessly.

Frequently Asked Questions
Why does the STOCKHISTORY formula return a #VALUE error?
A #VALUE error in STOCKHISTORY usually means Excel's data provider is missing historical data for the requested date range, the data type has failed to refresh, or the stock ticker is ambiguous and mapping to an incorrect financial instrument.
Can I manually fix the missing historical data for CRH stock?
No, the historical data is pulled directly from Microsoft's third-party financial data providers. If the provider's database is incomplete or halted for a specific stock like CRH, users must wait for Microsoft to update and fix the data feed.
How do I ensure Excel tracks the correct stock ticker for my formulas?
Always use an exchange prefix along with the ticker symbol in your formula. For example, instead of just entering 'CRH', use 'XNYS:CRH' to specify the New York Stock Exchange. This removes ambiguity and forces Excel to pull the correct data.




