A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
To use Excel’s Stocks data type and pull stock prices or historical data after reinstalling Microsoft 365, the environment must meet the linked data type requirements and the feature must be used in the supported way.
- Confirm requirements for Stocks data type Make sure all of the following are true:
- An active Microsoft 365 subscription or a free Microsoft account is signed in.
- Excel is up to date and using the current Excel app or Excel for the web.
- One of these editing languages is added in Office Language Preferences: English, French, German, Italian, Spanish, or Portuguese.
- Check that Stocks data type is available In Excel:
- Type a ticker symbol or company name (for example,
MSFTorMicrosoft) in a cell. - Select the cell.
- Go to the Data tab on the ribbon and look for the Stocks button in the Data Types group.
- Click Stocks.
- Type a ticker symbol or company name (for example,
- Use the Insert Data button to pull fields Once the cell is converted to the Stocks data type:
- Select the converted cell.
- Click the Insert Data button that appears next to it.
- Choose fields such as Price, Change, etc. Excel inserts those values into adjacent columns.
Ctrl+Shift+F5. - Get historical prices with STOCKHISTORY For historical pricing and volume, use the
STOCKHISTORYfunction, which works with the same finance data source as the Stocks data type:- Insert a formula like:
=STOCKHISTORY("MSFT", "2024-01-01", "2024-01-31") - This returns historical data for the specified date range.
STOCKHISTORYis documented in the same set of features as Stocks data types and uses the same provider. - Insert a formula like:
- Refreshing and reliability
- To refresh linked stock data, right‑click a cell with the Stocks data type and choose Data Type > Refresh.
- Stock information is delayed, provided “as‑is”, and not for trading or advice.
If the Stocks button does not appear on the Data tab, or data types do not convert even after confirming subscription, sign‑in, language, and updates, the installation may not be meeting the linked data type requirements and would need to be aligned with those prerequisites first.
References: