Hello,
I have got 42 random numbers in 3 rows and in 14 columns in cells D6:Q8 my task is to pick 1 number from each column and use 14 columns (make set of 14 numbers) with Min and Max of sums
In the example given below you can see the min sum could be made = 126 and the max sum = 484
I need macro which and list all possible sets can be formed between Min & Max sum (in this given example case all between 126 & 484)
Here is the sample data
Thank you all
Excel 2000
Regards,
Moti
I have got 42 random numbers in 3 rows and in 14 columns in cells D6:Q8 my task is to pick 1 number from each column and use 14 columns (make set of 14 numbers) with Min and Max of sums
In the example given below you can see the min sum could be made = 126 and the max sum = 484
I need macro which and list all possible sets can be formed between Min & Max sum (in this given example case all between 126 & 484)
Here is the sample data
Book1 | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | |||
1 | ||||||||||||||||||
2 | ||||||||||||||||||
3 | ||||||||||||||||||
4 | ||||||||||||||||||
5 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | C11 | C12 | C13 | C14 | ||||
6 | Row 1 | 5 | 45 | 25 | 44 | 15 | 5 | 71 | 3 | 0 | 13 | 0 | 8 | 28 | 15 | |||
7 | Row 2 | 36 | 29 | 13 | 84 | 1 | 45 | 46 | 2 | 31 | 2 | 9 | 2 | 27 | 32 | |||
8 | Row 3 | 8 | 5 | 6 | 86 | 6 | 14 | 44 | 24 | 17 | 17 | 12 | 17 | 10 | 0 | |||
9 | ||||||||||||||||||
10 | ||||||||||||||||||
11 | Min Sum | 5 | 5 | 6 | 44 | 1 | 5 | 44 | 2 | 0 | 2 | 0 | 2 | 10 | 0 | 126 | ||
12 | ||||||||||||||||||
13 | Max Sum | 36 | 45 | 25 | 86 | 15 | 45 | 71 | 24 | 31 | 17 | 12 | 17 | 28 | 32 | 484 | ||
14 | ||||||||||||||||||
15 | ||||||||||||||||||
16 | ||||||||||||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
R11 | =SUM(D11:Q11) | |
R13 | =SUM(D13:Q13) |
Thank you all
Excel 2000
Regards,
Moti
Last edited: