Book1 | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | |||
1 | Index | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Value | Index | Sum | Value combinations | Index combinations | ||||
2 | Value | 15 | 20 | 10 | 15 | 10 | 30 | 15 | 1 | 15 | 15, 20, 10, 15 | 1, 3, 4, 5 | ||||||||
3 | 20 | 3 | 20 | 15, 20, 10, 15, 10 | 1, 3, 4, 5, 6 | |||||||||||||||
4 | 15, 20 | 1, 3 | 35 | 15, 20, 10, 15, 10, 30 | 1, 3, 4, 5, 6, 9 | |||||||||||||||
5 | 10 | 4 | 10 | 15, 20, 10, 15, 30 | 1, 3, 4, 5, 9 | |||||||||||||||
6 | 15, 10 | 1, 4 | 25 | 15, 20, 10, 10 | 1, 3, 4, 6 | |||||||||||||||
7 | 20, 10 | 3, 4 | 30 | 15, 20, 10, 10, 30 | 1, 3, 4, 6, 9 | |||||||||||||||
8 | 15, 20, 10 | 1, 3, 4 | 45 | 15, 20, 10, 30 | 1, 3, 4, 9 | |||||||||||||||
9 | 15 | 5 | 15 | 15, 20, 15 | 1, 3, 5 | |||||||||||||||
10 | 15, 15 | 1, 5 | 30 | 15, 20, 15, 10 | 1, 3, 5, 6 | |||||||||||||||
11 | 20, 15 | 3, 5 | 35 | 15, 20, 15, 10, 30 | 1, 3, 5, 6, 9 | |||||||||||||||
12 | 15, 20, 15 | 1, 3, 5 | 50 | 15, 20, 15, 30 | 1, 3, 5, 9 | |||||||||||||||
13 | 10, 15 | 4, 5 | 25 | 15, 20, 10, 30 | 1, 3, 6, 9 | |||||||||||||||
14 | 15, 10, 15 | 1, 4, 5 | 40 | 15, 20, 30 | 1, 3, 9 | |||||||||||||||
15 | 20, 10, 15 | 3, 4, 5 | 45 | 15, 10, 15, 10 | 1, 4, 5, 6 | |||||||||||||||
16 | 15, 20, 10, 15 | 1, 3, 4, 5 | 60 | 15, 10, 15, 10, 30 | 1, 4, 5, 6, 9 | |||||||||||||||
17 | 10 | 6 | 10 | 15, 10, 15, 30 | 1, 4, 5, 9 | |||||||||||||||
18 | 15, 10 | 1, 6 | 25 | 15, 10, 10, 30 | 1, 4, 6, 9 | |||||||||||||||
19 | 20, 10 | 3, 6 | 30 | 15, 10, 30 | 1, 4, 9 | |||||||||||||||
20 | 15, 20, 10 | 1, 3, 6 | 45 | 15, 15, 10, 30 | 1, 5, 6, 9 | |||||||||||||||
21 | 10, 10 | 4, 6 | 20 | 15, 15, 30 | 1, 5, 9 | |||||||||||||||
22 | 15, 10, 10 | 1, 4, 6 | 35 | 15, 10, 30 | 1, 6, 9 | |||||||||||||||
23 | 20, 10, 10 | 3, 4, 6 | 40 | 20, 10, 15, 10 | 3, 4, 5, 6 | |||||||||||||||
24 | 15, 20, 10, 10 | 1, 3, 4, 6 | 55 | 20, 10, 15, 10, 30 | 3, 4, 5, 6, 9 | |||||||||||||||
25 | 15, 10 | 5, 6 | 25 | 20, 10, 15, 30 | 3, 4, 5, 9 | |||||||||||||||
26 | 15, 15, 10 | 1, 5, 6 | 40 | 20, 10, 10, 30 | 3, 4, 6, 9 | |||||||||||||||
27 | 20, 15, 10 | 3, 5, 6 | 45 | 20, 10, 30 | 3, 4, 9 | |||||||||||||||
28 | 15, 20, 15, 10 | 1, 3, 5, 6 | 60 | 20, 15, 10, 30 | 3, 5, 6, 9 | |||||||||||||||
29 | 10, 15, 10 | 4, 5, 6 | 35 | 20, 15, 30 | 3, 5, 9 | |||||||||||||||
30 | 15, 10, 15, 10 | 1, 4, 5, 6 | 50 | 20, 10, 30 | 3, 6, 9 | |||||||||||||||
31 | 20, 10, 15, 10 | 3, 4, 5, 6 | 55 | 20, 30 | 3, 9 | |||||||||||||||
32 | 15, 20, 10, 15, 10 | 1, 3, 4, 5, 6 | 70 | 10, 15, 10, 30 | 4, 5, 6, 9 | |||||||||||||||
33 | 30 | 9 | 30 | 10, 15, 30 | 4, 5, 9 | |||||||||||||||
34 | 15, 30 | 1, 9 | 45 | 10, 10, 30 | 4, 6, 9 | |||||||||||||||
35 | 20, 30 | 3, 9 | 50 | 15, 10, 30 | 5, 6, 9 | |||||||||||||||
36 | 15, 20, 30 | 1, 3, 9 | 65 | |||||||||||||||||
37 | 10, 30 | 4, 9 | 40 | |||||||||||||||||
38 | 15, 10, 30 | 1, 4, 9 | 55 | |||||||||||||||||
39 | 20, 10, 30 | 3, 4, 9 | 60 | |||||||||||||||||
40 | 15, 20, 10, 30 | 1, 3, 4, 9 | 75 | |||||||||||||||||
41 | 15, 30 | 5, 9 | 45 | |||||||||||||||||
42 | 15, 15, 30 | 1, 5, 9 | 60 | |||||||||||||||||
43 | 20, 15, 30 | 3, 5, 9 | 65 | |||||||||||||||||
44 | 15, 20, 15, 30 | 1, 3, 5, 9 | 80 | |||||||||||||||||
45 | 10, 15, 30 | 4, 5, 9 | 55 | |||||||||||||||||
46 | 15, 10, 15, 30 | 1, 4, 5, 9 | 70 | |||||||||||||||||
47 | 20, 10, 15, 30 | 3, 4, 5, 9 | 75 | |||||||||||||||||
48 | 15, 20, 10, 15, 30 | 1, 3, 4, 5, 9 | 90 | |||||||||||||||||
49 | 10, 30 | 6, 9 | 40 | |||||||||||||||||
50 | 15, 10, 30 | 1, 6, 9 | 55 | |||||||||||||||||
51 | 20, 10, 30 | 3, 6, 9 | 60 | |||||||||||||||||
52 | 15, 20, 10, 30 | 1, 3, 6, 9 | 75 | |||||||||||||||||
53 | 10, 10, 30 | 4, 6, 9 | 50 | |||||||||||||||||
54 | 15, 10, 10, 30 | 1, 4, 6, 9 | 65 | |||||||||||||||||
55 | 20, 10, 10, 30 | 3, 4, 6, 9 | 70 | |||||||||||||||||
56 | 15, 20, 10, 10, 30 | 1, 3, 4, 6, 9 | 85 | |||||||||||||||||
57 | 15, 10, 30 | 5, 6, 9 | 55 | |||||||||||||||||
58 | 15, 15, 10, 30 | 1, 5, 6, 9 | 70 | |||||||||||||||||
59 | 20, 15, 10, 30 | 3, 5, 6, 9 | 75 | |||||||||||||||||
60 | 15, 20, 15, 10, 30 | 1, 3, 5, 6, 9 | 90 | |||||||||||||||||
61 | 10, 15, 10, 30 | 4, 5, 6, 9 | 65 | |||||||||||||||||
62 | 15, 10, 15, 10, 30 | 1, 4, 5, 6, 9 | 80 | |||||||||||||||||
63 | 20, 10, 15, 10, 30 | 3, 4, 5, 6, 9 | 85 | |||||||||||||||||
64 | 15, 20, 10, 15, 10, 30 | 1, 3, 4, 5, 6, 9 | 100 | |||||||||||||||||
Sheet4 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B1:K1 | B1 | =SEQUENCE(1,10) |
M2:M64 | M2 | =DROP(MID(REDUCE(0,TOCOL(B2:K2,1),LAMBDA(a,c,VSTACK(a,a&", "&c))),4,9^9),1) |
N2:N64 | N2 | =DROP(MID(REDUCE(0,TOCOL(IFS(B2:K2<>"",B1#),2),LAMBDA(a,c,VSTACK(a,a&", "&c))),4,9^9),1) |
O2:O64 | O2 | =DROP(REDUCE(0,TOCOL(B2:K2,1),LAMBDA(a,c,VSTACK(a,a+c))),1) |
Q2:R35 | Q2 | =SORT(FILTER(M2:N64,O2#>=50),2) |
Dynamic array formulas. |
Thanks for your response.Here's a formula option.
Book1
A B C D E F G H I J K L M N O P Q R 1 Index 1 2 3 4 5 6 7 8 9 10 Value Index Sum Value combinations Index combinations 2 Value 15 20 10 15 10 30 15 1 15 15, 20, 10, 15 1, 3, 4, 5 3 20 3 20 15, 20, 10, 15, 10 1, 3, 4, 5, 6 4 15, 20 1, 3 35 15, 20, 10, 15, 10, 30 1, 3, 4, 5, 6, 9 5 10 4 10 15, 20, 10, 15, 30 1, 3, 4, 5, 9 6 15, 10 1, 4 25 15, 20, 10, 10 1, 3, 4, 6 7 20, 10 3, 4 30 15, 20, 10, 10, 30 1, 3, 4, 6, 9 8 15, 20, 10 1, 3, 4 45 15, 20, 10, 30 1, 3, 4, 9 9 15 5 15 15, 20, 15 1, 3, 5 10 15, 15 1, 5 30 15, 20, 15, 10 1, 3, 5, 6 11 20, 15 3, 5 35 15, 20, 15, 10, 30 1, 3, 5, 6, 9 12 15, 20, 15 1, 3, 5 50 15, 20, 15, 30 1, 3, 5, 9 13 10, 15 4, 5 25 15, 20, 10, 30 1, 3, 6, 9 14 15, 10, 15 1, 4, 5 40 15, 20, 30 1, 3, 9 15 20, 10, 15 3, 4, 5 45 15, 10, 15, 10 1, 4, 5, 6 16 15, 20, 10, 15 1, 3, 4, 5 60 15, 10, 15, 10, 30 1, 4, 5, 6, 9 17 10 6 10 15, 10, 15, 30 1, 4, 5, 9 18 15, 10 1, 6 25 15, 10, 10, 30 1, 4, 6, 9 19 20, 10 3, 6 30 15, 10, 30 1, 4, 9 20 15, 20, 10 1, 3, 6 45 15, 15, 10, 30 1, 5, 6, 9 21 10, 10 4, 6 20 15, 15, 30 1, 5, 9 22 15, 10, 10 1, 4, 6 35 15, 10, 30 1, 6, 9 23 20, 10, 10 3, 4, 6 40 20, 10, 15, 10 3, 4, 5, 6 24 15, 20, 10, 10 1, 3, 4, 6 55 20, 10, 15, 10, 30 3, 4, 5, 6, 9 25 15, 10 5, 6 25 20, 10, 15, 30 3, 4, 5, 9 26 15, 15, 10 1, 5, 6 40 20, 10, 10, 30 3, 4, 6, 9 27 20, 15, 10 3, 5, 6 45 20, 10, 30 3, 4, 9 28 15, 20, 15, 10 1, 3, 5, 6 60 20, 15, 10, 30 3, 5, 6, 9 29 10, 15, 10 4, 5, 6 35 20, 15, 30 3, 5, 9 30 15, 10, 15, 10 1, 4, 5, 6 50 20, 10, 30 3, 6, 9 31 20, 10, 15, 10 3, 4, 5, 6 55 20, 30 3, 9 32 15, 20, 10, 15, 10 1, 3, 4, 5, 6 70 10, 15, 10, 30 4, 5, 6, 9 33 30 9 30 10, 15, 30 4, 5, 9 34 15, 30 1, 9 45 10, 10, 30 4, 6, 9 35 20, 30 3, 9 50 15, 10, 30 5, 6, 9 36 15, 20, 30 1, 3, 9 65 37 10, 30 4, 9 40 38 15, 10, 30 1, 4, 9 55 39 20, 10, 30 3, 4, 9 60 40 15, 20, 10, 30 1, 3, 4, 9 75 41 15, 30 5, 9 45 42 15, 15, 30 1, 5, 9 60 43 20, 15, 30 3, 5, 9 65 44 15, 20, 15, 30 1, 3, 5, 9 80 45 10, 15, 30 4, 5, 9 55 46 15, 10, 15, 30 1, 4, 5, 9 70 47 20, 10, 15, 30 3, 4, 5, 9 75 48 15, 20, 10, 15, 30 1, 3, 4, 5, 9 90 49 10, 30 6, 9 40 50 15, 10, 30 1, 6, 9 55 51 20, 10, 30 3, 6, 9 60 52 15, 20, 10, 30 1, 3, 6, 9 75 53 10, 10, 30 4, 6, 9 50 54 15, 10, 10, 30 1, 4, 6, 9 65 55 20, 10, 10, 30 3, 4, 6, 9 70 56 15, 20, 10, 10, 30 1, 3, 4, 6, 9 85 57 15, 10, 30 5, 6, 9 55 58 15, 15, 10, 30 1, 5, 6, 9 70 59 20, 15, 10, 30 3, 5, 6, 9 75 60 15, 20, 15, 10, 30 1, 3, 5, 6, 9 90 61 10, 15, 10, 30 4, 5, 6, 9 65 62 15, 10, 15, 10, 30 1, 4, 5, 6, 9 80 63 20, 10, 15, 10, 30 3, 4, 5, 6, 9 85 64 15, 20, 10, 15, 10, 30 1, 3, 4, 5, 6, 9 100 Sheet4
Cell Formulas Range Formula B1:K1 B1 =SEQUENCE(1,10) M2:M64 M2 =DROP(MID(REDUCE(0,TOCOL(B2:K2,1),LAMBDA(a,c,VSTACK(a,a&", "&c))),4,9^9),1) N2:N64 N2 =DROP(MID(REDUCE(0,TOCOL(IFS(B2:K2<>"",B1#),2),LAMBDA(a,c,VSTACK(a,a&", "&c))),4,9^9),1) O2:O64 O2 =DROP(REDUCE(0,TOCOL(B2:K2,1),LAMBDA(a,c,VSTACK(a,a+c))),1) Q2:R35 Q2 =SORT(FILTER(M2:N64,O2#>=50),2) Dynamic array formulas.
139 |
359 |
349 |
369 |
159 |
149 |
169 |
459 |
569 |
1345 |
1356 |
3456 |
Column Q is the value combinations and R is the corresponding index.
Book1 | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | |||
1 | Index | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Value Combinations | Index Combinations | Sum | |||
2 | Value | 15 | 20 | 10 | 15 | 10 | 30 | 15, 20, 15 | 1, 3, 5 | 50 | |||||||
3 | 15, 10, 15, 10 | 1, 4, 5, 6 | 50 | ||||||||||||||
4 | 20, 30 | 3, 9 | 50 | ||||||||||||||
5 | 10, 10, 30 | 4, 6, 9 | 50 | ||||||||||||||
6 | 15, 20, 10, 10 | 1, 3, 4, 6 | 55 | ||||||||||||||
7 | 20, 10, 15, 10 | 3, 4, 5, 6 | 55 | ||||||||||||||
8 | 15, 10, 30 | 1, 4, 9 | 55 | ||||||||||||||
9 | 10, 15, 30 | 4, 5, 9 | 55 | ||||||||||||||
10 | 15, 10, 30 | 1, 6, 9 | 55 | ||||||||||||||
11 | 15, 10, 30 | 5, 6, 9 | 55 | ||||||||||||||
12 | 15, 20, 10, 15 | 1, 3, 4, 5 | 60 | ||||||||||||||
13 | 15, 20, 15, 10 | 1, 3, 5, 6 | 60 | ||||||||||||||
14 | 20, 10, 30 | 3, 4, 9 | 60 | ||||||||||||||
15 | 15, 15, 30 | 1, 5, 9 | 60 | ||||||||||||||
16 | 20, 10, 30 | 3, 6, 9 | 60 | ||||||||||||||
17 | 15, 20, 30 | 1, 3, 9 | 65 | ||||||||||||||
18 | 20, 15, 30 | 3, 5, 9 | 65 | ||||||||||||||
19 | 15, 10, 10, 30 | 1, 4, 6, 9 | 65 | ||||||||||||||
20 | 10, 15, 10, 30 | 4, 5, 6, 9 | 65 | ||||||||||||||
21 | 15, 20, 10, 15, 10 | 1, 3, 4, 5, 6 | 70 | ||||||||||||||
22 | 15, 10, 15, 30 | 1, 4, 5, 9 | 70 | ||||||||||||||
23 | 20, 10, 10, 30 | 3, 4, 6, 9 | 70 | ||||||||||||||
24 | 15, 15, 10, 30 | 1, 5, 6, 9 | 70 | ||||||||||||||
25 | 15, 20, 10, 30 | 1, 3, 4, 9 | 75 | ||||||||||||||
26 | 20, 10, 15, 30 | 3, 4, 5, 9 | 75 | ||||||||||||||
27 | 15, 20, 10, 30 | 1, 3, 6, 9 | 75 | ||||||||||||||
28 | 20, 15, 10, 30 | 3, 5, 6, 9 | 75 | ||||||||||||||
29 | 15, 20, 15, 30 | 1, 3, 5, 9 | 80 | ||||||||||||||
30 | 15, 10, 15, 10, 30 | 1, 4, 5, 6, 9 | 80 | ||||||||||||||
31 | 15, 20, 10, 10, 30 | 1, 3, 4, 6, 9 | 85 | ||||||||||||||
32 | 20, 10, 15, 10, 30 | 3, 4, 5, 6, 9 | 85 | ||||||||||||||
33 | 15, 20, 10, 15, 30 | 1, 3, 4, 5, 9 | 90 | ||||||||||||||
34 | 15, 20, 15, 10, 30 | 1, 3, 5, 6, 9 | 90 | ||||||||||||||
35 | 15, 20, 10, 15, 10, 30 | 1, 3, 4, 5, 6, 9 | 100 | ||||||||||||||
Sheet4 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
M2:O35 | M2 | =LET(v,DROP(MID(REDUCE(0,TOCOL(B2:K2,1),LAMBDA(a,c,VSTACK(a,a&", "&c))),4,9^9),1), ind,DROP(MID(REDUCE(0,TOCOL(IFS(B2:K2<>"",B1:K1),2),LAMBDA(a,c,VSTACK(a,a&", "&c))),4,9^9),1), s,DROP(REDUCE(0,TOCOL(B2:K2,1),LAMBDA(a,c,VSTACK(a,a+c))),1), SORT(FILTER(HSTACK(v,ind,s),s>=50),3)) |
Dynamic array formulas. |