Feedback Form

Online Investment Tracking Spreadsheet

Thu, Dec 31, 2009

Featured, Investment Tools

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.

(an improved version of the online portfolio tracking spreadsheet is available)

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
  • 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” 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.

You may also be interested in:

  1. Improved Investment Tracking Spreadsheet
  2. Investment Portfolio Spreadsheet
  3. Investment Spreadsheet: How to Use Tutorial
  4. Free 5YR DCF Fair Value Investment Spreadsheet
  5. Graham Cheap Stocks & Free Net Net Investment Spreadsheet

Print Post Print Post

This post was written by:

Jae Jun - who has written 361 posts on Old School Value.

Value investor following the Old School Graham, Buffett and Fisher school of investing. Follow me on Twitter to receive real time thoughts and updates not available here.

Contact the author

9 Comments For This Post

  1. Jason Says:

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

  2. Fabrice Says:

    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.

  3. Tyler Says:

    Awesome Jae,

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

  4. Jae Jun Says:

    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.

  5. Aron Says:

    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!

  6. Luis Says:

    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?

  7. Jae Jun Says:

    @ 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…

  8. SARA Says:

    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

  9. Jae Jun Says:

    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

3 Trackbacks For This Post

  1. Festival of Stocks – 2010 New Year’s Edition | Fat Pitch Financials Says:

    [...] How to create online investment tracking spreadsheet posted at Old School Value. Use this free stock tracking spreadsheet or learn how to create your own dynamic online portfolio tracking spreadsheet that is always up to date. You can now view it anywhere, anytime. [...]

  2. Investment Tracking Spreadsheet like an Idex Says:

    [...] Don't forget to subscribe to the RSS feed and check out the stock valuation spreadsheets.The investment tracking spreadsheet I posted previously didn’t account for cash but I finally found a way to accommodate the [...]

  3. Economy and your finances carnival Feb 21st 2010 « Iphone India Says:

    [...] Jun presents How to create online investment tracking spreadsheet posted at Old School Value, saying, “Use this free stock tracking spreadsheet or learn how to [...]

Leave a Reply

CommentLuv Enabled

Search engine optimization by SEO Design Solutions

158 queries in 1.013 seconds.