GOOGLEFINANCE(ticker, [attribute], [start_date], [end_date|num_days], [interval])One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
ticker:
The stock symbol or ticker of the company you want to retrieve financial data for, enclosed in quotation marks (e.g., "GOOG").
attribute:
The specific financial metric you want to retrieve, such as "price", "volume", or "marketcap". This is optional and defaults to "price".
start_date:
The date from which you want to start retrieving historical data, formatted as a date or a string (e.g., "2023-01-01"). This is optional.
end_date|num_days:
The date until which you want to retrieve historical data or the number of days from the start_date to retrieve data for. This is optional.
interval:
The frequency of the data points you want to retrieve, such as "DAILY" or "WEEKLY". This is optional and defaults to "DAILY".
The GOOGLEFINANCE function in Google Sheets is a powerful tool that allows users to retrieve real-time financial data from Google Finance. This function can be used to pull information such as stock prices, historical data, currency exchange rates, and more, directly into your spreadsheet. It is particularly useful for investors, analysts, and anyone interested in tracking financial markets.
In simpler terms, GOOGLEFINANCE enables you to access and display financial data without having to manually search for it, making it a valuable resource for financial analysis and decision-making.
Imagine you are tracking the stock prices of a few companies in your Google Sheets:
| Ticker Symbol | Company Name | Current Price |
|---|---|---|
| GOOG | Alphabet Inc | |
| AAPL | Apple Inc | |
| MSFT | Microsoft Corp |
You want to automatically populate the current stock prices for these companies.
To achieve this, you would use the GOOGLEFINANCE function as follows:
=GOOGLEFINANCE(A2, "price")In this formula:
A2 is the cell containing the Ticker Symbol (e.g., GOOG)."price" is the attribute you want to retrieve, which in this case is the current stock price.When you apply the GOOGLEFINANCE formula to the Stock Prices Table, the output would look like this:
| Ticker Symbol | Company Name | Current Price |
|---|---|---|
| GOOG | Alphabet Inc | 2800.00 |
| AAPL | Apple Inc | 150.00 |
| MSFT | Microsoft Corp | 300.00 |
As the stock prices fluctuate, the values in the Current Price column will update automatically.
GOOGLEFINANCE is beneficial because it automates the process of retrieving financial data, saving you time and effort. It provides real-time updates, ensuring that your data is always current. Additionally, it can pull a wide range of financial information, making it a versatile tool for various financial analyses.
GOOGLEFINANCE is an essential function for anyone involved in finance or investment, providing a seamless way to enhance financial analysis and reporting capabilities.
Happy spreadsheeting!
You have a table listing stock symbols in Column A and their current prices in Column B. By using the GOOGLEFINANCE formula, you can automatically pull live stock prices into your sheet, allowing for real-time tracking of investments without manual updates.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.