Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Inputs for Goal Seek Command

This query is with reference to Goal Seek function in Excel 2007.

While entering the inputs for its dialogue, the second parameter ""To Value"
has to be entered manually as a value. Instead of entering value here, we can
not reference this field to any cell in worksheet (As the application does
not allow you for this).

Is there any alternative solution to declare some deafult cell locations as
inputs to all 3 fields of the Goal Seek dialogue thus automating the inputs
and getting the result staright away.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Inputs for Goal Seek Command

Without seeing the actual problem, my guess would be that you would be
better off using Solver.
Solver is far more powerful that Goal Seek
Do you wish to share with us a sample problem?
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"MUEEN SEHDI" wrote in message
...
This query is with reference to Goal Seek function in Excel 2007.

While entering the inputs for its dialogue, the second parameter ""To
Value"
has to be entered manually as a value. Instead of entering value here, we
can
not reference this field to any cell in worksheet (As the application does
not allow you for this).

Is there any alternative solution to declare some deafult cell locations
as
inputs to all 3 fields of the Goal Seek dialogue thus automating the
inputs
and getting the result staright away.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Inputs for Goal Seek Command

Thanks Bernard. Let me try to put forward the actual scenario he
For a telecom project to dimension for certain number of subscribers, I am
prepearing a worksheet based tool. This sheet will be used a number of times
by a number of team members working on such projects. The target value of
subscribers (T) is known and fixed for a particular assignment which depends
on lot of factors. But one of the factors (Let's say X) is mainly driving all
other factors involved in reaching the target value. This X has to be
proposed and through iteration process, I have to reach the actual target
(T). In order to achieve this, I am trying to use Goal Seek function. I don't
want each user to do the Goal seek function manually. Instead I want to load
this action in a macro and add command button in worksheet to trigger this
automatically and execute based on assigned values in reference cells. In
Goal seek I have to enter values for three fields. The problem here is that I
can not assign reference cell to one of the three fields in this Goal Seek
Dialogue (Which is my target value). If I could do that, i can simply refer
this to my target cells, load this action in Macro and create a button in my
worksheet to trigger and execute this as a single click. Thus users need not
to enter values each time they do this exercise (thus eliminating any
probability of error in data entry).

I have tried to explore "Solver" but the limitation is the same that I have
to enter the target values in Solver Dialoue and I can not refer that field
to a particluar cell".

I hope above is a clear picture of the problem I am facing. I am very much
hopeful that you may help me sort this out.

Regards,
Mueen Sehdi



"Bernard Liengme" wrote:

Without seeing the actual problem, my guess would be that you would be
better off using Solver.
Solver is far more powerful that Goal Seek
Do you wish to share with us a sample problem?
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"MUEEN SEHDI" wrote in message
...
This query is with reference to Goal Seek function in Excel 2007.

While entering the inputs for its dialogue, the second parameter ""To
Value"
has to be entered manually as a value. Instead of entering value here, we
can
not reference this field to any cell in worksheet (As the application does
not allow you for this).

Is there any alternative solution to declare some deafult cell locations
as
inputs to all 3 fields of the Goal Seek dialogue thus automating the
inputs
and getting the result staright away.



.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default Inputs for Goal Seek Command

Without trying to understand your complex problem I will focus on your
statement
I have tried to explore "Solver" but the limitation is the same that I
have
to enter the target values in Solver Dialogue and I can not refer that
field
to a particular cell".


Here is a simple scenario to show you how to do what you want: refer to a
cell in a Value problem
In A1 enter some number like 3
In A2 enter the formula =A1^2-10 (with A1=3, the result is -1)
Suppose I want Solver to alter A1 such that A2 has a result of 100
In A3 enter 100 (my target value)
Open Solver dialog; clear the box labeled Set Target Cell (select what is in
it and hit Delete key)
In the By Changing box enter A1
The add this constraint A2=A3
Hit the Solve button
Solver finds that with A1=10.488....., A1^2-10 has value of 100

This is the correct way to use Solver. The Set Target Cell should be used
only for Min/Max problems and never for Value problems

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"MUEEN SEHDI" wrote in message
...
Thanks Bernard. Let me try to put forward the actual scenario he
For a telecom project to dimension for certain number of subscribers, I am
prepearing a worksheet based tool. This sheet will be used a number of
times
by a number of team members working on such projects. The target value of
subscribers (T) is known and fixed for a particular assignment which
depends
on lot of factors. But one of the factors (Let's say X) is mainly driving
all
other factors involved in reaching the target value. This X has to be
proposed and through iteration process, I have to reach the actual target
(T). In order to achieve this, I am trying to use Goal Seek function. I
don't
want each user to do the Goal seek function manually. Instead I want to
load
this action in a macro and add command button in worksheet to trigger this
automatically and execute based on assigned values in reference cells. In
Goal seek I have to enter values for three fields. The problem here is
that I
can not assign reference cell to one of the three fields in this Goal Seek
Dialogue (Which is my target value). If I could do that, i can simply
refer
this to my target cells, load this action in Macro and create a button in
my
worksheet to trigger and execute this as a single click. Thus users need
not
to enter values each time they do this exercise (thus eliminating any
probability of error in data entry).

I have tried to explore "Solver" but the limitation is the same that I
have
to enter the target values in Solver Dialoue and I can not refer that
field
to a particluar cell".

I hope above is a clear picture of the problem I am facing. I am very much
hopeful that you may help me sort this out.

Regards,
Mueen Sehdi



"Bernard Liengme" wrote:

Without seeing the actual problem, my guess would be that you would be
better off using Solver.
Solver is far more powerful that Goal Seek
Do you wish to share with us a sample problem?
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"MUEEN SEHDI" wrote in message
...
This query is with reference to Goal Seek function in Excel 2007.

While entering the inputs for its dialogue, the second parameter ""To
Value"
has to be entered manually as a value. Instead of entering value here,
we
can
not reference this field to any cell in worksheet (As the application
does
not allow you for this).

Is there any alternative solution to declare some deafult cell
locations
as
inputs to all 3 fields of the Goal Seek dialogue thus automating the
inputs
and getting the result staright away.



.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 947
Default Inputs for Goal Seek Command

I can not refer that field to a particular cell".

Just an idea. You can't reference a cell by itself, but in VBA, you can
set it to the "Value" of that cell. Perhaps...

Sub Demo()
[A1] = 3
[A2].Formula = "=A1^2-10"
[A3] = 100

[A2].GoalSeek [A3].Value, [A1]
End Sub

= = = = = = = =
Dana DeLouis



Bernard Liengme wrote:
Without trying to understand your complex problem I will focus on your
statement
I have tried to explore "Solver" but the limitation is the same that I
have
to enter the target values in Solver Dialogue and I can not refer that
field
to a particular cell".


Here is a simple scenario to show you how to do what you want: refer to a
cell in a Value problem
In A1 enter some number like 3
In A2 enter the formula =A1^2-10 (with A1=3, the result is -1)
Suppose I want Solver to alter A1 such that A2 has a result of 100
In A3 enter 100 (my target value)
Open Solver dialog; clear the box labeled Set Target Cell (select what is in
it and hit Delete key)
In the By Changing box enter A1
The add this constraint A2=A3
Hit the Solve button
Solver finds that with A1=10.488....., A1^2-10 has value of 100

This is the correct way to use Solver. The Set Target Cell should be used
only for Min/Max problems and never for Value problems

best wishes

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vba GOAL SEEK Paulo New Users to Excel 1 July 28th 08 09:40 PM
Goal Seek Tarig Excel Discussion (Misc queries) 3 February 23rd 08 10:24 PM
goal seek tikchye_oldLearner57 Excel Discussion (Misc queries) 3 August 31st 06 02:52 PM
Goal seek gone [email protected] Excel Worksheet Functions 2 August 29th 06 04:57 PM
Goal Seek Jake Excel Discussion (Misc queries) 1 June 12th 05 05:55 AM


All times are GMT +1. The time now is 06:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"