Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default Goal Seeking to a Cell instead of a hard number

I am trying to goal seek to a specific cell. Is it possible to do so without
typing in a hard number?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Goal Seeking to a Cell instead of a hard number

Nate.

You would need to use code:

Sub NateGoalSeek()
Range("A3").GoalSeek Goal:=Range("A2").Value, ChangingCell:=Range("A1")
End Sub

In this example, we are seeking to set the value returned by the formula in cell A3 equal to the
value entered in cell A2 by changing cell A1 (all of the activesheet).

HTH,
Bernie
MS Excel MVP


"nate" wrote in message
...
I am trying to goal seek to a specific cell. Is it possible to do so without
typing in a hard number?



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
Hard CR in a Cell Brian Excel Discussion (Misc queries) 2 December 7th 06 12:52 AM
Hard values to convert to number Guilherme Loretti Excel Discussion (Misc queries) 4 May 9th 06 11:14 PM
Seeking an alternative to blank ("") cell in IF arguments KG Excel Discussion (Misc queries) 4 May 30th 05 01:11 AM
formula won't work unless column of data is a hard number Ron Excel Worksheet Functions 2 May 17th 05 03:21 PM
Excel formula randomly changes to hard-code number Ned Excel Discussion (Misc queries) 3 February 14th 05 11:31 PM


All times are GMT +1. The time now is 07:16 PM.

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"