I am currently trying to create a macro that runs a Goal Seek on multiple Projects.
I have a summary worksheet that contains a list of projects, their revenue and expense streams by year. I then have a worksheet that contains an IRR template that uses index match to pull in the revenue and any associated expenses based on the name of the project. I need to determine the break even capital investment for each project.
In the past I have created a macro that runs the Goal Seek on multiple worksheets, with each worksheet containing the IRR template and specific to each project. However, I want to condense this so I can minimize the amount of worksheets within my workbook. I am hoping that someone can help me write a macro that does the following:
On the "Breakeven Capital Template" worksheet, in cell B3, pull in the project name from a list on the "Inputs" worksheet, run Goal Seek, and then paste the value in G7 into the column to the right of the project name on the "Inputs" worksheet. The below code is what I get when I record the operation for 1 item in the project list. Is there a way to just loop this for each project in the list?
Thanks in advance!
Bookmarks