Force Goalseek to use only positive values in the variable cell?

  • Thread starter Thread starter John Richards
  • Start date Start date
J

John Richards

I used Goalseek in a simple VBA program and now the macro is returning
negative values for the cell value to be changed! Is there a simple way to
limit the values used in the iteration to only positive values? It appears
that Solver will do what I want, but I haven't figured out yet how to use
solver.

Thanks,

John
 
Disregard my question. I had made another change on the worksheet that
actually made a result get smaller instead of larger as the variable got
larger. To force the result to be larger, Goalseek actually had to reduce
the value of the variable and eventually found a negative value that forced
the result to increase to the goal. I just have to figure out how to
correct the change I had made on the worsheet.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top