Gregg Wolin
Member
I have a series of six proforma, 36-month cash flow streams that represent a variety of different sized transactions that i might execute (i.e transaction Types 1 - 6).
I created an annual "randomizer" table that generates an allocation of project types across each of 10 years which is triggered by a macro attached to the "Calculate Portfolio" button [at the moment, the macro only creates the randomizing allocation table].
Next I created a table that, depending on the year input [AW9], creates a weighted average transaction cash flow for the year indicated [cv_CF.AnnualCalc]. I started a sub to copy the and paste the value from this range into the Year 1 column of the matrix [cv_CF.Year1] and realized that this seems like a good place for a loop but my VBA skills are woefully inadequate.
Ideally, I would like to macro to loop through each of the 10 years, then paste the resulting values into the corresponding column in the Project Type Distribution Table.
I created an annual "randomizer" table that generates an allocation of project types across each of 10 years which is triggered by a macro attached to the "Calculate Portfolio" button [at the moment, the macro only creates the randomizing allocation table].
Next I created a table that, depending on the year input [AW9], creates a weighted average transaction cash flow for the year indicated [cv_CF.AnnualCalc]. I started a sub to copy the and paste the value from this range into the Year 1 column of the matrix [cv_CF.Year1] and realized that this seems like a good place for a loop but my VBA skills are woefully inadequate.
Ideally, I would like to macro to loop through each of the 10 years, then paste the resulting values into the corresponding column in the Project Type Distribution Table.