Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

To insert a stock price into Excel, first convert text into the Stocks data type. Then you can use another column to extract certain details relative to that data type, like the stock price, change in price, and so on.

Note: The Stocks data type is only available to Microsoft 365 accounts or those with a free Microsoft Account. You must also have the English, French, German, Italian, Spanish, or Portuguese editing language added to Office Language Preferences.

  1. Type some text in cells. For example, type a ticker symbol, company name, or fund name into each cell.

  2. Then select the cells.

  3. Although it's not required, we recommend creating an Excel table. Later on, this will make extracting online information easier. To create a table, go to Insert > Table.

  4. With the cells still selected, go to the Data tab, and then click Stocks.

  5. If Excel finds a match between the text in the cells, and our online sources, it will convert your text to the Stocks data type. You'll know they're converted if they have this icon for stocks: Linked record icon for Stock.

  6. Select one or more cells with the data type, and the Add Column button will appear. Click that button, and then click a field name to extract more information. For example, for stocks you might pick Price.

  7. Click the Add Column button again to add more fields. If you're using a table, here's a tip: Type a field name in the header row. For example, type Change in the header row for stocks, and the change in price column will appear. Or type other field names like Last Trade Time, Previous Close, and Exchange.


  • To see all of the fields available for a company or fund, click the stock icon ( Linked record icon for Stock ) or select the cell and press Ctrl+Shift+F5.

  • If you see Question mark icon instead of an icon, then Excel is having a hard time matching your text with data in our online sources. Correct any spelling mistakes and when you press Enter, Excel will do its best to find matching information. Or, click Question mark icon and a selector pane will appear. Search for data using a keyword or two, choose the data you want, and then click Select.

  • You can also write formulas that reference data types or use the STOCKHISTORY function.

  • Stock information is delayed, provided "as-is", and is not for trading purposes or advice. See About our data sources for more information.

See also

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!