About GoogleFinance function() in Sheets

GoogleFinance is a function in Google Sheets which allows users to retrieve current or historical financial information about stock prices, currency exchange rates, and financial metrics. This is usable for investors, financial analysis and business owners to easy compare financial data in Sheets.

How use GoogleFinance() function?

To use the GoogleFinance function in Google Sheets, you need to enter the formula in a cell and specify the financial data you want to retrieve as the function’s argument. For example, to retrieve the current price of a stock, you can enter the following formula in a cell =GoogleFinance(“ticker symbol”, “price”).

Replace “ticker symbol” with the actual ticker symbol of the stock you want to look up, and “price” with the name of the data element you want to retrieve.

You can also specify a range of cells as the second argument to retrieve multiple data elements at once. You can then use the retrieved data in your spreadsheet to perform financial analysis or create reports. It’s also possible to use the GoogleFinance function to retrieve historical data by specifying a start and end date in the formula.

Sample use of GoogleFinance function:

How get price of Amazon stock in Google Sheets:

=GOOGLEFINANCE("NASDAQ:AMZN", "PRICE")

How get low52 of META stock in Google Sheets:

=GOOGLEFINANCE("NASDAQ:META", "LOW52")

How setup function to get data which you want

=GOOGLEFINANCE(ticker, [attribute], [start_date], [end_date|num_days], [interval])

Ticker

To find a ticker that works you should use Google Finance. Always is better to find what stock you want to see. After you must copy the name. In the image bellow, you could see Apple. Infamous stock for ticker could be just a name like “APPL” but if the sock is on European Stock Market then you must write ticker with a stock exchange ticket like “NASDAQ:APPL”

Basic attribute for stocks:

AttributeMeaning
priceReal-time price quote, delayed by up to 20 minutes.
priceopenThe price as of market open.
highThe current day’s high price.
lowThe current day’s low price.
volumeThe current day’s trading volume.
marketcapThe market capitalization of the stock.
tradetimeThe time of the last trade.
datadelayHow far delayed the real-time data is.
volumeavgThe average daily trading volume.
peThe price/earnings ratio.
epsThe earnings per share.
high52The 52-week high price.
low52The 52-week low price.
changeThe price change since the previous trading day’s close.
betaThe beta value.
changepctThe percentage change in price since the previous trading day’s close.
closeyestThe previous day’s closing price.
sharesThe number of outstanding shares.
currencyThe currency in which the security is priced. Currencies don’t have trading windows, so open, low, high, and volume won’t return for this argument.