Stock Market Data in Google Sheets with MarketXLS

MarketXLS is a Google Sheets add-on that puts stock prices, option chains, financial statements, and technical indicators into cells with formulas such as =Last("AAPL"). Install it from the Google Workspace Marketplace; it runs in the browser on Mac, Windows, and Chromebook. US stock quotes are 15-minute delayed on the Standard plan and real-time on the Advanced and Business plans.

1,000+ Stock Market Functions for Google Sheets

MarketXLS for Google Sheets adds over 1,000 financial data functions to your spreadsheet, the same function library as the MarketXLS Excel add-in. Each function is a formula you type in a cell, like GOOGLEFINANCE.

Type =Last("AAPL") to get Apple's stock price. Type =hf_revenue("AAPL", 2024) to get Apple's annual revenue. Type =PERatio("AAPL") to get the P/E ratio. It is that simple.

Real-Time Stock Prices in Google Sheets

MarketXLS returns stock prices in Google Sheets for US and Canadian stocks and ETFs. Quote speed follows your MarketXLS plan: US stock quotes are 15-minute delayed on the Standard plan and real-time on the Advanced and Business plans. Google states that GOOGLEFINANCE quotes may be delayed up to 20 minutes.

Stock price functions include:

Financial Statements and Fundamental Data in Google Sheets

MarketXLS pulls income statement, balance sheet, and cash flow data into Google Sheets with hf_ functions that take a ticker and a fiscal year, such as =hf_revenue("AAPL", 2024). GOOGLEFINANCE does not return financial statement data.

Income Statement: =hf_revenue("AAPL", 2024), =hf_gross_profit("AAPL", 2024), =hf_ebit("AAPL", 2024), =hf_net_income("AAPL", 2024), =hf_earnings_per_diluted_share("AAPL", 2024), and dozens more.

Balance Sheet: =hf_total_assets("AAPL", 2024), =hf_total_debt("AAPL", 2024), =hf_cash_and_equivalents("AAPL", 2024), =hf_shareholders_equity("AAPL", 2024), and more.

Cash Flow: =hf_operating_cash_flow("AAPL", 2024), =hf_free_cash_flow("AAPL", 2024), =hf_capital_expenditures("AAPL", 2024), and more.

Key Statistics: =PERatio("AAPL"), =EBITDA("AAPL"), =Beta("AAPL"), =MarketCap("AAPL"), =BookValue("AAPL"), and many more key ratios.

Options Data and Greeks in Google Sheets

MarketXLS brings option chains, Greeks, and implied volatility into Google Sheets with formulas. GOOGLEFINANCE has no options data. Options data is end-of-day on the Standard plan and real-time on the Advanced and Business plans.

Options Chain: Use =QM_GetOptionChain("AAPL") to pull the full options chain directly into Google Sheets, including bid, ask, volume, open interest, and implied volatility for every strike and expiration.

Options Greeks: Get delta, gamma, theta, vega, and rho for an option contract, to measure risk and build strategies in your spreadsheet.

Put/Call Analytics: Track put/call volume ratios, open interest ratios, and historical implied volatility trends for any stock.

Pricing Models: Black-Scholes functions such as =BlackScholesOptionValueWithUserInputs calculate theoretical option values from your own inputs.

Learn more about options analytics on our Options Profit Calculator and Option Scanner pages.

Technical Indicators in Google Sheets

Run technical analysis directly in Google Sheets with MarketXLS. Calculate moving averages, RSI, MACD, Bollinger Bands, and more using simple formulas. No scripts, no Apps Script code, no third-party APIs needed.

  • =SimpleMovingAverage("AAPL", 20) for 20-day Simple Moving Average
  • =ExponentialMovingAverage("AAPL", 12) for 12-day Exponential Moving Average
  • =RSI("AAPL") for Relative Strength Index
  • =MACD("AAPL") for MACD values
  • =BollingerBand("AAPL", 20) for Bollinger Bands
  • =AverageTrueRange("AAPL") for Average True Range
  • =VWAP("AAPL") for Volume Weighted Average Price
  • =Stochastic("AAPL") for Stochastic Oscillator
  • =OBV("AAPL") for On-Balance Volume
  • =ROC("AAPL") for Rate of Change

Portfolio Analytics in Google Sheets

MarketXLS portfolio functions turn a Google Sheet into a portfolio tracker that calculates risk metrics and performance for your holdings.

MarketXLS includes portfolio-level analytics functions for calculating Sharpe ratio, Sortino ratio, Treynor ratio, Jensen's Alpha, Value at Risk, maximum drawdown, beta, correlation, and covariance. These functions help you measure risk-adjusted performance and optimize your portfolio allocation directly in Google Sheets.

Stock Screener in Google Sheets

Screen stocks directly from Google Sheets using MarketXLS screener functions. Filter thousands of stocks by dividends, value, growth, momentum, and custom criteria. You can also pull S&P 500 components, NASDAQ 100 components, top gainers, top losers, and most active stocks with a single formula.

MarketXLS includes built-in screener functions that return lists of stocks matching specific criteria. Screen for high dividend yield stocks, undervalued stocks, high growth stocks, momentum stocks, and more. You can also pull S&P 500 components, NASDAQ 100 components, top gainers, top losers, and most active stocks with a single formula. Use the MarketXLS Stock Screener on our website for even more advanced filtering with 1,000+ metrics.

Dividend Data in Google Sheets

Track dividend stocks in Google Sheets with MarketXLS dividend functions. Get dividend yield, dividend per share, ex-dividend dates, payout ratios, and dividend history for any US or Canadian stock.

Earnings Estimates in Google Sheets

Access Wall Street earnings estimates and consensus data in Google Sheets. Track analyst estimates, earnings surprises, and forward guidance for any stock.

  • Consensus EPS estimates
  • Number of analyst estimates
  • Revenue estimates
  • Earnings surprise history
  • Forward earnings data

GOOGLEFINANCE vs MarketXLS for Google Sheets

The built-in GOOGLEFINANCE function is free and works for basic stock price lookups. MarketXLS is a paid add-on that covers statements, options, indicators, and screening. The table compares the two.

FeatureMarketXLS for Google SheetsGOOGLEFINANCE
Total Functions1,000+15 to 20 attributes
Stock PricesBid/ask quotes; real-time on Advanced and Business, 15-min delayed on StandardMay be delayed up to 20 minutes
Options DataFull chains, Greeks, pricing modelsNone
Financial StatementsIncome statement, balance sheet, and cash flow by fiscal yearNone (P/E, EPS, and market cap only)
Technical IndicatorsSMA, EMA, RSI, MACD, Bollinger, ATR, VWAPNone
Portfolio AnalyticsSharpe, Sortino, VaR, Beta, Max DrawdownNone
Stock ScreenerBuilt-in screener functionsNone
Dividend DataYield, ex-date, payout ratio, historyNone
Earnings EstimatesConsensus estimates, analyst countsNone
ETF DataHoldings, categories, low-cost screeningBasic price only
Data ReliabilityLicensed data; quotes from QuoteMediaProvided as is, not for trading purposes (per Google)
SupportDedicated support teamGoogle Docs Editors Help

For a detailed comparison, see our MarketXLS vs Google Finance page.

How to Get Stock Market Data in Google Sheets

Step 1: Install the Add-on

Get MarketXLS from the Google Workspace Marketplace. Click Install and grant the required permissions. It takes less than a minute.

Step 2: Sign In

Choose a plan on the pricing page. Then open Extensions > MarketXLS > Open Sidebar, click Login and sign in with your MarketXLS website email and password. No license key is needed.

Step 3: Start Using Functions

Type =Last("AAPL") in any cell to get your first stock price. Explore the full function library for all 1,000+ available functions.

Get Access to 1 Billion Usable Market data points IN YOUR EXCEL SHEETS WITH EASY TO USE EXCEL FUNCTIONS

Get started today

Who Uses MarketXLS for Google Sheets

  • Financial Advisors and RIAs who need reliable stock data in Google Sheets for client reports and portfolio analysis. Google Sheets makes it easy to share live dashboards with clients.
  • Options Traders who need options chains, Greeks, implied volatility, and pricing models in a spreadsheet.
  • Dividend Investors who want to track dividend yield, ex-dates, payout ratios, and screen for high-yield stocks directly in Google Sheets.
  • Active Traders who rely on technical indicators like RSI, MACD, and Bollinger Bands for trade decisions and want this data in their Google Sheets dashboards.
  • Portfolio Managers who need professional risk analytics like Sharpe ratio, Value at Risk, and correlation analysis in a collaborative spreadsheet.
  • Chromebook users and Google Workspace teams who work in Google Sheets rather than Excel. (Mac users can also use MarketXLS in Excel through the Microsoft 365 add-in.)

Prefer Excel? Explore the MarketXLS Excel add-in or read the Excel Online installation guide.

Frequently asked questions

Call: 1-877-778-8358
Ankur Mohan MarketXLS
I'm Ankur, the founder and CEO of MarketXLS. Our team can demonstrate how MarketXLS brings market data and research tools into Excel.

Book a demo with our team to explore the features and workflows relevant to your research.
Implement "your own" investment strategies in Excel with thousands of MarketXLS functions and templates.
I use MarketXLS to manage my personal portfolio. I can easily pull in stock quotes, betas, and dividends. I also like to access historical closing prices on a particular date. That makes tracking performance easy.

Patrick Cusatis, Ph.D., CFA

•

Associate Professor of Finance, Penn State University

I have used lots of stock and option information services. This is the only one which gives me what I need inside Excel.

Lloyd L.

•

Professional Trader

I can now concentrate on manipulating financial data, valuing stocks and making investment decisions, rather than hacking around with VBA or copying and pasting data from websites.

Samir Khan

•

InvestExcel.net

I have been using MarketXLS for the last 6+ years and they really enhanced the product every year.

Kirubakaran K.

•

Investment Professional

I Love My MarketXLS. The market speaks to you when you know how to listen. With MarketXLS, the market truly does speak. Patterns emerge. Pricing behavior becomes clearer.

Don Zelezny

•

Entrepreneur & Options Trader