+ Reply to Thread
Results 1 to 11 of 11

Goal Seek an Entire Column

  1. #1
    Registered User
    Join Date
    01-12-2015
    Location
    Houston, Tx
    MS-Off Ver
    Office 365
    Posts
    5

    Goal Seek an Entire Column

    Hi!

    I am wanting to perform goal seek simultaneously on an entire column of data. I would like to have the cells from G3:G10000 set equal to 0 by changing cells F3:F10000.

    Thanks for any help!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Goal Seek an Entire Column

    Goal seek can only change a single cell. Solver can change more cells toward meeting an objective function, but not that many.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    01-12-2015
    Location
    Houston, Tx
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Goal Seek an Entire Column

    I was hoping a macro could be used to change each set of cells so that I don't have to perform goal seek 10000 times.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Goal Seek an Entire Column

    That's easy, as long as only one cell needs to change at a time in each row.

  5. #5
    Registered User
    Join Date
    01-12-2015
    Location
    Houston, Tx
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Goal Seek an Entire Column

    Yes. I want G3 set equal to zero by changing F3, G4=0 by changing F4, etc. I just have no experience with macros. I have tried modifying some that I have seen posted and recording my own and then modifying, but keep getting compiling errors.

  6. #6
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Goal Seek an Entire Column

    Can you attach a file to get your request clearly?

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Goal Seek an Entire Column

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    01-12-2015
    Location
    Houston, Tx
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Goal Seek an Entire Column

    I had to delete some rows to reduce the file size for uploading.


    GCS-CS Distance Variation.xlsm

  9. #9
    Registered User
    Join Date
    01-12-2015
    Location
    Houston, Tx
    MS-Off Ver
    Office 365
    Posts
    5

    Re: Goal Seek an Entire Column

    Thank you! This worked perfectly!

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Goal Seek an Entire Column

    You're welcome.

  11. #11
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Goal Seek an Entire Column

    I think it takes a long time to do the task
    Is there a way to reduce the time spent to run the code?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 07-27-2012, 01:44 PM
  2. [SOLVED] Goal seek entire column
    By Test123Test in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2012, 04:10 PM
  3. Goal Seek VBA with relative 'Goal' parameter
    By alirulez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2012, 07:19 PM
  4. Using Macro to automate goal seek in one column range
    By Hendra S in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2011, 07:49 AM
  5. Goal Seek Formula But Not Using Goal Seek
    By cady923 in forum Excel General
    Replies: 1
    Last Post: 08-05-2011, 03:53 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1