Power Query: Investment Tracker

jajatidev

Board Regular
Joined
Jul 29, 2016
Messages
78
Office Version
  1. 365
Platform
  1. Windows
Hi,
I'm working on a pet project to keep track of my investments. Periodically I download the data into Excel to calculate tenure, IRR and XIRR which takes time as I have to clean up the data and calculate each of the funds separately. Now I wish to automate some of the steps involving cleaning and calculations using power query. To accomplish the objectives I'm looking for guidance with the development.

To begin with, I receive data in a specific format and after the cleaning up it looks like this;

Scheme or Stock nameInvestment dateInvestment amountCurrent market value
Long Term Equity Fund - Growth11/03/2015₹ 60,000.00₹ 119,741.00
Long Term Equity Fund - Growth01/05/2016₹ 60,000.00₹ 130,626.54
Long Term Equity Fund - Growth03/03/2016₹ 60,000.00₹ 126,998.03


After the cleaning, I rearranged data for calculations to get the following view;

Scheme or Stock nameInvestment dateInvestedCurrent market valueXIRRIRRTenure
Long Term Equity Fund - Growth11/03/2015₹ 60,000.00₹ 119,741.0010%8 Years, 0 Months, 1 Days
01/05/2016₹ 60,000.00₹ 130,626.54
03/03/2016₹ 60,000.00₹ 126,998.03
12/02/2023₹ 377,365.56


I repeat the step for all by funds which is time-consuming as entries vary from fund to fund. I need guidance with the replication of the formulas in the power query.
Would truly appreciate all the guidance and input I can get here.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi,
I'm working on a pet project to keep track of my investments. Periodically I download the data into Excel to calculate tenure, IRR and XIRR which takes time as I have to clean up the data and calculate each of the funds separately. Now I wish to automate some of the steps involving cleaning and calculations using power query. To accomplish the objectives I'm looking for guidance with the development.

To begin with, I receive data in a specific format and after the cleaning up it looks like this;

Scheme or Stock nameInvestment dateInvestment amountCurrent market value
Long Term Equity Fund - Growth11/03/2015₹ 60,000.00₹ 119,741.00
Long Term Equity Fund - Growth01/05/2016₹ 60,000.00₹ 130,626.54
Long Term Equity Fund - Growth03/03/2016₹ 60,000.00₹ 126,998.03


After the cleaning, I rearranged data for calculations to get the following view;

Scheme or Stock nameInvestment dateInvestedCurrent market valueXIRRIRRTenure
Long Term Equity Fund - Growth11/03/2015₹ 60,000.00₹ 119,741.0010%8 Years, 0 Months, 1 Days
01/05/2016₹ 60,000.00₹ 130,626.54
03/03/2016₹ 60,000.00₹ 126,998.03
12/02/2023₹ 377,365.56


I repeat the step for all by funds which is time-consuming as entries vary from fund to fund. I need guidance with the replication of the formulas in the power query.
Would truly appreciate all the guidance and input I can get here.
Hello All,
Would sincerely like to hear from you on this initiative I'm pursuing.
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top