Google Finance, while no longer offering direct historical data downloads, still provides a valuable feed for Excel users looking for real-time market information. Leveraging Google Sheets as an intermediary allows you to pull up-to-date stock quotes, currency exchange rates, and other financial data directly into your Excel spreadsheets.
The core of this process lies in the GOOGLEFINANCE
function within Google Sheets. This function accepts a ticker symbol (e.g., “GOOG” for Google) and various attributes (e.g., “price”, “high”, “low”, “volume”) as arguments. For example, =GOOGLEFINANCE("GOOG","price")
will fetch the current price of Google stock.
To get this data into Excel, you’ll use Excel’s data connection features. First, create a Google Sheet populated with GOOGLEFINANCE
formulas. For ease of use, organize the data in a tabular format, with ticker symbols in one column and corresponding attributes (price, volume, etc.) in adjacent columns.
Next, in Excel, navigate to the “Data” tab and select “Get Data” -> “From Other Sources” -> “From Web”. In the URL field, paste the “Publish to the web” link for your Google Sheet. (In Google Sheets, go to “File” -> “Share” -> “Publish to the web”). Choose the specific sheet you want to import, and make sure to publish as a CSV format or a webpage.
Excel’s Power Query Editor will open, allowing you to preview and transform the data. You might need to adjust data types (e.g., converting text to numbers) and remove unnecessary columns or rows. Once you’re satisfied, click “Close & Load” to import the data into your Excel worksheet.
To keep the data up-to-date, configure Excel to refresh the connection automatically. In the “Data” tab, click “Connections” then select your web connection. In the connection properties, you can set a refresh interval (e.g., every 5 minutes). This ensures your Excel spreadsheet always displays the latest market information from Google Finance via your Google Sheet.
Keep in mind some limitations. The GOOGLEFINANCE
function in Google Sheets might have delays in its data updates (often around 20 minutes). Also, the function is subject to usage limits; excessive requests might result in temporary blocking. It’s also important to note that historical data retrieval is limited using this method; the GOOGLEFINANCE
function has specific limitations on date ranges.
While not a direct feed from Google Finance to Excel, this method provides a practical workaround for leveraging Google’s market data within your Excel spreadsheets for real-time tracking and analysis. It requires a Google account and an understanding of both GOOGLEFINANCE
syntax and Excel’s data connection capabilities.