GOOGLEFINANCE Function in Google Sheets — Complete Guide (2026)
Home› Google Sheets› Functions› GOOGLEFINANCE
Google Sheets Only Complete Guide

GOOGLEFINANCE — Complete Guide

GOOGLEFINANCE pulls live financial data straight into your sheet. Stock prices, currency exchange rates, mutual fund NAVs, historical time series — all with a single function, no API keys, no paid data feed. It's Sheets' one-of-a-kind function; Excel has nothing quite like it. This guide covers every attribute, the 15-minute delay you need to know about, portfolio-tracking patterns, currency conversion, historical data, common errors, and where GOOGLEFINANCE fits vs a proper financial data API.

⚡ Quick Answer

GOOGLEFINANCE has two forms. Live data: =GOOGLEFINANCE("AAPL", "price") returns the current price (15-20 min delay). Historical data: =GOOGLEFINANCE("AAPL", "price", DATE(2025,1,1), DATE(2026,1,1), "DAILY") returns a two-column array of dates and prices. Works only in Google Sheets (not Excel). Covers stocks, mutual funds, and currencies. Data is sourced from Google Finance and is delayed — don't use for trading decisions requiring real-time pricing.

What GOOGLEFINANCE does

GOOGLEFINANCE is a Sheets-native function that returns financial data from Google Finance. In a single formula call you get a stock price, currency conversion rate, market cap, trading volume, or a historical time series. Data is sourced from Google's own Finance service — no API keys, no external subscriptions, no third-party integrations.

Because it fetches live data, GOOGLEFINANCE is what makes portfolio trackers, watchlists, and personal-finance dashboards easy to build in Sheets. Type a ticker in column A, put =GOOGLEFINANCE(A2, "price") in column B, and you have a live portfolio.

Sheets only — not available in Excel

GOOGLEFINANCE is exclusive to Google Sheets. Excel has similar functionality through Stock Data Types (Microsoft 365) and Power Query financial connectors, but they work differently. If you need cross-platform financial data, plan for both approaches.

Syntax and forms

Live data (short form) GOOGLEFINANCE(ticker, [attribute])
Historical data (long form) GOOGLEFINANCE(ticker, attribute, start_date, [end_date|num_days], [interval])
  • ticker — the security identifier, optionally prefixed with exchange (e.g., "NASDAQ:GOOGL")
  • attribute — what data to return: "price" (default), "volume", "marketcap", and 19 more
  • start_date — beginning of historical range
  • end_date — end of historical range, OR a number of trading days from start
  • interval — "DAILY" (default) or "WEEKLY"

Ticker formats for every market

US-listed stocks work with just the ticker: "AAPL", "MSFT", "GOOGL". For international stocks, you need the exchange prefix.

MarketFormatExample
US (NYSE, NASDAQ)"TICKER" or "NYSE:TICKER""AAPL"
London (LSE)"LON:TICKER""LON:BARC"
Toronto (TSX)"TSE:TICKER""TSE:SHOP"
Tokyo"TYO:TICKER""TYO:7203"
Frankfurt"FRA:TICKER""FRA:SAP"
Hong Kong"HKG:TICKER""HKG:0700"
India (NSE)"NSE:TICKER""NSE:RELIANCE"
Currency"CURRENCY:XXXYYY""CURRENCY:USDGBP"
Mutual funds"MUTF:TICKER""MUTF:VFIAX"
ETFs"TICKER" (same as stocks)"SPY"

All 22 attributes

GOOGLEFINANCE supports 22 different attributes. Most useful ones highlighted; full list for reference.

AttributeReturnsAvailability
"price"Current market price (delayed)Live
"priceopen"Opening priceLive
"high"Current day's highLive
"low"Current day's lowLive
"volume"Current day's volumeLive
"marketcap"Market capitalizationLive
"tradetime"Time of last tradeLive
"datadelay"Data delay in minutesLive
"volumeavg"Average daily volumeLive
"pe"Price/earnings ratioLive
"eps"Earnings per shareLive
"high52"52-week highLive
"low52"52-week lowLive
"change"Absolute price change from previous closeLive
"changepct"Percentage price change from previous closeLive
"beta"Beta (volatility relative to market)Live
"shares"Number of outstanding sharesLive
"currency"Currency the price is quoted inLive
"closeyest"Previous day's closing priceLive
"close"Closing priceHistorical only
"open"Opening priceHistorical only
"all"All fields (open, high, low, close, volume)Historical only

Live stock price patterns

Current stock price
=GOOGLEFINANCE("AAPL", "price")
Simplest form. Returns current Apple stock price with 15-20 minute delay during market hours.
Price change since previous close
=GOOGLEFINANCE("AAPL", "changepct")
Percentage change from yesterday's close. Positive for gains, negative for losses. Format cell as percentage.
Multiple attributes with a helper column
Column A (ticker): AAPL, MSFT, GOOGL
Column B (price):  =GOOGLEFINANCE(A2, "price")
Column C (change): =GOOGLEFINANCE(A2, "changepct")
Column D (52w high): =GOOGLEFINANCE(A2, "high52")
Column E (market cap): =GOOGLEFINANCE(A2, "marketcap")
Standard watchlist pattern. Drag formulas down; add tickers to column A; everything updates automatically.

Historical data patterns

The 5-argument form pulls a time series. Result spills as a two-column array (date + value).

Daily prices for all of 2025
=GOOGLEFINANCE("AAPL", "price", DATE(2025,1,1), DATE(2025,12,31), "DAILY")
Returns a two-column array: dates in column 1, closing prices in column 2. ~252 rows (trading days).
Weekly prices for the last 5 years
=GOOGLEFINANCE("AAPL", "price", TODAY()-1825, TODAY(), "WEEKLY")
TODAY()-1825 is approximately 5 years ago. Result updates every time the sheet recalculates.
All OHLCV data
=GOOGLEFINANCE("AAPL", "all", DATE(2026,1,1), DATE(2026,9,30), "DAILY")
Returns six columns: date, open, high, low, close, volume. Full OHLCV data suitable for charting or technical analysis.
Historical data with SPARKLINE
=SPARKLINE(GOOGLEFINANCE("AAPL", "price", TODAY()-90, TODAY(), "DAILY"))
Inline mini-chart of the last 90 days of prices — right inside a single cell. Great for compact watchlists.

Currency conversion

Currency conversion is one of GOOGLEFINANCE's most common uses because it's dead simple and there's no free equivalent this reliable.

Current USD to GBP rate
=GOOGLEFINANCE("CURRENCY:USDGBP")
Returns the exchange rate. Multiply a USD amount by this to get GBP.
Convert $1,000 USD to GBP
=1000 * GOOGLEFINANCE("CURRENCY:USDGBP")
Simple direct conversion. Cell updates as the exchange rate changes throughout the day.
Historical exchange rate
=GOOGLEFINANCE("CURRENCY:USDGBP", "price", DATE(2025,1,1), DATE(2026,1,1), "WEEKLY")
Weekly USD/GBP rates for the past year. Chart it for a currency trend view.
Currency format is XXXYYY

Always base currency (XXX) then quote currency (YYY), no separator: USDGBP, EURJPY, PKRUSD. The result is "how many YYY per 1 XXX." No spaces, no slashes, no dashes.

Mutual funds and crypto

Mutual funds

Mutual fund NAV
=GOOGLEFINANCE("MUTF:VFIAX", "price")
Vanguard 500 Index Fund. The MUTF: prefix identifies the security as a mutual fund. Fewer attributes work for funds than stocks — try "closeyest" and "changepct" if "price" is unreliable.

Cryptocurrency

GOOGLEFINANCE's crypto support is inconsistent and Google has historically added and removed crypto tickers without warning. For reliable crypto data, use a dedicated crypto API through Apps Script.

Portfolio tracking template

The canonical GOOGLEFINANCE workflow: a portfolio tracker where you enter shares purchased and cost basis, and the sheet computes current value, gain/loss, and portfolio percentage.

Portfolio tracker columns
A: Ticker
B: Shares
C: Cost basis per share
D: Current price       =GOOGLEFINANCE(A2, "price")
E: Current value       =B2 * D2
F: Total cost          =B2 * C2
G: Gain/loss           =E2 - F2
H: Gain/loss %         =(E2 - F2) / F2
I: % of portfolio      =E2 / SUM($E$2:$E)
J: 90-day trend        =SPARKLINE(GOOGLEFINANCE(A2, "price", TODAY()-90, TODAY(), "DAILY"))
Copy this structure into a fresh sheet, add rows for each holding, and you have a live portfolio. The whole thing recalculates every time the sheet opens or refreshes.

The 15-20 minute delay

GOOGLEFINANCE data is delayed. This matters:

  • Not usable for day trading. A 20-minute-old price is not a tradable price during volatile market conditions.
  • Fine for personal portfolio tracking. If you check your portfolio once a day, the delay is invisible.
  • Fine for currency conversion. Exchange rates move slowly enough that 20 minutes rarely matters for accounting or invoicing use cases.
  • Ambiguous for weekly/monthly reports. The delayed price is close enough to a snapshot to serve most reporting needs; verify against a closing price for month-end statements.

Check the actual delay for any security with =GOOGLEFINANCE("AAPL", "datadelay"). Returns delay in minutes.

Common errors and fixes

ErrorCauseFix
#N/A Wrong ticker or unavailable attribute Try =GOOGLEFINANCE("TICKER") without an attribute to verify the ticker resolves
#N/A on international stock Missing exchange prefix Add exchange: "LON:BARC", "TSE:SHOP", etc.
Loading... Sheet is still fetching data Wait 5-10 seconds; if persists, refresh the sheet
Stale data Sheet hasn't recalculated Ctrl+R to refresh; or add a volatile function like NOW() as a dependency
#REF! on historical query Output would overwrite data Clear cells below the formula to allow the array to spill
Wrong currency Some tickers return prices in local currency Check with =GOOGLEFINANCE("TICKER", "currency")

GOOGLEFINANCE vs paid financial APIs

FeatureGOOGLEFINANCEPaid APIs (Alpha Vantage, Polygon, IEX)
CostFree$0-500+/month
SetupJust a formulaAPI keys, Apps Script
Delay15-20 minutesReal-time or seconds
Historical depth~40 years for major stocksVaries; often decades
ReliabilityGood but occasional gapsSLA-backed
Attributes covered22Hundreds
International marketsYes, manyYes, comprehensive
Options, futures, bondsLimited to noneFull coverage

Use GOOGLEFINANCE for: personal portfolio tracking, watchlists, currency conversion in invoices, dashboards checked daily, learning about market data.

Move to a paid API for: trading systems, algorithmic strategies, options/futures/bonds data, minute-level historical data, professional dashboards with SLA requirements.

Formula Generation

Sheets Wizard — build portfolio trackers faster

"Build me a portfolio tracker with columns for ticker, shares, cost basis, current price, gain/loss, and a 90-day sparkline" — Sheets Wizard scaffolds the whole structure with working GOOGLEFINANCE formulas. Handles the tricky bits (currency detection, historical ranges, sparkline nesting) so you start from a working sheet.

Also great for ticker validation — flags tickers that need an exchange prefix before you hit #N/A.

Install Sheets Wizard →

Frequently asked questions

What does GOOGLEFINANCE do?

GOOGLEFINANCE pulls live and historical financial data directly into Google Sheets — stock prices, currency exchange rates, mutual fund NAVs, market cap, volume, and dozens of other attributes. It works only in Google Sheets (not Excel), sources data from Google Finance, and updates on a 15-20 minute delay for live data. It's the fastest way to build a portfolio tracker, currency converter, or watchlist without needing an API or paid data feed.

Is GOOGLEFINANCE real-time?

No — GOOGLEFINANCE data is delayed by approximately 15-20 minutes for stock prices during market hours. This makes it suitable for portfolio tracking, personal watchlists, and rough dashboards. It's not suitable for day trading, algorithmic execution, or anything where sub-minute latency matters. For real-time data you'd need a paid API feed like Alpha Vantage, Polygon, or IEX Cloud.

How do I get historical stock prices with GOOGLEFINANCE?

Use the 5-argument form: =GOOGLEFINANCE("NASDAQ:GOOGL", "price", DATE(2025,1,1), DATE(2026,1,1), "WEEKLY"). Arguments are ticker, attribute, start date, end date, and interval ("DAILY" or "WEEKLY"). The result is a two-column array (date and price) that spills across multiple rows. Combine with FILTER, QUERY, or SPARKLINE for analysis and visualization.

Does GOOGLEFINANCE work in Excel?

No. GOOGLEFINANCE is exclusive to Google Sheets. Excel has similar functionality via Stock data types (Data → Data Types → Stocks in Microsoft 365) and Power Query with financial data connectors. For most personal finance and portfolio-tracking use cases, GOOGLEFINANCE in Sheets is faster to set up than the Excel equivalent.

Can GOOGLEFINANCE convert currencies?

Yes: =GOOGLEFINANCE("CURRENCY:USDGBP") returns the current USD to GBP exchange rate. For historical rates use the 5-argument form: =GOOGLEFINANCE("CURRENCY:USDGBP", "price", DATE(2025,1,1), DATE(2026,1,1), "DAILY"). This is one of the most common uses because it's dead simple and updates automatically — no API keys, no third-party services.

Why is GOOGLEFINANCE returning #N/A?

Most common causes: (1) wrong ticker format — international stocks need exchange prefix like "LON:BARC" for London Stock Exchange. (2) The attribute isn't available for that security — some attributes work only for stocks, not mutual funds or currencies. (3) Market is closed and cached data has expired. (4) Google Finance has stopped tracking that security. Try the base ticker without an attribute first: =GOOGLEFINANCE("AAPL") to confirm the ticker resolves.