bowers2000
New Member
- Joined
- May 16, 2008
- Messages
- 8
I had a quick question for the math/excel experts on here.
I have 10 numbers. Call it 1,2,3,4,5,6,7,8,9,10.
If you add 4 of the numbers (2+4+8+10) you get 24. If you add the other six remaining numbers (1+3+5+6+7+9) you get 31.
I need a way to figure out which numbers added together equal the sum. So in this example. I would only have the list of the 10 available numbers and the two sums. 24 and 31. I would know that 4 of them added together equal 1 sum and 6 together equal another sum. I need to find out which ones added to together produce the sum.
The numbers will not be sequential like they are in the example above.
I will always have the 2 sums. The total of the 2 sums (55) and the numbers that can be added to get to those totals. I just won't know which ones were used in which total.
Any suggestion on how to use solver and constraints or some other method to figure this out? I'm at a loss.
I have 10 numbers. Call it 1,2,3,4,5,6,7,8,9,10.
If you add 4 of the numbers (2+4+8+10) you get 24. If you add the other six remaining numbers (1+3+5+6+7+9) you get 31.
I need a way to figure out which numbers added together equal the sum. So in this example. I would only have the list of the 10 available numbers and the two sums. 24 and 31. I would know that 4 of them added together equal 1 sum and 6 together equal another sum. I need to find out which ones added to together produce the sum.
The numbers will not be sequential like they are in the example above.
I will always have the 2 sums. The total of the 2 sums (55) and the numbers that can be added to get to those totals. I just won't know which ones were used in which total.
Any suggestion on how to use solver and constraints or some other method to figure this out? I'm at a loss.