Should be noted in the example above, cell F3 would be the cell were
the =GoalSeek formula would be entered.  Basically I want the function
to assume the "by changing" cell is itself.



On Mar 4, 9:23 am, excelCPA <[email protected]> wrote:
> I want to creat a function in Excel to use Goal Seek.  I am new to
> creating fuctions, so I'll need some help on this one.
>
> Right now I have something that looks like this which does not work:
> Function GoalSeek(Target_Cell, Goal, Changing_Cell) As Number
>
>     GoalSeek = Range(Traget_Cell).GoalSeek Goal:=Range(Goal),
> ChangingCell:=Range(Changing_Cell)
>
> I want to be able to type something like =GoalSeek(F2,100,F3)
>
> This would set cell F2 = 100 by changing cell F3
>
> Any ideas?  Thanks.

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our Facebook Group @ http://www.facebook.com/group.php?gid=287779555678
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to [email protected]

<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 6,800 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe

Reply via email to