Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Varying list of input variables and cell references in Solver


  • Please log in to reply

#1
Anthony999

Anthony999

    New Member

  • Member
  • Pip
  • 3 posts

Hi,

 

I got another question.

 

I'm trying to use the Solver in Excel.  But I have a list of input variables in which the number of cells is dependent on the number in another cell.

 

For example, if Cell A1 is 4, the number input variables will be 4, and could be from A2:D2.

 

Also, for the constraints, I would like to have the cell references to be A2:D2 to be <20.

 

I have tried to named reference, but once I enter the reference, it shows the absolute cell reference (eg. A2:D2) rather than the name.

 

As a result of this, whenever I want to run, I need to refresh the input variables and the constraints, which could be quite troublesome.

 

Is it possible to overcome this without resorting to programming macros?

 

Thanks very much.

 


  • 0

Advertisements







Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP