A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Column B can be hidden | Options | Result | Options | Result | ||||||||||||||||||||||
2 | Option A | A | =JOIN("",IFERROR(SORT(FILTER(B:B,C:C),1,TRUE))) | A | Selected A | A | Selected A | ||||||||||||||||||||
3 | Option B | B | ACD | <- What checkboxes are marked | B | Selected B | AB | Selected A and B | |||||||||||||||||||
4 | Option C | C | C | Selected C | ABC | Selected A, B, and C | |||||||||||||||||||||
5 | Option D | D | =XLOOKUP(...,sorted_lookup_table[Options],sorted_lookup_table[Result],"NOT AVAILABLE",-1,2) | D | Selected D | ABCD | Selected all | ||||||||||||||||||||
6 | Selected A, C, and D | <- Result comes from a lookup in the sorted_lookup_table If the result does not exists it looks for the previous match (e.g. if ACD was not in the result table, then it would return "Selected A and C") | AB | Selected A and B | ABD | Selected A, B, and D | |||||||||||||||||||||
7 | AC | Selected A and C | AC | Selected A and C | |||||||||||||||||||||||
8 | ^ To only check for exact matches, replace the -1 in the formula for a 0. | AD | Selected A and D | ACD | Selected A, C, and D | ||||||||||||||||||||||
9 | BC | Selected B and C | AD | Selected A and D | |||||||||||||||||||||||
10 | BD | Selected B and D | B | Selected B | |||||||||||||||||||||||
11 | CD | Selected C and D | BC | Selected B and C | |||||||||||||||||||||||
12 | ABC | Selected A, B, and C | BCD | Selected B, C, and D | |||||||||||||||||||||||
13 | ABD | Selected A, B, and D | BD | Selected B and D | |||||||||||||||||||||||
14 | ACD | Selected A, C, and D | C | Selected C | |||||||||||||||||||||||
15 | BCD | Selected B, C, and D | CD | Selected C and D | |||||||||||||||||||||||
16 | ABCD | Selected all | D | Selected D | |||||||||||||||||||||||
17 | |||||||||||||||||||||||||||
18 | |||||||||||||||||||||||||||
19 | |||||||||||||||||||||||||||
20 | |||||||||||||||||||||||||||
21 | |||||||||||||||||||||||||||
22 | |||||||||||||||||||||||||||
23 | |||||||||||||||||||||||||||
24 | |||||||||||||||||||||||||||
25 | |||||||||||||||||||||||||||
26 | |||||||||||||||||||||||||||
27 | |||||||||||||||||||||||||||
28 | |||||||||||||||||||||||||||
29 | |||||||||||||||||||||||||||
30 | |||||||||||||||||||||||||||
31 | |||||||||||||||||||||||||||
32 | |||||||||||||||||||||||||||
33 | |||||||||||||||||||||||||||
34 | |||||||||||||||||||||||||||
35 | |||||||||||||||||||||||||||
36 | |||||||||||||||||||||||||||
37 | |||||||||||||||||||||||||||
38 | |||||||||||||||||||||||||||
39 | |||||||||||||||||||||||||||
40 | |||||||||||||||||||||||||||
41 | |||||||||||||||||||||||||||
42 | |||||||||||||||||||||||||||
43 | |||||||||||||||||||||||||||
44 | |||||||||||||||||||||||||||
45 | |||||||||||||||||||||||||||
46 | |||||||||||||||||||||||||||
47 | |||||||||||||||||||||||||||
48 | |||||||||||||||||||||||||||
49 | |||||||||||||||||||||||||||
50 | |||||||||||||||||||||||||||
51 | |||||||||||||||||||||||||||
52 | |||||||||||||||||||||||||||
53 | |||||||||||||||||||||||||||
54 | |||||||||||||||||||||||||||
55 | |||||||||||||||||||||||||||
56 | |||||||||||||||||||||||||||
57 | |||||||||||||||||||||||||||
58 | |||||||||||||||||||||||||||
59 | |||||||||||||||||||||||||||
60 | |||||||||||||||||||||||||||
61 | |||||||||||||||||||||||||||
62 | |||||||||||||||||||||||||||
63 | |||||||||||||||||||||||||||
64 | |||||||||||||||||||||||||||
65 | |||||||||||||||||||||||||||
66 | |||||||||||||||||||||||||||
67 | |||||||||||||||||||||||||||
68 | |||||||||||||||||||||||||||
69 | |||||||||||||||||||||||||||
70 | |||||||||||||||||||||||||||
71 | |||||||||||||||||||||||||||
72 | |||||||||||||||||||||||||||
73 | |||||||||||||||||||||||||||
74 | |||||||||||||||||||||||||||
75 | |||||||||||||||||||||||||||
76 | |||||||||||||||||||||||||||
77 | |||||||||||||||||||||||||||
78 | |||||||||||||||||||||||||||
79 | |||||||||||||||||||||||||||
80 | |||||||||||||||||||||||||||
81 | |||||||||||||||||||||||||||
82 | |||||||||||||||||||||||||||
83 | |||||||||||||||||||||||||||
84 | |||||||||||||||||||||||||||
85 | |||||||||||||||||||||||||||
86 | |||||||||||||||||||||||||||
87 | |||||||||||||||||||||||||||
88 | |||||||||||||||||||||||||||
89 | |||||||||||||||||||||||||||
90 | |||||||||||||||||||||||||||
91 | |||||||||||||||||||||||||||
92 | |||||||||||||||||||||||||||
93 | |||||||||||||||||||||||||||
94 | |||||||||||||||||||||||||||
95 | |||||||||||||||||||||||||||
96 | |||||||||||||||||||||||||||
97 | |||||||||||||||||||||||||||
98 | |||||||||||||||||||||||||||
99 | |||||||||||||||||||||||||||
100 |