Function Problems

Fix Excel STOCKHISTORY Not Retrieving S&P 500 Index Data

Natalie TaylorNatalie Taylor Nov 2, 2026 870 views

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.

Fix Excel STOCKHISTORY Not Retrieving S&P 500 Index Data
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.
Before you start

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.

Solution 1Recommended

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.

1
Enter the Index Ticker

Type the name of the index, such as 'S&P 500', into a blank cell in your spreadsheet.

2
Convert to Stock Data Type

Select the cell, navigate to the 'Data' tab on the ribbon, and click on 'Stocks' within the Data Types group.

3
Insert Specific Data Fields

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.

Use the Excel Stock Data Types Feature
Historical Limitations: This method retrieves current or trailing data rather than full historical arrays. For extensive historical data, consider importing external datasets.
Free Microsoft Office alternative

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. 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install WPS Office: Run the setup file and follow the on-screen instructions to complete the installation.
  3. 3. Open Your Spreadsheets: Launch WPS Spreadsheets and seamlessly open your existing .xlsx financial tracking files.
Highly compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Free and lightweight suite including Writer, Presentation, and Spreadsheets.Familiar user interface requiring zero learning curve.Built-in advanced formulas, charts, and data analysis tools.
microsoft office alternative - wps office

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.