Track Your Mutual Fund Portfolio using Excel [India Only]

Posted on December 28th, 2009 in excel apps , personal finance - 53 comments

Excel is very good for keeping track of your investments. Due to its grid nature, you can easily create a table of all the mutual fund holdings and monitor the latest NAVs (Net Asset Values) to see how your investments are doing. A while back we have posted a file on tracking mutual funds using excel. Today we are going to release an upgrade for that file.

Download the mutual fund portfolio tracker excel workbook now.

[Download Excel 2003 compatible version here]

Track Your Mutual Fund Portfolio using Excel

How the Mutual Fund Portfolio Tracker Works?

  • We use Excel Web Queries (a powerful external data feature in excel) to get latest Mutual Fund NAVs for all the MFs in India. The list of funds along with their latest NAVs is published everyday at AMFI (The Association of Mutual Funds in India) at http://amfiindia.com/spages/NAV0.txt
  • The data is delimited using ; as a separator, I have used some formulas (mainly FIND, MID and LEFT formulas) to split the text in to fund name and latest NAV.
  • I have used fuzzyText UDF (user defined formula) so that we can search against this list even when you have a spelling mistake in the fund name. For more information see fuzzy text search using excel.
  • In the main portfolio sheet, as soon as you type a fund name, we search against the list to see if any fund matches the one you bought. At this point,  we use the fuzzyText UDF so that you can spell in anyway you want (as long as it closely matches with the fund name). Once a match is found, we show the latest NAV for that fund in the tracker worksheet. And of course, we use VLOOKUP to find the NAV.
  • Rest is easy, you can figure out between sips of coffee.
  • The file is protected, but there is no password. So go ahead and poke around it to learn how the whole thing works.
  • Even though the file works for Indian Mutual Funds only, you can easily build a similar model for US or UK or Any other country. All you need is a public source of fund data and a little web query.

Changes from previous version

  • The formulas are more robust. Earlier version (available here) has some limitations.
  • Selecting a fund is much more simpler. You need not scroll thru an insanely large in-cell dropdown. Instead, just type the fund name and thanks to fuzzyText UDF, the correct fund name will be found.
  • I have updated the webquery properties, so that formulas get refreshed automatically.

Download the mutual fund portfolio tracker excel workbook now.

[Download Excel 2003 compatible version here]

What is your favorite way to track investments?

I rely my bank’s investment tracker tools to get a quick update on my mutual funds and shares. But I use excel to pull data from various sources and analyze it to optimize my portfolio. Using excel’s financial formulas, I can easily find out  CAGR or IRR on my investments is and compare it with other options. I also compare my future needs against my current holdings to see if I need to invest more.

What about you? What is your favorite way to keep track of investments?

Related Excel Templates and Articles on Personal Finance

Your email address is safe with us. Our policies

Written by Chandoo
Tags: , , , , , , , , , , , , , , , , , , , ,
Home: Chandoo.org Main Page
? Doubt: Ask an Excel Question

53 Responses to “Track Your Mutual Fund Portfolio using Excel [India Only]”

  1. Vaibhav says:

    Hi Chandoo,

    Thanks for the update. I have been using your tracker and find it really cool. Could you elaborate on the update? What has changed/ what has been added?

    Cheers
    Vaibhav

  2. Chandoo says:

    @Vaibhav.. sorry for not being clear. I have added a new section to the above post mentioning some of the key changes to the template since earlier version.

  3. Sachin says:

    Hi Chandoo,

    Thanks for the updated file. I have also created a file to track my Shares with some graphs :) but I was not able to pull data for Mutual funds.

    Thanks a lot again.

  4. srickant says:

    Couple of things, dont know if you can pull out data but here goes:

    1) you need to calculate IRR s in addition to absolute gain/loss %

    2) you have to atleast show benchmark returns say sensex or the nifty, say annual. If you can show it for the same time period as of when you are holding the fund, thats the ideal :) . And 30 year bond yield. (maybe you can just pull out 1 year returns of each of these from another source?. From current data its best to force benchmark ETF s in your file, row 3612)

    Cool interface. And sorry for the additional work :)

  5. Mehul says:

    Hi,

    Trying to use the excel sheet of Mutual fund tracker, but its not getting automaticaly refreshed and it says that automatic refresh fail also when i tried to insert my mutual fund the drop down list didnt come up, request you to please help me in using the excel sheet.

  6. Mehul says:

    Hi,

    Trying to use the excel sheet of Mutual fund tracker, but its not getting automaticaly refreshed and it says that automatic refresh fail also when i tried to insert my mutual fund the drop down list didnt come up, request you to please help me in using the excel sheet.

  7. Chandoo says:

    @Srickant… good points. I use the IRR analysis to see the fund performance all the time. I kept the sheet simple, but we can easily add the concept.

    @Mehul… Are you connected to internet? the file should refresh automatically. Also, there is no drop down. You have to type the name. Also, enable external connections and macros, otherwise the file wont work.

  8. Mehul says:

    Dear Chandoo, i am connected to Net all the time as i am using it from my office, i had tried writing the name too but it has not helped yet, request you to kindly mail me if possible the working file that you are using on my mail id mehul.here@gmail.com

  9. Chandoo says:

    @Mehul… I am using the same version that is uploaded here and it is working fine for me. The file already has few fund names (as examples). You need to write the names of funds as listed in AMFI website (you can remove vowels or slightly mis-spell them). Also, check if you are able to visit this page from office… http://amfiindia.com/spages/NAV0.txt

  10. AK says:

    Hi Chandoo

    I liked your tracker.

    I have a question though. In the Portfolio Sheet, how have you restricted the navigation to go to cell M2 for example?

  11. Som says:

    Dear Chandoo,
    How to track divident history, or ant redemption?

  12. kaps says:

    Dear Chandoo,

    How to keep a track of weekly dividend reinvestment funds( ICICI / UTI ) etc..weekly / fortnightly dividend reinvestment funds ?

    How to keep a track of returns based on varying NAV and weekly dividend reinvestment, over a large period

  13. mukund says:

    Hi Chandoo
    I was using your MF potfolio since last 1 year version 2 now all of sudden start giving errors
    (when i am enabling update) today i have again download new version 4 and started putting the name of fund
    1. its not allowing to copy paste from the nav sheet the name of funds
    2. when I enabled the update latast its giving the same error #value#

    Is there any prob ……….if not than can u please help me
    bcoz I liked ur excel portfolio very much

    Thanks & Regards
    Mukund
    rathimukund@rediffmail.com

  14. [...] an excellent MS Excel workbook on tracking Mutual Funds from Chandoo’s Excel Blog: Link. You can easily create a table of all the mutual fund holdings and monitor the latest NAVs (Net [...]

  15. Ashish says:

    Hi, Your Excel Tracker file gives bad/corrupted zip file. What’s going on?

  16. Sachin says:

    When I type any name the pick list is not coming. what to do? I have already unprotected the sheet.

  17. mukund says:

    Hi Chandoo
    I was using your MF potfolio since last 1 year version 2 now all of sudden start giving errors
    (when i am enabling update) today i have again download new version 4 and started putting the name of fund
    1. its not allowing to copy paste from the nav sheet the name of funds
    2. when I enabled the update latast its giving the same error #value#

    Is there any prob ……….if not than can u please help me
    bcoz I liked ur excel portfolio very much

    Thanks & Regards
    Mukund
    rathimukund@rediffmail.com

  18. Manish Ashok Nihal says:

    Chandoo you rock!

  19. Nikhil says:

    Chandoo, this file clearly does not work. I am new to your site but get the feeling the files are not updated with details around how to resolve issues to get the file working.

  20. Mutual Fund Portfolio manager says:

    I have developed a Mutual Fund Portfolio Manager in Excel that maintains entire record of the investment and also gives annual rate of returns for each such investment. Any of your readers who desire to evaluate the Portfolio Manager may contact me at sudhem65@rediffmail.com. Thanks.

  21. rajiv isaac says:

    Hi, am able to refresh the NAV list however while typing the fund names in the portfolio sheet the fund names do not come up. Is something amiss??

  22. GauravS says:

    With Excel 2010 , it is not working. Even default funds are showing “#N/A”. How to fix it?

  23. Nitesh Shivapooja says:

    Hi Chandoo,

    Very impressed with the stuff on this website.
    i have been using the mf tracker and would like to add another table that logs the weekly nav so that i can judge its growth in a graph and compare to the index This will help me judge the performance of the fund.
    Pls advice me on how do i add this.

    Thank you

  24. gsvirdi says:

    NOT WORKING… :-(

    Ex: sbi gold fund – growth plan is missing & not updating…..
    Whenever the xls file is opened…. it gives error prompt “The following data rage failed to refresh: latestMFNavs Continue to refresh all?
    When I click “OK”…. nothing happens. :-(

  25. Hemendra says:

    Hey Chandoo,

    Came across your site and was pleasantly surprised.

    Awesome stuff this. Do you have a stocks portfolio tracker as well. I tried a couple of them earlier but none seem to work too well or were so cumbersome that going to Moneycontrol was easier.

    Would love to hear from you if you have a solution.

    Cheers,

  26. Radesh says:

    Hi Chandoo, I have been using your MF portfolio tracker for several years without any issues. Last few days, the tracker is not working, I believe some changes in the AMFI data. Can you please check and help us on this.

  27. mohit says:

    Even for me the same error is happening when I enable the data connection for fresh data [as told by Radesh and gsvirdi].

  28. Anand says:

    i found the solution of it. I think recently there is some changes in AMFI’s NAV file. they have added INE number with mutual fund scheme.
    those who getting the error have to copy any paste below link into their Latest NAV’s file in column E10. and drag the same upto the end of the column in entire sheet.

    =IF(ISERROR(FIND(CHAR(171),SUBSTITUTE(B10,”;”,CHAR(171),3))),””,FIND(CHAR(171),SUBSTITUTE(B10,”;”,CHAR(171),3)))

    after doing this change your nav will be updated and it works nice.
    If any body get any error pls write it here.

    • gsvirdi says:

      Dear Aanad,
      Still it’s not working. Earlier the fuzzyText in Column E was finding the text value (like nf204k01471), but with this formula of ur’s it is giving a neumerical output (like 22). I’m wondering how can it work???
      With the existing Formula =IF(C10″”,VALUE(MID(B10,C10+LEN(D10)+2,FIND(“;”,B10,C10+LEN(D10)+2)-C10-LEN(D10)-2)),””) it’s giving an error #VALUE!

    • gsvirdi says:

      The above formuls should be replaced/overwritten in [strong]column C[/strong]…… As columns B & C are hidden by author so I was not able to find out the correct place for the formula.
      Thx so much Anand for the solution, now the tracker file is working again.

  29. Tarun says:

    Sir,

    Using old version & satisfy with that , but currently in Jan-2012 its not working; Any help

  30. Varun says:

    Hi, I have downloaded “MF Portfolio Tracker- India v3.0″. I am not able to input the funds in the Portfolio Sheet in the file. I have to input funds like HDFC Equity/HDFC Tax Saver/Sundaram Tax Saver and other funds in which I have invested. I am not sure about the Fuzzy Text. Its not showing in the dropdown. I am using excel 2010.
    Please help !!! 

    • gsvirdi says:

      Dear Varun,
      It happens….. the fund name is there but still it does not appears in the cell. Manually searched from the sheet “NavPivot” and copy-paste the cell contents in the Portfolio Sheet.

      Plz forgive Excell, and Chandoo for this inconvenience :)

      GS Virdi.

  31. Varun says:

    Thanks Chandoo,

    I found the fund names in the dropdown….. Its little inconvenient but its working….
    Thanks for the templete. Its really helpful.
    Varun
     

  32. Ajay says:

    Thank you Chandoo,

    The file is a great way to track the investments. 

    One doubt…how to track SIP?

    Regards.

    Ajay 

  33. John says:

    Great Tool, since Jan 2013 started am not able to track the Fund “SBI MSFU CONTRA-DIVIDEND” in the excel. NAV is not found. Pl advice

  34. Rahul says:

    Very cool tool. Great work. Thanks

    Rahul

  35. Satish Mistry says:

    I have developed Advance Mutual Fund Portfolio Tracker with Comprehensive report for Portfolio Valuation & Capital Gain Reports.
    You can try it. Download link is here http://goo.gl/fUclWU

  36. DILIP says:

    I am using the the MF tracker India since long time and working very well, but since last 2 days it shows following error message.

    “Unable to open http://amfiindia.com/spages/NAV0.txt. The internet site reports that the item you requeted could not be found. http/1.0 404″.

    Kindly update about what changes required to overcome with this problem?

  37. Hiren says:

    I am facing the same problem faced by Mr. Dilip. I am using MF tracker India since 2011 and working very well, but since last 2 days it shows following error message.

    “Unable to open http://amfiindia.com/spages/NAV0.txt.” NAV turns to “notfound” result.

    Please update what to do to resolve this issue?

    Thanks…

  38. Satish Mistry says:

    Right now try on http://www.portal.amfindia.com.

    It looks like, site is right now in modification mode. so, wait for some time. It’s my personal understandings.

  39. Ramhesh says:

    Hi
    For the past 10 days Mutual fund tracker is not working since web query refers http://amfiindia.com/spages/NAV0.txt. Now AMFII india had changed their web site address as http://portal.amfiindia.com/spages/NAV0.txt
    I am able to refresh Latest NAV excel sheet by changing the web link in Data Tab,how ever in Portfolio sheet drop down list i am getting values for few mutual fund details.
    Need help on fixing this issue Can any body help in resolving this issue

  40. Ramhesh says:

    Hi Dilip,
    Follow this below steps
    • In Excel sheet open Data Tab
    • Click on Connections
    • In the Pop up screen click on Properties
    • One more pop up screen open in that select Definition Tab
    • Currently the connection string refers to link http://amfiindia.com/spages/NAV0.txt
    • Click on Edit Query, When you click on query in the next pop up screen you can able to see a new web page with address as http://portal.amfiindia.com/spages/NAV0.txt
    • Click on Import once it is done you can see the changes in Connection string refers to new web address.

  41. Dipanjan Dutta says:

    Dear Ramhesh
    I have done what u have said but still it is not updating
    Please solve this urgently

    Regards
    Dipanjan

  42. Ramhesh says:

    Hi,
    After doing the necessary corrections on Web Query which i had updated on 13th Oct one more step is needed to get Data refresh automatically.
    In NAV PIVOT sheet if you are seeing update for few mutual funds then you need to extend the formula in Latest NAV Sheet in Column R for Scheme Code for all the Mutual Funds as on date which is being updated in AMFII website. This step need to followed for all columns up to AJ
    Currently the Mutual fund details are available till Row 14073

    Once i did the changes now i am able to use this excel sheet for tracking my Mutual Fund investment as before Sep 2013

  43. Dipanjan Dutta says:

    Dear Ramhesh
    Can u please send me the updated excel sheet it is still not working at my end I am not able to pick the MF scheme I want
    Regards
    Dipanjan

  44. Vikas says:

    Hi,

    even i have tried all the changes as suggested by ramesh, bust still not working, dear ramesh can you upload the file, it will help a lot

    Thanks
    Vikas

  45. Aejas Naik says:

    Hi Chandu,

    The tracker update doesn’t work for year 2014. Can you help fix this?

  46. kb sankaran says:

    Hi Chandoo,
    I would also like to repeat the previous writer’s request. Can we have the tracker fixed to work (in excel 2003)? . An extremely useful app but unfortunately not able to deploy it. Kindly do the needful.

  47. Jayjit says:

    Hi Chandoo,
    The mutual fund NAV sheet does not load proper. Any update sheet will be published.

    Thanks
    Jayjit

Leave a Reply