Online Investment Tracking Spreadsheet

December 31, 2009 | Comments (35)

Written by

Jae Jun

follow me on

Facebook

Twitter

[edit] Newer Version Now Available

Online Investment Tracking Spreadsheet

Online Investment Tracking Spreadsheet

Working Hard on The New Online Investment Tracking Spreadsheet | Flickr: kenteegradin

There is now an even better version available. The new and updated version of the best free stock tracking portfolio spreadsheet. Go check it out now.

Continue on with the Original Article

The new year is just around the corner and maybe it’s time to reorganize your portfolio tracking spreadsheet or method. Whether it be through a stock tracking service or an investment tracking spreadsheet, keeping track of your performance in very important.

I have an automated portfolio tracking spreadsheet based off a template, that compares the performance between my investments and the S&P500 ETF (SPY) that utilizes the amazing SMF add-in to automatically pull the historical quotes.

How to Create a Portfolio Tracking Spreadsheet

Google Docs is great because you can now link Google Finance to a Google Spreadsheet. You can get 20 min delayed quotes, PE, EPS, change %, historical prices, etc automatically for any ticker.

So if you have a Google account, here are some simple formulas and steps to start creating your own portfolio spreadsheet online.

Get Ticker Price Quotes

Google has their own predefined finance functions to make this real easy. The syntax is =GoogleFinance(“symbol”; “attribute”);

To get the last price of a stock, simply enter into a cell

=GoogleFinance(“KO”,”price”)

If you have a list of stocks in column A, you can do something like

=GoogleFinance(A2,”price”)

Pretty easy. Other functions can be found on the Google help page.

Get Today’s Price Change

To get the price change enter the following

=GoogleFinance(A2,”change”) & “  (” & GoogleFinance(A2,”changepct”) & “%)”

Again, this formula assumes you have a list of tickers in Column A starting at row 2. Click on the image below or go to the portfolio tracking spreadsheet page if you are not sure.

Get Historical Stock Data

The syntax for this function is: =GoogleFinance(“symbol”, “attribute”, “start_date”, “num_days|end_date”, “interval”)

A little tricky but very easy in practice.

In the online investment tracking spreadsheet, I enter the stock purchase date in column E. I then use the historical stock data function to get the closing price of the S&P500 ETF on the day I bought a particular stock. So if I bought GOOG on 1/1/2008, the stock purchase date in column E would 1/1/2008 and the formula to get the same closing price of the SPY ETF would be

=INDEX(GoogleFinance(“SPY”,”close”,E2);2;2)

Other Attributes You Can Use

Basically, all you need is the price and historical stock price formula to start tracking a portfolio but you can always add more if you want to.

Some others you can use include:

  • price: market price of the stock – delayed by up to 20 minutes.
  • priceopen: the opening price of the stock for the current day.
  • high: the highest price the stock traded for the current day.
  • low: the lowest price the stock traded for the current day.
  • volume: number of shares traded of this stock for the current day.
  • marketcap: the market cap of the stock.
  • tradetime: the last time the stock traded.
  • datadelay: the delay in the data presented for this stock using the googleFinance() function.
  • volumeavg: the average volume for this stock.
  • pe: the Price-to-Earnings ratio for this stock.
  • eps: the earnings-per-share for this stock.
  • high52: the 52-week high for this stock.
  • low52: the 52-week low for this stock.
  • change: the change in the price of this stock since yesterday’s market close.
  • beta: the beta value of this stock.
  • changepct: the percentage change in the price of this stock since yesterday’s close.
  • closeyest: yesterday’s closing price of this stock.
  • shares: the number of shares outstanding of this stock.
  • currency: the currency in which this stock is traded

Free Online Investment Tracking Spreadsheet

Of course I won’t let you go empty handed. I’ve now gone ahead and put an online version of the stock portfolio spreadsheet on Google Docs. So now all the information will be constantly up to date and you can access it anywhere, anytime. You can then export it as an excel file, pdf or openoffice file for record keeping.

To access it simply follow this link to the investment tracking spreadsheet. Anyone can view it but to be able to use it, you’ll just  need to create a Google account.

How to Use The Investment Tracking Spreadsheet

To use it, you first need a Google account and then have to copy it to your own account.

  • Create Google account if you don’t have one
  • Click the above image to take you to the page
  • On the portfolio page, click on “File” in the menu and then “download as”
  • Click on “Download as Excel” -> OK
  • It will download a copy to your computer and if you want to use it online, upload it back to your account.

If you now double click on the “Current Price” or “SPY Close on Purchase Date” you will see the formula I mentioned above.

When you want to enter your trade information, enter the details only in the yellow columns. Then highlight the non yellow cells, and drag down with the right hand corner box.

And you get the following

So that’s how you add transactions and you do the same for the positions you have sold. The performance tab is updated automatically so nothing to do there.

The free portfolio tracking spreadsheet unfortunately cannot account for dividends, splits, ticker changes and such. These things will have to be updated manually. You could then make it better by including graphs and other goodies.

About Jae Jun


Jae Jun is the founder of Old School Value. He is on a mission to provide practical and actionable value investing tools, tutorials and educational material to help empower the individual investor. Keep in touch with Jae via any of the methods linked below.

  • Jason

    Thanks a lot Jae, a real treat! Happy new years!

  • http://www.investisseurheureux.com Fabrice

    Terrific!

    I didn’t know this option to link with Google Finance.

    I am sure in few weeks, we’ll find many other interesting usages. Thank you.

  • Tyler

    Awesome Jae,

    I wish someone did a stock screen (for ASX) that had like ROE,DEBT-Equity, ROC etc.

  • http://www.oldschoolvalue.com Jae Jun

    Tyler,

    I think you could grab the ASX market by slowly building your own site and eventually your own screener.

    Just no room for the ASX here.

  • Aron

    Hi Jae,

    Happy New Year and another good post! How would you treat a second purchase of the same security? or dividend reinvestment? would you treat each one as a new purchase?

    thanks!

  • http://www.one2imagine.com Luis

    Jae,

    AGAIN you provide another great service to those looking for help investing. Thanks so much. I am going to start using this tracker immediately… one question, what’s your opinion for tracking the impact of keeping cash on the sidelines while looking for other opportunities, etc. That opportunity cash that is not being employed is taking away from possible returns (or losses). Most portfolios, most of the time, are not 100% invested. That cash on the sidelines should have some consideration when comparing performance to the S&P, right? If you agree, how do you think it should be accounted for?

  • http://www.oldschoolvalue.com Jae Jun

    @ Luis,

    Thanks Luis :)

    Tracking cash is good for a IRR but it depends on what account you have. e.g. Mine is a 401k which I contributed to until last year which does skew the results. However, the result that I put up is what other people would gain had I managed their money. More like a fund manager’s return.

    Calculating it is a different story as well. I can’t think of a possible way to make it into a simple spreadsheet…

  • SARA

    Hi
    Thanks for providing this I have many questions.

    1. It says uptop
    “When you want to enter your trade information, enter the details only in the yellow columns. Then highlight the non yellow cells, and drag down with the right hand corner box.”
    Where is the right hand corner box and am I supposed to click on it while I’m dragging my mouse the screenshot can’t be enlarged for me to see

    2. In the holding spreadsheet If I enter a position will it also show in the sold spreadsheet.

    3. How do you enter it if your shorting a stock

    4. I entered a position in the yellow columns in the holding spreadsheet and I dragged the non yellow columns with my mouse but for the market value column and the equivalent to spy shares column on the same line I entered the position it shows up $0.00 for two of those columns and for all the other lines and columns that was previously entered by you as an example it shows up fine , what am I doing wrong?

    I hope you can answer my questions I love this spreadsheet and would love to use it I know I’ll have more questions in the future as I’m not excel savvy I Hope you can help me again.

    Sincerely,

    Sara

  • http://www.oldschoolvalue.com Jae Jun

    Hi Sara,

    1. When you highlight a cell or multiple cells, you will see a small dark solid square in the bottom right corner. In the image I posted, I drew a red circle around it. Click that small square in the corner and drag down.
    Or do a search for “excel drag fill”.
    http://www.designcad.com.au/support/office/excel/drag_fill/Drag-Fill.htm

    2. Holding is for something you currently hold. Sold is for something you sold and no longer hold, so if you sold something, you would delete that amount from the holding section.

    3. I’ve never shorted so I didn’t think about that.

    4. Refer to Q2. Just make sure you drag and fill properly.

    I would definitely recommend some simple tutorials to help you get started with mastering excel in no time.
    Lots of free tutorials on the internet.
    http://people.usd.edu/~bwjames/tut/excel/
    http://www.fgcu.edu/support/office2007/Excel/index.asp

  • Ranajit

    Hey Jae,
    I tried out your tracking spreadsheet and it was excellent. Sometime back I tried creating my portfolio tracking sheet on excel but since I had to manually change the prices, I lost track of it. But, this spreadsheet is excellent. Thanks a lot for making it available to everyone. I came to your blog from Fwallstreet and I must commend you for the excellent material on this blog.

    -Ranajit

  • robin

    is there anyway this investment tracking spreadsheet can be uploaded to Turbo Tax during for filing income tax?

  • http://www.oldschoolvalue.com Jae Jun

    Afraid not. You can use it to determine what you need to enter into turbo tax however.

  • http://marketcrusher.wordpress.com Daniel Sparks

    Thanks, this was really helpful. It also helped me see how dumb I was being this month. I’m sure I can turn it around over the course of the year though.

  • http://www.oldschoolvalue.com Jae Jun

    I’m creating a new excel spreadsheet that should provide more and better functionality than this online one. Google spreadsheets still has too many limitations.

  • Andrew

    I used this spreadsheet as a basis for tracking stock purchases. I work in various currencies and tried to automatically import the exchange rates on the day of the trade for tax purposes (example =importData(\http://currencies.apps.grandtrunk.net/getrate/2009-11-12/CAD/USD\). I wish I knew before getting as far as I did that Google spreadsheet will only support 50 imports per document. What a stupid restriction. Grrrrrrr

  • bpowerstv

    Thanks much i have been trying dozenes of “portfolio trackers” and excel sheets, trackign LONGS is easy, but need to keep track of SOLD results too!

  • DP

    I followed below steps. However I am not getting “Edit this page” option.
    I am not able create a copy of this spreadsheet. Please help me.
    Thanks,
    –DP
    To use it, you first need a Google account and then have to copy it to your own account.

    Create Google account if you don’t have one
    On the portfolio page, scroll down to the bottom of the page and click on “Edit this page”
    Click on “File” -> “Make a copy” -> OK
    You have now successfully copied it to your own account
    If you now double click on the “Current Price” or “SPY Close on Purchase Date

  • http://www.oldschoolvalue.com Jae Jun

    @ DP,

    It seems like Google changed the way they share. The edit this page seems to have disappeared. I’ll see whether there is a way to edit it.

  • JJ

    Hi Jae, love the Blog!
    Need further help though.
    I too, do not get the “Edit this page” option, therefore cannot copy to my Google Docs!
    Any further help would be appreciated.
    Thanks.

  • http://www.oldschoolvalue.com Jae Jun

    Yes Google changed the way docs are shared. Not sure how to get people to be able to save it to their own account.
    The best method so far is to follow the instructions in the article and create your own. You’ll learn more in the process as well.

  • DP

    Jun,
    As you are owner of the spread sheet you need to make few changes so that any one can save it.
    Here are the steps.
    Go to share link on the right side of the spread sheet.
    Select publish as a web page > Click stop publishing.
    Then Close the window.
    Again go to Share Menu > Select Share > Change who has access. > Select Anyone with the link.
    Then you will get a link to share window with a link.
    Now share that new link in this blog page.
    Everyone will have option to save the spreadsheet from the file menu.

  • http://www.oldschoolvalue.com Jae Jun

    Thanks for the tip. Here is the link.
    http://spreadsheets.google.com/pub?key=tZG9334Ma2Q2AEhcxHIVNiA&gid=2

    Go to file and download as then select excel. Then upload it back to your google docs account.

  • Tom Vogt

    Do you have any plans to develop your Stock Valuation Spreadsheet for use on MAC? I think you would find an active group of MAC users willing to purchase your program.

    Tom

  • http://www.oldschoolvalue.com Jae Jun

    At this point, there is no plan. I was working on one but it didn’t work out. Just ended up spending a lot of money. I want to do it in the future, but I need the right people to help me make it possible.

  • Kay Waterfield

    Hi Jae… I don’t know how old your link is from your post with “Thanks for the tip. Here’s the new link…” but I am still (9/4/11) unable to download (I’m on a Mac) or to edit. It seems identical.
    Mac doesn’t have “Download” under FILE menu. I can only “Save As” a Web page or HTML.

    I really thank you for the work you’ve done here!! I truly would appreciate being able to share. (I do already have a gmail account and use Docs regularly.)

  • http://www.oldschoolvalue.com Jae Jun

    @ Kay,

    Try again by clicking on one of the images. It will load to the proper screen so that you can save it to your account.

  • Scott

    Hi, Your reference “(an improved version of the online portfolio tracking spreadsheet is available)” but I cannot find anywhere to access, instructions to create, or download the online version as seen here: https://spreadsheets.google.com/spreadsheet/pub?key=0AlkTYa6J3P_pdFpHOTMzNE1hMlEyQUVoY3hISVZOaUE&gid=1

  • Scott

    The following does not work, when I’m logged into Google there is no “file” location:

    Thanks for the tip. Here is the link.
    http://spreadsheets.google.com/pub?key=tZG9334Ma2Q2AEhcxHIVNiA&gid=2

    Go to file and download as then select excel. Then upload it back to your google docs account.

  • Scott

    I was finally able to access your free online portfolio tracker spreadsheet. However, how do you get the equity curve graph in the performance tab embedded in the online version?

  • goodgenie4u

    Brilliant use of Google. As a senior I have BCE.TO stocks that were part of my emplyee monthly savings plan for 29 years. The dividends were reinvested. I have the onerous task of computing the Adjusted Cost Base of this stock to determine Capital Gains exposures and find ways to offset some with CG Loses. I am wondering….

    (1) Will Google Finance’s historical data base go as far back as 1973?
    (2) If so would it automatically factor in dividends reinvested/
    (3) Would it factor is stock splits?
    (4) I will have to enter the stocks purchase info, every time as part of the savings plan each year.
    (5) Is it possible for Google finance to compute the Adjusted Cost Base?

    If this is not possible, I get the feeling I will have to look at all my quarterly statements and manually compute this. These are on line calculators, but I am reticent of their security as well as the stability given the large number of transactions (4 DRIPS and 1 purchase per year x 35 years)

    Any computing solution you suggest, with built automatic accurate computing (formulae) would be great. I can enter the numbers accurately.

    Thanks

  • Samuel

    Hi Jae,
    Sorry, I am not familiar with Google docs and had trouble copying your google spreadsheet (1/2/12).
    I am using Windows 7. I tried with both Internet Explorer and Firefox. When I clicked on the link:

    http://spreadsheets.google.com/pub?key=tZG9334Ma2Q2AEhcxHIVNiA&gid=2

    I could only get “Save As” a Web page or HTML after clicking on File->Save As …
    I couldn’t find a way to save as an Excel file.
    With your comment to @Kay, I couldn’t figure out what you meant by:
    “Try again by clicking on one of the images. It will load to the proper screen so that you can save it to your account.”
    I tried the different tabs ie holding, sold, performance, index. None of them had the “edit this page” either. Any suggestions?
    Thanks.
    Samuel

  • http://www.oldschoolvalue.com Jae Jun

    @ goodgenie4u,
    1. I don’t know.
    2. no. Only price.
    3. Yes
    4. Yes.
    5. You will have to calculate the adjusted cost basis.
    Google is just a tool. It won’t do anything unless you tell it to. There are lots of limitations still which is why I still prefer to do it in excel.

  • http://www.oldschoolvalue.com Jae Jun
  • Rachel

    Hi I want to convert this spreadsheet into Pound Sterling, how do I do this?

  • http://www.oldschoolvalue.com/ Old School Value

    It’s very simple. All you have to do is change the $ sign to a pound sign. You do that by selecting all the cells related to $, and then go to the menu -> format -> number -> more currencies and select the British pound.

    The only problem is getting the automatic stock pricing from google because I’m using US google finance to get the price of the stocks.

x
Receive Email Tips and Strategies on Achieving Higher Stock Returns

Bonus: FREE Set of 9 Investing Spreadsheets