Does Excel STOCKHISTORY Support Adjusted Closing Prices?
Question details
The user wants to know if the Excel STOCKHISTORY function can output adjusted closing prices instead of standard closing prices for historical market data.
- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Retrieving historical market data and stock prices in a spreadsheet for accurate financial analysis and tracking.
- Observed behavior
- Users notice unexpected historical price changes (such as anomalies around November 27) and cannot find a documented option within the formula to specify adjusted closing prices.
Ensure your Excel application is connected to the internet and signed into a Microsoft 365 account, as the STOCKHISTORY function requires an active connection to retrieve financial data.
Understand Limitations and Submit Feedback
Currently, Excel does not offer a built-in argument within STOCKHISTORY to toggle between standard and adjusted closing prices.
The STOCKHISTORY function retrieves data directly from Microsoft's financial data provider. By default, it pulls the standard closing price. There is no documented parameter to switch this to an adjusted closing price that accounts for dividends and stock splits.
Check your existing formula (e.g., =STOCKHISTORY("MSFT", "1/1/2023", "1/31/2023")) to confirm it is pulling the standard closing prices based on the default properties.
If you notice sudden, unexplained shifts in historical prices in your spreadsheet, use the Microsoft 365 Admin Center to raise a support ticket to investigate potential data provider corrections.
Go to the 'Help' tab in the Excel ribbon and select 'Feedback'. Choose 'I have a suggestion' to request that Microsoft add an adjusted closing price parameter to the STOCKHISTORY function.
Manually Calculate Adjusted Closing Prices
Since STOCKHISTORY does not natively provide adjusted prices, you can calculate them manually using dividend and stock split data.
Try WPS Office for Your Data Analysis Needs
If you are encountering limitations with connected data types in Microsoft Excel, consider switching to WPS Office. It provides a lightweight, free, and highly compatible alternative for comprehensive spreadsheet management and robust financial data analysis without expensive subscription fees.
- 1. Download WPS Office: Visit the official WPS website and click the free download button for your operating system.
- 2. Install the software: Run the downloaded installer and follow the simple on-screen instructions to complete the setup.
- 3. Open your Excel files: Launch WPS Spreadsheets and seamlessly open your existing .xlsx financial documents without losing any cell formatting or standard formulas.

Frequently Asked Questions
Why did my STOCKHISTORY prices change suddenly?
Sudden changes in STOCKHISTORY data can occur due to stock splits, dividend distributions, or upstream data provider corrections. Because standard closing prices are pulled, structural adjustments by the provider might retroactively alter how historical data is displayed.
What data source does Excel use for STOCKHISTORY?
Excel retrieves its financial and stock market data from Refinitiv, which supplies the historical pricing and company information used by the STOCKHISTORY function.
Can I get real-time stock prices in Excel?
Yes, by using the 'Stocks' data type found in the Data tab. However, note that STOCKHISTORY is designed specifically for historical data arrays, while the Stocks data type pulls current market prices that may be slightly delayed.
Is the STOCKHISTORY function available in Excel 2019 or Excel 2016?
No, the STOCKHISTORY function is exclusive to Microsoft 365 subscribers and Excel for the Web. It is a connected data function that is not available in standalone, perpetual-license versions like Excel 2019 or Excel 2016.




