Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / March 2008

Tip: Looking for answers? Try searching our database.

using Excel Solver

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kenneth - 24 Mar 2008 10:16 GMT
From A1 to A100, i got value from 1 to 100 (A1 will be value 1, A2 will be
value 2 and so on).

how do i get excel solver to choose for me cells that can possibly add up to
a value of 22?
Jarek Kujawa - 24 Mar 2008 10:23 GMT
would you expand?

how many cells?
Bernard Liengme - 24 Mar 2008 12:56 GMT
Put 1 in each cell in B1:B100
In C1 enter =SUMPRODUCT(A1:A100,B1:B100)
Solver:
Target C1; Value 22
By changing B1:B100
Constraint B1:B100 binary
Solve
There can be many answers, Solver gives one that depends on initial state
best wishes
Signature

Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

> From A1 to A100, i got value from 1 to 100 (A1 will be value 1, A2 will be
> value 2 and so on).
>
> how do i get excel solver to choose for me cells that can possibly add up
> to
> a value of 22?
Dana DeLouis - 24 Mar 2008 15:23 GMT
> There can be many answers, Solver gives one that depends on initial state
> best wishes

Just to mention...combination theory says there are 89 Solutions to this
particular problem.

Signature

Dana DeLouis

> Put 1 in each cell in B1:B100
> In C1 enter =SUMPRODUCT(A1:A100,B1:B100)
[quoted text clipped - 12 lines]
>> to
>> a value of 22?
Kenneth - 25 Mar 2008 02:02 GMT
thanks a lot! (:

> Put 1 in each cell in B1:B100
> In C1 enter =SUMPRODUCT(A1:A100,B1:B100)
[quoted text clipped - 11 lines]
> > to
> > a value of 22?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.