Google Finance Excel Formulas: Pull Live Stock Data
In this article
Google Finance Excel formulas let you pull live stock prices, currency rates, and market data directly into your spreadsheet without manual entry. This saves time and ensures your financial models reflect real-time market conditions. To use these formulas, you need Microsoft Excel on Windows or Mac with an internet connection and the GOOGLEFINANCE function enabled — available in Excel 2016 and later versions on supported platforms. Note: Google Finance as a standalone service was discontinued in 2021, but the underlying data feed used by Excel’s GOOGLEFINANCE function remains active for now. Always verify data accuracy with official sources before making financial decisions.
What You'll Need
- Microsoft Excel 2016 or later (Windows or Mac)
- Active internet connection
- A Google account is not required
- Correct stock ticker symbols (e.g., AAPL for Apple, GOOGL for Alphabet)
Step-by-Step
- Open a new or existing Excel workbook and select the cell where you want the data to appear.
- Type the formula: =GOOGLEFINANCE("ticker_symbol") replacing "ticker_symbol" with the actual stock symbol in quotes. For example, =GOOGLEFINANCE("AAPL") retrieves Apple Inc.'s current stock price.
- Press Enter. Excel will fetch the latest price and display it in the cell. The data updates automatically every few minutes while Excel is open and connected to the internet.
- To get specific data points, add a second parameter. For example, =GOOGLEFINANCE("AAPL", "price") returns only the current price, =GOOGLEFINANCE("AAPL", "high") returns today’s high, and =GOOGLEFINANCE("AAPL", "volume") returns trading volume.
- For historical data, use the date range parameter: =GOOGLEFINANCE("AAPL", "price", DATE(2023,1,1), DATE(2023,12,31)) pulls daily closing prices for Apple between January 1 and December 31, 2023.
- To track multiple stocks, copy the formula down a column. Adjust the ticker symbol in each row: A2 = "AAPL", A3 = "MSFT", etc., then use =GOOGLEFINANCE(A2, "price") to reference the cell containing the symbol.
- To track currency pairs, use the format "CURRENCY:FROMTO". For example, =GOOGLEFINANCE("CURRENCY:USDEUR") returns the current USD to EUR exchange rate.
- To monitor a market index like the S&P 500, use =GOOGLEFINANCE("INDEX:SPX") or for the NASDAQ Composite, =GOOGLEFINANCE("INDEX:COMP").
- Format cells as currency or number by selecting them, right-clicking, choosing Format Cells, then selecting Currency or Number under the Number tab.
- Save your workbook. Excel will retain the formulas and reconnect to the data source when reopened, provided you’re online.
Common Mistakes
- Using incorrect ticker symbols — for example, "TSLA" works, but "Tesla" or "TSLA Inc." does not. Always use the official exchange symbol.
- Forgetting to wrap the ticker in quotes — =GOOGLEFINANCE(AAPL) will return an error. It must be =GOOGLEFINANCE("AAPL").
- Using unsupported data types — not all fields like "dividend" or "market_cap" are supported; stick to documented parameters: price, high, low, open, volume, close, change, and date.
- Assuming real-time data — the feed is delayed by 15–20 minutes, not live. For intraday trading, use a paid financial data service.
- Trying to use the formula in Excel Online or mobile apps — GOOGLEFINANCE is not supported in Excel for the web, iOS, or Android. Only desktop versions of Excel (Windows and Mac) support it.
- Not checking regional settings — if your system uses commas as decimal separators, some formulas may break. Use semicolons instead of commas in parameters if needed: =GOOGLEFINANCE("AAPL"; "price").
Tips
- Use named ranges for tickers: Select a column of stock symbols, go to Formulas > Define Name, create a name like "StockList", then reference it in your formula: =GOOGLEFINANCE(StockList, "price").
- Combine with other functions — use IFERROR to prevent #N/A errors: =IFERROR(GOOGLEFINANCE("AAPL"), "Data Unavailable").
- For charts, select your date and price columns, insert a line chart, and Excel will auto-update the chart as new data arrives.
- Use conditional formatting to highlight price changes — select your price column, go to Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format, and enter =B2>B1 (assuming B has prices) to highlight increases in green.
- Refresh manually by pressing Ctrl+Alt+F5 (Windows) or Cmd+Option+F5 (Mac) if automatic updates seem delayed.
- Store symbols in a separate sheet and link to them — this keeps your main analysis sheet clean and makes bulk updates easier.
Troubleshooting
- If you see #NAME? error, your Excel version doesn’t support GOOGLEFINANCE. Confirm you’re using Excel 2016 or later on Windows or Mac. Excel Online, mobile, or older versions do not support it.
- If you see #N/A, the ticker may be invalid or the data is temporarily unavailable. Double-check the symbol on Yahoo Finance or Google Finance’s archived site. Try a different symbol like "GOOGL" instead of "GOOG".
- If data stops updating, check your internet connection. Try switching networks or disabling VPNs or proxies that may block the data feed.
- If formulas return #VALUE! or #REF!, ensure your date format in historical queries is correct. Use DATE(year, month, day) — not text like "2023-01-01".
- Restart Excel. Sometimes the connection to Google’s servers times out and requires a full restart to reset.
- If nothing works, test with a simple formula like =GOOGLEFINANCE("CURRENCY:USDEUR") — if that works, your issue is with the stock symbol, not the function itself.
- Do not delete or reinstall Excel unless all other options fail; this is rarely necessary.