Mutual Fund Screener- Google Sheets Edition

I am delighted to announce that the freefincal mutual fund screener which is a macro-based Excel file has now been extended to work on Google Sheets.

I constantly receive requests to make calculators in non-Excel or online platforms. I have finally been able to do so thanks to the support and motivation of friends and readers. In particular,

Ramesh Venugopal who waded this rather complex Google Apps Script for importing CSV data into a Google Spreadsheet late into the night, modified it to login to our Value Research account and retrieve annual returns for a particular mutual fund category. His modified script is seminal to the development of this sheet.

I also thank Ramesh Vijayaraghavan and Gaurav Aggarwal who also took a crack at this problem and were close to a solution.  Without such support, I would have never touched a Google sheet.

Speaking of which, although it is slow it is crucially more advanced than Excel in handling formulas linked to data that can change by running a marco (or script). Without this, the sheet would have required additional scripts.

How does the screener work?

Once the sheet is set up to work (see detailed slideshow and video below), the user has to login into Value Research (via the sheet) to retrieve annual returns of a particular category.

Then the 1,2,3,4,5,6,7,8,9.10,11,12 year CAGRs are computed.

Three screens are available:

  1. Consistency in above CAGRs falling in the top 15 (can be varied) for each duration.
  2. Consistency in above CAGRs falling above category average for each duration.
  3. Consistency in each year's annual return falling above category average.

They can be used together or individually to create a shortlist.

Here is a screenshot of the input page.


The sheet involves entering an username and password. Therefore, I do not wish to share the sheet online. Can it be done without affecting privacy?

Please follow these instructions:

  1. The screener file (.xlsx) and the script file ( are available as a zipped file at the end of this post
  2. Upload the .xlsx file to Google drive. This will not work in Excel and you need not open it offline
  3. Remaining instructions are here in the form of a slide show and a short video

Download the Freefincal Mutual Fund Screener- Google Sheets Edition pack

Thanks to Riyaz (see comment below) we now have have a wonderful alternative:

1. go to this link

2. click 'make a copy'

3. when loaded click menu Freefincal -> Authorize

4. Freefincal -> Get data (observe validation of username and password if its empty)

Do not share the sheet online with your friends! You may end up accidentally sharing your password!! Freefincal will not be responsible if that happens. 

Do give the sheet a try and let me know your feedback.

Note that all Excel sheets which do not have a macro will work in Google sheets. I will convert the ones with macros with this technique. Let me know if you have any favourites so that I can focus on them first. Personally curious to try out the freefincal stock screener next.


Ramesh Vijayaraghavan figured out that authentication is necessary for CSV files only. Their html can be imported without username and password. I tried to do this, but failed.

1. go to this link

2. click 'make a copy'

3. Select fund category and screen!

Ramesh and Riyaz sent me these modifications within minutes of each other!

Subscribe to get posts via email

"How to" articles; unbiased analysis; free, yet comprehensive calculators and money Management solutions delivered to your inbox!

Register for the

Pune DIY Investor Workshop Feb 26th, 2017

Install Financial Freedom App! (Google Play Store)

Install Freefincal Retirement Planner App! (Google Play Store)


Buy our New Book!

You Can Be Rich With Goal-based Investing A book by  P V Subramanyam ( & M Pattabiraman. Hard bound. Price: Rs. 399/- and Kindle Rs. 349/-. Read more about the book and pre-order now!
Practical advice + calculators for you to develop personalised investment solutions

Thank you for reading. You may also like

About Freefincal

Freefincal has open-source, comprehensive Excel spreadsheets, tools, analysis and unbiased, conflict of interest-free commentary on different aspects of personal finance and investing. If you find the content useful, please consider supporting us by (1) sharing our articles and (2) disabling ad-blockers for our site if you are using one. We do not accept sponsored posts, links or guest posts request from content writers and agencies.

Blog Comment Policy

Your thoughts are vital to the health of this blog and are the driving force behind the analysis and calculators that you see here. We welcome criticism and differing opinions. I will do my very best to respond to all comments asap. Please do not include hyperlinks or email ids in the comment body. Such comments will be moderated and I reserve the right to delete  the entire comment or remove the links before approving them.

13 thoughts on “Mutual Fund Screener- Google Sheets Edition

  1. Raghu

    Thanks a lot! I do not have MS Excel, tried my hands at Libre office, but couldn't make it work. Google Sheet is universal, now anyone can access your amazing tools.

    1. freefincal

      There is only one excel file in the zip file. Pl follow instructions. If you dont know how to upload to google drive and how to open in google sheets, please find out from elsewhere.

  2. tejas

    Thanks for team's hardwork.

    I tried running the script after following steps and getting following error:

    "Running on: Tue Jan 19 2016 18:51:03 GMT+0530 (IST)
    Found 1 report configurations.
    Getting CSV: query1
    Error executing query1: Incorrect range width, was 1 but should be 2
    Script done"

  3. Jig

    Uploaded perfectly. seems worked fine till the google hanged when tried to sorting the funds.
    Also password field should be like ****** instead of letters shown.
    Superb verb guru.
    thanks to all for their efforts for making such useful sheet online

  4. Riyaz

    Awesome work. I have simplified few things in the sheet,

    1. Made it easily sharable without sharing username/password( no longer import the xlsb and copy scripts)
    2. Added easy Menu with help
    3. Added validations for user name and password
    4. Added menu for authorization

    How to use?

    1. go to this link

    2. click 'make a copy'

    3. when loaded click menu Freefincal -> Authorize

    4. Freefincal -> Get data (observe validation of username and password if its empty)

    Please let me know if you need any help with the new sheet.

  5. Atul Agarwal

    Sir, I am using Riyaz's version.
    It is giving an error "Running on: Mon Apr 18 2016 12:01:12 GMT+0530 (IST)
    Found 1 report configurations.
    Getting CSV: query1
    Error executing query1: Incorrect range width, was 1 but should be 2
    Script done"

    Please guide on how to fix this.

    1. freefincal

      I just checked it now and it seems fine. Please use Ramesh's version and check if itworks for you.

  6. Harshdeep Mehta

    Hi There,

    I am also getting same error same as of Atul Agarwal. Appreciate your help.



Do let us know what you think about the article