It might be a number within the range of 15-35% that solves both equations though and that's why I would prefer to use Solver for this problem.
Do you have an example of a problem where the solution is not one of the endpoints of the allowed ranges? I recognize that the problem statement technically allows for a solution in between values, but it seems like the solution will always be at one of those endpoints.
As for getting started with the VBA, I'm not sure what parts of the formula are confusing. I would expect something like:
Note that all I have done was to put your Solver code into a For..Next loop, and replace the string constant references with variables that I can manipulate in the loop.
Bookmarks