Written by Allen Wyatt (last updated July 19, 2022)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365
For years Jack has used the Yahoo! Finance API to import stock information into his worksheets. Now that service has gone away. Jack figures he can't be alone in needing to get stock information into his Excel worksheets, so he is wondering if there other services that folks with similar needs can suggest.
There are a few ways that the loss of the Yahoo! Finance data could be approached. If you need just current prices, one approach is to rely on Google Sheets where you can use the GoogleFinance function to get a number of financial statistics. Once they are in a Sheets worksheet, you can then copy and paste them into your Excel worksheet.
There are also other sites that provide data and include an API. You might need to write your own code to access the data through the API, but it is available. Here are two sites to check out:
https://www.alphavantage.co/ https://www.quandl.com/
If you poke around on the sites, you may find that some data is offered in Excel format, as well.
One subscriber suggested the following site as a possibility:
http://investexcel.net/multiple-stock-quote-downloader-for-excel/
You may want to poke around in the comments on the page, as some seem to indicate some trouble in getting the financial information they desired.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (5223) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
When you are using Excel, it can be frustrating to receive a cryptic error message that indicates the program cannot ...
Discover MoreWe all expect the keyboard keys to operate as normal, and when they don't, it can be bothersome. Geraldine had such a ...
Discover MorePress Enter when working in a workbook and Excel moves to a cell adjacent to the one in which you were working. If you ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2022-07-20 08:18:29
Mike Martin
Another source for quotes is https://rapidapi.com
2022-07-19 13:38:56
Paul
You could try using the Stocks data type (on the Data tab of the Ribbon) to get basic stock information
2018-01-13 09:02:12
Greg B
Actually the Yahoo!Finance API is not dead ... it is just changed and Yahoo will not acknowledge it or support any attempt to resurrect the old methodology.
Take a look at: http://www.signalsolver.com/download-historical-stock-price-data-excel/
I have modified his code for my purposes but it does work, not as seamlessly as before, ie, I have found that simply entering 1/1/1950 as the starting date may not get you all dates of a particular stock so you might have to look on Yahoo!Finance to see what is available.
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2023 Sharon Parq Associates, Inc.
Comments