Hello,
In the example below columns C:I in the cells C4:I12 got 9 numbers in each columns the all combination will reach 9^7 = 4,782,969 which minimum sum is 0 and max sum 162 I require a code which can only give me how much combinations could be made with each sum through 0 To 162 and the all sum total will be reach 4,782,696
Example….
<colgroup><col><col><col><col span="7"><col><col><col><col></colgroup><tbody>
</tbody>
Thank you all
Excel 2000
Regards,
Moti
In the example below columns C:I in the cells C4:I12 got 9 numbers in each columns the all combination will reach 9^7 = 4,782,969 which minimum sum is 0 and max sum 162 I require a code which can only give me how much combinations could be made with each sum through 0 To 162 and the all sum total will be reach 4,782,696
Example….
* | A | B | C | D | E | F | G | H | I | J | K | L | M |
1 | Max Each Col | 27 | 12 | 9 | 42 | 23 | 16 | 33 | 162 | ||||
2 | Total Combi | 4.782.696 | |||||||||||
3 | n1 | n2 | n3 | n4 | n5 | n6 | n7 | Sum | Combinations | ||||
4 | 1 | 2 | 1 | 1 | 1 | 4 | 3 | 0 | ? | ||||
5 | 0 | 6 | 2 | 0 | 8 | 1 | 2 | 1 | ? | ||||
6 | 2 | 12 | 4 | 6 | 18 | 10 | 8 | 2 | ? | ||||
7 | 27 | 5 | 7 | 42 | 3 | 6 | 0 | 3 | ? | ||||
8 | 12 | 4 | 8 | 2 | 23 | 14 | 6 | 4 | ? | ||||
9 | 6 | 3 | 0 | 26 | 9 | 7 | 17 | 5 | ? | ||||
10 | 3 | 1 | 3 | 12 | 6 | 0 | 1 | 6 | ? | ||||
11 | 11 | 9 | 9 | 11 | 2 | 9 | 33 | 7 | ? | ||||
12 | 9 | 0 | 5 | 40 | 0 | 16 | 19 | 8 | ? | ||||
13 | 9 | ? | |||||||||||
14 | 10 | ? | |||||||||||
15 | 11 | ? | |||||||||||
16 | 12 | ? | |||||||||||
17 | 13 | ? | |||||||||||
18 | 14 | ? | |||||||||||
19 | 15 | ? | |||||||||||
20 | 16 | ? | |||||||||||
21 | 17 | ? | |||||||||||
22 | 18 | ? | |||||||||||
23 | 19 | ? | |||||||||||
159 | 155 | ? | |||||||||||
160 | 156 | ? | |||||||||||
161 | 157 | ? | |||||||||||
162 | 158 | ? | |||||||||||
163 | 159 | ? | |||||||||||
164 | 160 | ? | |||||||||||
165 | 161 | ? | |||||||||||
166 | 162 | ? | |||||||||||
167 | |||||||||||||
168 | |||||||||||||
169 |
<colgroup><col><col><col><col span="7"><col><col><col><col></colgroup><tbody>
</tbody>
Thank you all
Excel 2000
Regards,
Moti