Hi,
I am not sure that you can get the amount of iterations from the GoalSeek. What I can tell you is that using Excel's default features in faster than building your own.
I also noticed that there is a huge difference between the use of the GoalSeek in the Excel dialog box and using it through the VBA method; the latest is almost instantaneous.
Here is a small experiment I designed to check the speed. Note that the one hat uses the dialogbox needs a little bit of human intervention which adds a small error but the point is very clear.
These are my settings:
E4 355
E5 Nothing
E6 Formula bellow
These are the procedures.
The one using the method:
The one using the Dialog:
My results were more or less the following:
Type |
Time |
Percent |
No Dialog |
0.03515625 |
0.753% |
Dialog |
4.63281250 |
99.247% |
Thanks
Bookmarks