Goal seek output

K

Kainoa

I'm using goal seek as a macro to solve a quadratic equation. I hav
three variables that I adjust to solve the equation, I hold tw
constant and solve for the third using goal seek. Sometimes goal see
will give me the negative solution, I was wondering if there was an
way to force goal seek to only give me the postivie solution.

-Private Sub CommandButton1_Click()
Range("C47").GoalSeek Goal:=0.9999, ChangingCell:=Range("I4")
ActiveWindow.SmallScroll Down:=0
End Sub-

Thanks,
Kaino
 

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

Top