Fix Excel STOCKHISTORY Not Retrieving S&P 500 Index Data
Question details
The user is attempting to retrieve historical closing prices for the S&P 500 Index using the Excel STOCKHISTORY function, but the ticker INX incorrectly returns data for I-NEXUS GLOBAL PLC.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Pulling historical stock index data into a spreadsheet for financial tracking and analysis.
- Observed behavior
- The STOCKHISTORY function fails to recognize the S&P 500 Index symbol (INX), mapping it instead to an unrelated security and failing to return the desired historical index data.
Verify that your Microsoft 365 subscription is active and that your device has a stable internet connection, as financial data types and history functions require online access to fetch real-time market data.
Use the Excel Stock Data Types Feature
Because STOCKHISTORY lacks reliable support for the S&P 500 Index, use the built-in Stock Data Types feature to pull related current market data.
While the STOCKHISTORY function's documentation does not clearly promise support for broad market indices, the standard Stock Data Types feature does support a wider variety of index data.
Type the name of the index, such as 'S&P 500', into a blank cell in your spreadsheet.
Select the cell, navigate to the 'Data' tab on the ribbon, and click on 'Stocks' within the Data Types group.
Click the 'Insert Data' icon that appears next to your selected cell to add specific information like Price, Change, or 52-week High/Low into adjacent columns.

Submit Feedback to Request Index Support
Alert Microsoft to the incorrect ticker mapping so they can improve the STOCKHISTORY function in future updates.
Need a Reliable Alternative? Try WPS Office Free
If you are tired of dealing with specific function limitations or expensive subscription costs in Microsoft Excel, consider switching to WPS Office. It provides powerful spreadsheet capabilities, excellent compatibility with Excel files, and a familiar user interface without the heavy price tag.
- 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install WPS Office: Run the setup file and follow the on-screen instructions to complete the installation.
- 3. Open Your Spreadsheets: Launch WPS Spreadsheets and seamlessly open your existing .xlsx financial tracking files.

Frequently Asked Questions
Why does the INX symbol return I-NEXUS GLOBAL PLC instead of the S&P 500?
The third-party financial data provider utilized by Excel's STOCKHISTORY function currently maps the ticker 'INX' to I-NEXUS GLOBAL PLC, meaning it does not natively recognize it as the S&P 500 Index in this specific function.
Can I use STOCKHISTORY for other stock market indices?
Support for major market indices in STOCKHISTORY is limited and not officially guaranteed by Microsoft's documentation. The function is generally designed and optimized for individual corporate stocks.
How can I get historical S&P 500 data in Excel if STOCKHISTORY fails?
You can manually download historical index data as a CSV file from financial websites like Yahoo Finance or Google Finance, and then import that CSV directly into your spreadsheet using the Data > From Text/CSV feature.




