+ Reply to Thread
Results 1 to 3 of 3

Novice Solver Loop Question

  1. #1
    Registered User
    Join Date
    09-29-2013
    Location
    Desk Chair
    MS-Off Ver
    Excel 2010
    Posts
    3

    Novice Solver Loop Question

    Hi all,

    I'm a true novice with Excel, so hopefully this query is laughably easy to solve.

    I have a macro set up for Solver to run over a column of data. I want to loop Solver such that it runs this process iteratively (dragging the columns of calculations across several rows).

    SolverReset
    SolverOk SetCell:="$M$4", MaxMinVal:=2, ValueOf:=0, ByChange:="$M$7:$M$9", _
    Engine:=1, EngineDesc:="GRG Nonlinear"
    SolverAdd CellRef:="$M$10", Relation:=2, FormulaText:="1"
    SolverAdd CellRef:="$M$3", Relation:=2, FormulaText:="$M$2"
    SolverOk SetCell:="$M$4", MaxMinVal:=2, ValueOf:=0, ByChange:="$M$7:$M$9", _
    Engine:=1, EngineDesc:="GRG Nonlinear"
    SolverSolve
    The value of L2 is changing across the rows (relative reference), while cells M3:M5 contain formulae which must be consistent across all of the cells (absolute reference).

    Hopefully that's enough information. How should I go about getting a loop to function? Thank you!!

  2. #2
    Registered User
    Join Date
    09-29-2013
    Location
    Desk Chair
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Novice Solver Loop Question

    Bump.

    Please let me know if this doesn't make sense or if more information is required.

  3. #3
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Novice Solver Loop Question

    The value of L2 is changing across the rows
    Can't see any reference to L2 in you solver setup. Could you upload the file perhaps?

    Alf

+ 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. Novice just learning with a question
    By amiepeterman in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 04-16-2013, 09:30 AM
  2. Novice just learning with a question
    By amiepeterman in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 04-15-2013, 11:51 PM
  3. Question from Excel novice
    By Montaigne5 in forum Excel General
    Replies: 6
    Last Post: 03-19-2012, 06:36 AM
  4. Novice question
    By Rdknuts in forum Excel General
    Replies: 1
    Last Post: 06-08-2009, 07:49 PM
  5. novice question
    By Qiset in forum Excel General
    Replies: 2
    Last Post: 08-05-2005, 07:55 AM

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