How to track stocks in a spreadsheet with Google Finance

Tracking inventory costs is simple utilizing Google Finance.

Your Google Finance watchlist offers real-time inventory market quotes, plus knowledge and analytics about worldwide markets and finance. It’s a treasure trove of data, out there totally free to anybody. In addition, you can begin to assemble, monitor, and customise all that knowledge utilizing Google Sheets. Just comply with these step-by-step directions to drag inventory knowledge through Google Finance. 

The spreadsheet model of the next tutorial might be downloaded right here. Make a replica of the worksheet by choosing “Make a copy” from the drop-down within the File menu.

What is Google Finance?

Google Finance is a software created by Google’s mum or dad firm Alphabet Inc. (GOOG). It permits Google customers to obtain monetary knowledge about shares, bonds, mutual funds, indexes, foreign money, and cryptocurrency trade charges onto Google Sheets.

Google pulls its knowledge from varied sources, together with exchanges within the U.S. and globally, and content material suppliers similar to S&P Capital IQ. Google Finance has fastened fields for label attributes that obtain particular kinds of knowledge, like worth (which is the newest worth out there), shut, quantity, and market capitalization.

Inputting particular attributes onto Sheets means that you can create a custom-made spreadsheet. You can monitor a publicly traded firm’s inventory worth over a interval of days, weeks, months, or years.

Downloading inventory costs might be simply accomplished by utilizing Google Finance and Google Sheets. 


How to create a spreadsheet monitoring a inventory utilizing Google Sheets

You will need to have a Google account to entry Google Sheets. Type into your browser or create a brand new spreadsheet in your Google account. Google has a system that means that you can obtain knowledge out of your Google Finance watchlist onto a spreadsheet, and this may be completed by following these steps. These examples use Elon Musk’s electrical automobile firm Tesla TSLA.

Understanding Google Finance’s system

Google Finance’s system for pulling up historic knowledge on a selected inventory is ready up as an equation with totally different fields. Its syntax follows:

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


This discipline should embrace the trade adopted by a colon and ticker image (no areas).


This discipline is a selected entry of an organization’s inventory motion. It can vary from worth to shut to 52-week excessive and low.


This represents the primary day of the attribute.

End_date or variety of days

This represents the final day of the attribute. Number of days together with the beginning date might be entered in lieu of the tip date.


This signifies the frequency of the attribute. Google Finance solely permits day by day or weekly outcomes, none (as of now) on a month-to-month or yearly foundation.

How to obtain your portfolio utilizing Google Finance

There are two methods to obtain the information: a direct manner by inputting the fields instantly into the system, and an oblique manner during which outlined cells populate the system. 

Direct manner

The direct manner is to enter the entries within the fields of the system, in both the system bar or within the cell. For instance, to get the closing inventory costs of Tesla each day in 2023, the system would seem as such:

=GOOGLEFINANCE(“nasdaq:tsla”, “close”, “1/1/2023”, “12/31/2023”, “daily”)

The outcome lists the historic knowledge for the chosen date vary. Using the primary day and final day of the calendar yr robotically enters the primary day of buying and selling and the newest or final day of buying and selling.

Google recommends utilizing the image of an trade previous an organization’s ticker image, almost certainly to keep away from conflicting with the usage of a ticker image on one other trade in its checklist of accessible trade knowledge. However, solely getting into the ticker image will work within the system.

The direct technique entails getting into the attribute and different fields in Google Finance’s system right into a cell on Google Sheets.

Google Sheets

After getting into the data within the system, the historic worth knowledge are downloaded onto the spreadsheet.

Google Sheets

Indirect manner

The oblique manner is to create a desk on Google Sheets and change the fields within the formulation with cells that correspond to these fields, as proven within the instance beneath. Column A will describe what fields should be crammed in Column B. In a separate cell, the system is crammed out with the fields akin to these cells, ensuing within the historic knowledge for the chosen date vary.

For instance, utilizing the identical system for pulling up the historic desk, it will be written as such:


The oblique technique means defining the fields and getting into the data individually onto cells in Google Sheets after which getting into the fields that correspond to particular cells into the Google Finance system.

Google Sheets

After finishing the system, the historic knowledge is downloaded onto the spreadsheet.

Google Sheets

Again, the Google spreadsheet might be downloaded right here. Make a replica of the worksheet by choosing “Make a copy” from the drop-down within the File menu.

This is simply the primary of many articles about tips on how to use instruments in Google Sheets. Let us know what you’d wish to see subsequent. Email us right here: [email protected]