Howto: Excel Based Mutual Fund Portfolio Tracker

Share

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn

Instead of searching for the NAVs of all my funds at MyIRIS or MutualFundsIndia, I have developed a small excel sheet which will fetch the values for me and displays the current portfolio value at the click of a button. Here I am trying to share the “HOWTO” of the same.

  1. Create an excel workbook with 2 sheets. Call one as “NAVs” and the other as “Portfolio”.
  2. In the NAVs sheet, click at one of the top-left cells (I did on A2), and go to Data -> Import External Data -> New Web Query. [For more information on using Web Queries, visit Using Web Queries to Import Data to Excel @ R1C1.
  3. Now paste the url http://finance.indiamart.com/markets/mutual_funds/latest_mf_navs.html in Address box and press go. You would see something like this.

    Say “Import”. Essentially what you have done is, creating an automatically updatable NAV list in the NAVs sheet.
  4. Now select all Schemes in the imported table and define a named range as “fund_names” for it. [Creating Named Ranges in Excel]
  5. Now, go to “Portfolio” sheet and create a table like this.

    [Click on it to Zoom]
  6. Next select the Fundname column (I have 32 rows, you can have as many as you wish) and go to Data->Validation. Enter the settings like this.
  7. Formulas:
    >>> For Purchase Value[f3]: “=e3*d3”
    >>> For Current Value[h3]: “=g3*d3”
    >>> For Current NAV[g3]: “=IF(C3=””,0,VLOOKUP(C3,NAVs!$A$6:$D$1634,3,FALSE))”
    essentially, looking up for the selected fund name in the NAVs sheet and returning the exact NAV to this cell only if a fund name is selected.
    >>> Gain / Loss[i3]: “=IF(ISERROR((H3-F3)/F3),””,(H3-F3)/F3)”
    to avoid DIV 0 messages.
  8. At the end of the table you can add a TOTAL row and repeat the necessary formulas to get the total portfolio performance.
  9. Now the portfolio tracker is done. Enter the fund data by selecting the fund name from drop down and number of units purchased, purchase NAV. Rest will be shown by the tracker.
  10. Remember: everytime you open the workbook, go to “NAVs” sheet and refresh the data. [Select anywhere in the table, right click and say Refresh Data]

Now this is a very basic portfolio tracker. I am thinking of adding some VBA / Macro so that everytime the table is refreshed, the new values are written in a separate sheet called “Historical NAV” so that we can track the fund performance over a period of time by selecting a date (instead of current date). Also, if we can import benchmark indices on runtime, you can get relative performance metrics. Plus, some more analysis of fund performances (instead of mere total return) would reveal the risk-returns of the portfolio. Lets see if I can build such a thing in my spare time.

[Just in case you do not have time for all this, then you can access the workbook that I have created here: Portfolio Manager MFs India ]

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Chandoo is an awesome teacher
5/5

– Jason

Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

5 Responses to “Howto: Excel Based Mutual Fund Portfolio Tracker”

  1. Rajesh says:

    Hi chandoo,

    I downloaded the workbook that you have created and tried to refresh data . I got the message that the specified website was not found. Please give me any alternate website to link.

    Thanks
    Rajesh L

  2. Chetan J. Somaiya says:

    Dear Chandoo,

    I am using your excell sheet.. Its really fantastic. Hats off to you.
    There are some MF's (after cell B5239) which are not appearing in the drop down menu (of Portfolio sheet). Can you please help me out for the same.
    Thanking you,

    Chetan J. Somaiya

  3. [...] While at it, take a look at Chandoo’s mutual fund tracker that tracks all the MFs of India in a very user friendly manner. (file) Possibly related posts: [...]

  4. Vrunda says:

    I m using office 2010 . The excel file is not working... after import only column A get some data in category wise list is shown

  5. Ramakrishna K says:

    Is the old download of MF tracker valid, the nav updater link is not in working / closed. Can we change to AMFI website nav details.
    How to do it please help me out ?
    Also, lot many new funds are added, how can this be implemented in the funds entries.

    Regards,
    Ramakrishna k.

Leave a Reply