Conditional Goalseek VBA

mosen

New Member
Joined
Apr 16, 2015
Messages
1
Hi Guys,
I'm a beginner excel user try to use it to model semiconductor behaviour. I have a numerical analysis model which starts with an initial value (change cell target) called N_front.
This N_front then will be used to calculate numbers of value for delta_n at different depth (column D23:D423). The goal cell called gen_rec and need to be 0. However, from physical point of view, delta_n values have to be absolutely decreasing D23>D24>D25>...>D423. My question is how to add this condition to be considered in goalseek? I can get the answer (gen_rec = 0) without this condition which is mathematically true but that is not a valid physical answer.
Thanks
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Goal seek allows only a single parameter to be varied in trying to achieve a target value for a variable linked to that parameter.

You can improve your chances of getting some help if you post a sample of your data and explain what you want to do.
 
Upvote 0
Look into the 'solver' add-in for excel. It's free and easy to work into your application.
 
Upvote 0

Forum statistics

Threads
1,216,254
Messages
6,129,722
Members
449,529
Latest member
SCONWAY

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