Strange sum question

empty2276

New Member
Joined
Oct 16, 2006
Messages
1
I have a total. And I have 85 data points. Some sum of the 85 points equals the total. I dont know how many of the points are used to make the sum...any ideas? I thought Solver might be able to do it, but I havent used it so long. an example is below.

7
5
9
6
24

sum=16

the only combination of numbers would be 9+7.
but the population is 85...and it involves more then 2 of the numbers, but not all.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Welcome to the board.

If column A is your values (7,5,9,6,24, etc.), set D1 = SUMPRODUCT(A1:A85,B1:B85)

Then, configure your solver model so you set D1 to a value of 16 by changing B1:B85 with the constraint that B1:B85 are binary.
 
Upvote 0

Forum statistics

Threads
1,215,417
Messages
6,124,791
Members
449,188
Latest member
Hoffk036

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top