Pull Live Stock Prices Into Your Spreadsheet
You keep a portfolio or company-holdings tracker, and the share prices are stale the moment you type them — you want them to refresh themselves every time the file opens.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
GOOGLEFINANCE is a Google Sheets function that pulls market data from Google Finance: the first argument is the exchange-prefixed ticker, the second the attribute — "price" for the latest quote (delayed up to 20 minutes), or "high", "low", "marketcap", "pe" and others. Add dates for history: =GOOGLEFINANCE("NASDAQ:AAPL","price",DATE(2026,1,1),DATE(2026,6,30),"DAILY") spills a two-column table of dates and closing prices, ready for charting. It also does currencies — =GOOGLEFINANCE("CURRENCY:USDEUR") returns the live exchange rate, handy for valuing foreign-currency invoices. Excel has no GOOGLEFINANCE; typing it returns #NAME?. The Excel equivalent is the Stocks data type: type the ticker in a cell, choose Data > Stocks, and pull fields like Price from the linked record — a data feature driven from the ribbon, not a formula you can copy.
When to use it
Use it for a self-updating portfolio tracker, valuing company share holdings for a board pack, pulling exchange rates to convert foreign-currency invoices, or grabbing six months of price history to chart alongside your own sales data.
Common mistakes
Did this formula help?
Human-reviewedLast reviewed 2026-07-08