logo
search
Formula Errors

How to Fix Excel STOCKHISTORY #VALUE Error for CRH Stock

John WilsonJohn Wilson Sep 28, 2026 870 views

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.

How to Fix Excel STOCKHISTORY #VALUE Error for CRH Stock
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.
Before you start

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.

Solution 1Recommended

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.

1
Identify the exchange prefix

Find the specific exchange identifier for CRH based on where you are tracking it (e.g., XNYS for the New York Stock Exchange).

2
Update the formula

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").

3
Refresh the workbook

Press Enter to apply the formula and allow Excel a few moments to fetch the updated data from the designated exchange.

Use an Exchange-Qualified Ticker Symbol
Accuracy Check: Using exchange-qualified identifiers is a best practice for all stock data types in Excel to prevent data mismatch errors.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website and download the free office suite for your operating system.
  2. 2. Open your Excel workbook: Launch WPS Spreadsheets and open your existing .xlsx files directly without any format conversion.
  3. 3. Continue your analysis: Utilize the extensive financial formula library in WPS to resume tracking and analyzing your stock data seamlessly.
100% compatible with Microsoft Excel file formats (.xlsx, .xls, .csv).Free and lightweight alternative to Microsoft 365 subscriptions.Familiar user interface requiring zero learning curve for Excel users.Robust built-in formula library for comprehensive financial analysis.
microsoft office alternative - wps office

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.