Yes, you can pull live stock prices, currency rates and historical quotes into a spreadsheet that updates itself. One important clarification up front: the famous GOOGLEFINANCE function works in Google Sheets, not in Microsoft Excel. In Excel, the equivalent is the built-in Stocks data type and the STOCKHISTORY function, available with a Microsoft 365 subscription. This guide covers both routes so you can pick the one that fits the software you already use.

What You'll Need

  • A free Google account (for the Google Sheets method), or
  • Microsoft Excel with a Microsoft 365 subscription (for the Stocks data type and STOCKHISTORY functions)
  • An internet connection, since both methods fetch data live
  • Your list of ticker symbols (for example AAPL, MSFT, GOOGL) or currency pairs (for example USDGBP)

Step-by-Step

Method 1: Google Sheets with GOOGLEFINANCE

  1. Go to sheets.google.com and open a blank spreadsheet.
  2. In cell A1, type a ticker symbol such as AAPL. For exchanges outside the US, add the exchange prefix, for example LON:VOD or NASDAQ:AAPL.
  3. In cell B1, type =GOOGLEFINANCE(A1,"price") and press Enter. The current share price appears, usually delayed up to 20 minutes.
  4. Add more attributes in the neighbouring columns: =GOOGLEFINANCE(A1,"name"), =GOOGLEFINANCE(A1,"change") (the day's price move), =GOOGLEFINANCE(A1,"changepct") (the percentage move) and =GOOGLEFINANCE(A1,"marketcap").
  5. Copy the formulas down alongside your full list of tickers in column A.
  6. For exchange rates, use a currency pair instead of a ticker: =GOOGLEFINANCE("CURRENCY:USDGBP") returns the USD to GBP rate.
  7. For historical data, use the syntax with a start and end date: =GOOGLEFINANCE(A1,"price",DATE(2024,1,1),DATE(2024,12,31),"DAILY"). The optional last argument accepts DAILY or WEEKLY and spills a small table of dates and prices.
  8. Save the file. Google Sheets stores everything in your Drive automatically, and the values refresh on their own, roughly every few minutes while the sheet is open.

Method 2: Microsoft Excel with Stocks data types

  1. Open a blank workbook and type your ticker symbols into column A, one per cell.
  2. Select those cells, then go to the Data tab and choose Stocks in the Data Types group. Exact labels can differ slightly between Excel versions, so if you do not see Stocks on the Data tab, use the search box in the Data Types gallery.
  3. Excel converts each cell to a stock data type, shown by a small building icon. If it cannot match a symbol, a question mark appears; click it and pick the right company from the list.
  4. Select a converted cell, then click the Insert Data button that appears to the right of the cell (or press Ctrl+Shift+F5). Choose Price to add the current price in the next column. Repeat for fields such as Change, % Change and Market Cap, or pick several fields at once.
  5. Alternatively, extract a field with a formula: =A1.Price returns the price for the stock in A1, and you can copy it down.
  6. For historical prices, use a formula in an empty area: =STOCKHISTORY("AAPL",DATE(2024,1,1),DATE(2024,12,31)). It spills a table with a date and close price per trading day. Optional extra arguments let you ask for weekly intervals or extra columns such as open, high and low, in the order =STOCKHISTORY(stock,start,end,interval,headers,properties).
  7. To refresh prices, go to Data > Refresh All. Excel does not update stock prices continuously; it refreshes on this command and when the workbook opens.

Common Mistakes

  • Typing GOOGLEFINANCE into Excel. It only exists in Google Sheets. In Excel you will get a #NAME? error; use Stocks data types and STOCKHISTORY instead.
  • Missing exchange prefixes. A bare ticker may match the wrong listing or none at all. Use forms like LON:, XETR: or TSE: for non-US exchanges.
  • Quoting dates as text. In STOCKHISTORY and GOOGLEFINANCE historical formulas, dates must be real dates (use DATE() or valid date cells), not strings like "Jan 2024".
  • Expecting real-time prices. Both services show delayed quotes, typically up to 20 minutes, so they are unsuitable for timing exact trades.
  • Wrong attribute names. GOOGLEFINANCE attributes must be lowercase and exact; "Price" or "Price %" will return an error while "changepct" works.

Tips

  • Wrap change percentages in a percentage format: in Sheets, =GOOGLEFINANCE(A1,"changepct")/100 with the cell formatted as a percent reads cleanly.
  • Build a simple portfolio tracker: columns for ticker, shares owned, price and a formula like =B2*C2 for position value, with =SUM() at the bottom for the total.
  • Historical tables from both functions spill into neighbouring cells, so leave empty space below and to the right or you will get a spill error in Excel.
  • Combine both worlds: import a Sheets file into Excel via Data > Get Data > From Web pointing at the published sheet, or simply keep the tracker in Sheets and use it from any browser.
  • Add conditional formatting (red for negative change, green for positive) to read the sheet at a glance.

Troubleshooting

  • #NAME? or #ERROR! in Sheets: check the ticker and attribute spelling, and confirm you are signed in with an internet connection. Try the simplest possible formula, =GOOGLEFINANCE("AAPL","price"), to isolate the problem.
  • N/A values: some attributes are simply unavailable for certain exchanges or times; the market being closed can also limit fields. Remove that attribute or try after market hours.
  • Stocks button greyed out or missing in Excel: the data type needs Microsoft 365 and an internet connection; perpetual-licence versions of Excel do not include it.
  • Wrong company matched in Excel: click the icon in the cell, delete the suggested match and select the correct one, or type the ticker with its exchange, e.g. LON:VOD.
  • STOCKHISTORY returns #VALUE!: check that the start date comes before the end date, that both are real dates, and that the date range is not decades long, which the function refuses.
  • Data not refreshing in Excel: run Data > Refresh All; if that fails, close and reopen the workbook, then check your connection.

Frequently Asked Questions

Can I use GOOGLEFINANCE in Excel?

No. GOOGLEFINANCE is a Google Sheets function only. In Excel, use the Stocks data type on the Data tab for current data and STOCKHISTORY for historical prices.

Are the prices real-time?

No. Both Google Finance in Sheets and Excel's stock data are delayed, typically by up to 20 minutes. They are fine for tracking portfolios but not for precise trade timing.

Does it work for crypto?

Partly. Google Sheets can fetch some cryptocurrency pairs through GOOGLEFINANCE using symbols like BTCUSD. Excel's Stocks data type does not cover crypto.

How far back can historical data go?

GOOGLEFINANCE historical data generally reaches back about as far as the provider holds records, and STOCKHISTORY works for dates from recent years onward; very old ranges may fail or return fewer rows.

Is any of this official financial advice or a feed for trading?

No. Treat both as convenient reference data for personal tracking. For trading decisions, use your broker's official quotes.