How to Get S&P 500 Data in Excel (Including Premarket)
Question details
The user wants to retrieve S&P 500 market data, including current pricing and premarket activity, into a spreadsheet.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Tracking stock market indexes and financial data analysis within a spreadsheet.
- Observed behavior
- The user needs a method to access current S&P 500 metrics natively, while acknowledging that built-in tools may not support premarket figures.
Ensure you have an active internet connection to pull live market data and verify that you are signed in to a Microsoft 365 account, as the Stocks data type requires a subscription.
Use the Built-in Stocks Data Type
Best for quickly retrieving standard market information such as current price, 52-week high/low, and trading volume for the S&P 500.
Microsoft Excel includes a rich data type specifically designed for stocks. While it covers standard trading hours comprehensively, be aware that it may not capture premarket activity.
Type 'S&P 500 Index' into any blank cell in your Excel spreadsheet.
Select the cell containing your text, navigate to the 'Data' tab on the top ribbon, and click on 'Stocks' in the Data Types group. The text will convert into a rich data type, indicated by a small bank/building icon next to it.
Click the small 'Insert Data' icon that appears to the top right of the selected cell. Choose the specific field you want to display, such as 'Price', 'Change', or 'Ticker', to populate it into the adjacent cell.

Import Premarket Data via Web Query
Ideal for retrieving premarket activity and extended-hours trading data that the standard Stocks data type does not provide.
Easily Import Web Financial Data with WPS Spreadsheets
If you need a fast, reliable, and free alternative to track financial data, WPS Spreadsheets offers robust data import features. You can effortlessly pull tables from financial websites to monitor S&P 500 performance and premarket activity without requiring an expensive subscription.
- 1. Open WPS Spreadsheets: Launch WPS Office and open a new or existing spreadsheet.
- 2. Access the Data Import feature: Navigate to the 'Data' tab on the main ribbon and select 'Import Data', then choose 'Import External Data'.
- 3. Set up the web query: Choose 'New Web Query', enter the URL of the financial site containing your S&P 500 data, and click 'Go'.
- 4. Import the table: Select the specific data blocks or tables on the web page you wish to track, then click 'Import' to bring the financial data directly into your sheet.

Frequently Asked Questions
Why is the Stocks data type missing from my Excel ribbon?
The Stocks data type is a premium feature available exclusively to Microsoft 365 subscribers. It also requires an active internet connection and that your Office editing language is set to a supported language like English.
Is the S&P 500 data in Excel real-time?
No, the stock market data provided by Excel's built-in feature is not fully real-time. It typically operates on a slight delay, commonly around 15 minutes, depending on the financial exchange's rules.
Can I get historical S&P 500 data in Excel?
Yes, if you have Microsoft 365, you can use the STOCKHISTORY function. Simply type =STOCKHISTORY("S&P 500 Index", "start_date", "end_date") to generate a table of past prices for the index.
How do I request Microsoft to add premarket data to the Stocks feature?
You can provide suggestions directly to the development team. Open Excel, go to the 'Help' tab, select 'Feedback', and submit a feature request for premarket and after-hours stock data.




