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's in this guide
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.
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
- 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.
| Market | Format | Example |
|---|---|---|
| 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.
| Attribute | Returns | Availability |
|---|---|---|
"price" | Current market price (delayed) | Live |
"priceopen" | Opening price | Live |
"high" | Current day's high | Live |
"low" | Current day's low | Live |
"volume" | Current day's volume | Live |
"marketcap" | Market capitalization | Live |
"tradetime" | Time of last trade | Live |
"datadelay" | Data delay in minutes | Live |
"volumeavg" | Average daily volume | Live |
"pe" | Price/earnings ratio | Live |
"eps" | Earnings per share | Live |
"high52" | 52-week high | Live |
"low52" | 52-week low | Live |
"change" | Absolute price change from previous close | Live |
"changepct" | Percentage price change from previous close | Live |
"beta" | Beta (volatility relative to market) | Live |
"shares" | Number of outstanding shares | Live |
"currency" | Currency the price is quoted in | Live |
"closeyest" | Previous day's closing price | Live |
"close" | Closing price | Historical only |
"open" | Opening price | Historical only |
"all" | All fields (open, high, low, close, volume) | Historical only |
Live stock price patterns
=GOOGLEFINANCE("AAPL", "price")
=GOOGLEFINANCE("AAPL", "changepct")
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")
Historical data patterns
The 5-argument form pulls a time series. Result spills as a two-column array (date + value).
=GOOGLEFINANCE("AAPL", "price", DATE(2025,1,1), DATE(2025,12,31), "DAILY")
=GOOGLEFINANCE("AAPL", "price", TODAY()-1825, TODAY(), "WEEKLY")
=GOOGLEFINANCE("AAPL", "all", DATE(2026,1,1), DATE(2026,9,30), "DAILY")
=SPARKLINE(GOOGLEFINANCE("AAPL", "price", TODAY()-90, TODAY(), "DAILY"))
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.
=GOOGLEFINANCE("CURRENCY:USDGBP")
=1000 * GOOGLEFINANCE("CURRENCY:USDGBP")
=GOOGLEFINANCE("CURRENCY:USDGBP", "price", DATE(2025,1,1), DATE(2026,1,1), "WEEKLY")
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
=GOOGLEFINANCE("MUTF:VFIAX", "price")
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.
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"))
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
| Error | Cause | Fix |
|---|---|---|
#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
| Feature | GOOGLEFINANCE | Paid APIs (Alpha Vantage, Polygon, IEX) |
|---|---|---|
| Cost | Free | $0-500+/month |
| Setup | Just a formula | API keys, Apps Script |
| Delay | 15-20 minutes | Real-time or seconds |
| Historical depth | ~40 years for major stocks | Varies; often decades |
| Reliability | Good but occasional gaps | SLA-backed |
| Attributes covered | 22 | Hundreds |
| International markets | Yes, many | Yes, comprehensive |
| Options, futures, bonds | Limited to none | Full 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.
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.