problems with solver/goal seek

paul_s_45

New Member
Joined
Jan 8, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi, I'm having some weird behavior from both Solver and Goal Seek and hoping someone on here can help. Basically I have a series of columns with cash flow rows for Income and Expenditure, over time. The Expenditure rows include a tax expense which it calculates by looking at the Income. The cell that I am solving for is Net Income which simply equals Income - Expenditure. I have a macro which checks across the columns that Net Income is > 0. If Net Income is < 0 it will run a Goal Seek to put Income in a certain cell so that the end result is Net Income = 0.
That said, the problem with the sheet is that the Goal Seek function works perfectly fine on most cells but will, seemingly at random, leave some cells unsolved. I attempted to use Solver function in the same way and I'm getting the same result. Solver is not ideal because it seems to be a lot slower than Goal Seek. Even when I isolate the cell and manually run Goal Seek or Solver on it, it still can't find a solution. Meanwhile, I can iteratively input my own guesses and eventually arrive at a solution. Presumably if I can do that then either Goal Seek or Solver should be able to do the same right?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
I should also add a few points. To help Goal Seek/Solver, I am priming the solved for field with a number that I know is reasonably close to the solution. The randomly unsolved results are actually generating a number but the number is not the solution. For this problem there is definitively only one solution.
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top