Spreadsheet: 801551d1666254920-formula-to-give-all-the-possible-combinations-data-eduardo_v1
Sheet: Data

Data 1 | Data 2 | Data 3 | Return |  | 2 Variables |  |  |  | 3 Variables
B | E | H | 10 |  |  | Qty | Sum returns |  |  | Qty | Sum returns
B | F | I | 10 |  | A-D |  |  |  | A-D-G
A | D | G | 10 |  | A-E |  |  |  | A-D-H
B | E | G | 10 |  | A-F |  |  |  | A-D-I
B | E | G | 10 |  | B-D |  |  |  | A-E-G
B | E | H | 10 |  | etc |  |  |  | A-E-H
A | E | G | -49 |  |  |  |  |  | A-E-I
A | E | G | 10 |  |  |  |  |  | A-F-G
A | F | I | 10 |  |  |  |  |  | A-F-H
B | F | G | 10 |  |  |  |  |  | A-F-I
B | F | I | -48 |  |  |  |  |  | etc
B | E | G | 10
B | F | I | 10
A | D | I | 10
B | E | H | 10
B | F | I | -44.78
B | D | I | 10
B | F | I | 10
B | E | H | 10
A | D | I | 10
C | D | I | 10
C | E | G | 10
A | E | H | 10
A | F | I | 10
A | E | H | 10
B | D | G | 10
A | E | G | 10
C | F | G | 10
B | E | H | 10
A | F | I | 10
C | F | I | 10
C | E | H | -41.27
C | D | I | 10
C | F | I | 10
A | E | G | 10
B | E | G | 10
B | F | I | 10
B | F | I | 10
A | E | H | -54
A | F | I | 10
A | D | I | 10
B | D | I | -46
B | E | H | 10
A | F | I | 10
A | F | I | 10
B | E | H | 10
C | D | I | 10
C | F | I | 10
A | D | G | -44.02
C | F | I | 10
B | D | I | 10
B | E | H | 10
C | E | H | 10
C | D | I | 10
A | D | I | 10
A | F | I | 10
B | D | I | -56
A | D | G | 10
B | D | G | 10
C | E | H | 10
A | D | I | 10
C | F | G | -41.98
B | D | G | 10
A | E | H | 10
A | D | I | 10
B | E | H | 10
B | D | I | 10
C | E | H | 10
C | E | H | 10
B | F | I | 10
A | D | I | -58
B | F | G | 10
A | E | H | 10
B | F | I | -41.39
B | F | G | 10
B | D | I | 10
B | F | I | 10
C | D | I | 10
C | D | I | -41
C | E | G | 10
C | D | I | 10
B | D | I | 10
C | F | I | 10
C | E | H | 10
A | D | I | 10
C | E | H | 10
C | E | H | 10
A | D | I | 10
C | F | I | 10
C | D | I | 10
B | E | H | -45
B | F | G | 10
B | D | G | 10
C | D | G | 10
C | D | I | 10
C | D | G | 10
C | D | I | 10
C | F | G | 10
C | E | H | 10
A | F | I | 10
A | D | I | 10
A | F | I | 10
A | D | I | 10
B | D | I | 10
B | E | H | 10
B | D | I | 10
B | D | G | 10
B | D | G | 10
C | F | I | 10
C | D | I | 10
C | F | I | 10
A | F | I | 10
A | E | H | 10
C | D | G | -49.2
B | D | I | 10
B | D | I | 10
C | D | G | 10
B | F | G | 10
C | E | G | 10
B | D | I | 10
A | D | I | 10
C | F | I | 10
A | F | G | 10
A | F | G | 10
A | D | G | 10
C | F | G | 10
A | D | G | -50
B | F | I | -57.44
B | F | I | 10
A | F | G | 10
C | E | G | 10
A | F | I | 10
B | D | G | 10
C | E | H | -47.62
C | F | I | 10
A | E | H | 10
B | E | G | 10
B | E | G | 10
C | F | I | 10
B | D | I | 10
B | E | H | 10
A | E | H | 10
A | E | H | 10
B | F | G | -56
C | D | G | 10
A | E | H | 10
C | D | I | 10
C | F | G | 10
A | D | G | 10
B | F | I | -42.88
B | E | H | 10
A | F | I | -50.84
C | E | G | -42.97
A | F | I | 10
C | E | H | 10
C | F | I | 10
C | D | I | 10
B | E | H | 10
B | F | G | 10
C | D | I | 10
C | E | H | 10
C | F | I | 10
B | E | H | 10
B | D | G | 10
A | E | G | 10
A | D | G | 10
A | D | I | 10
B | D | I | 10
A | D | I | 10
A | D | I | 10
B | F | G | 10
A | D | I | 10
B | D | I | 10
A | E | H | 10
B | D | I | 10
A | E | H | 10
C | F | G | -52
C | E | H | 10
A | D | G | 10
C | D | I | 10
C | E | G | 10
A | F | I | -49.47
A | D | I | 10
B | E | H | -45.61
B | E | G | 10
C | E | H | 10
A | E | G | 10
C | E | H | 10
A | E | G | -56.41
B | D | I | -56
A | D | I | -42.11
C | E | H | 10
C | F | I | 10
A | D | I | 10
C | E | G | 10
A | D | G | 10
A | E | H | 10
C | E | G | -43.41
B | F | I | 10
B | F | G | 10
C | E | H | 10
C | F | I | 10
A | F | I | 10
C | D | I | 10
C | D | G | -48.02
A | D | I | 10
B | E | H | 10
C | D | I | 10
A | F | I | 10
C | F | I | -41.01
B | E | H | 10
B | F | I | 10
A | F | I | -57.67
B | F | I | 10
C | F | I | 10
A | E | G | 10
B | D | I | 10
A | D | I | 10
B | E | H | 10
B | D | I | 10
C | F | I | -58
C | F | G | 10
A | D | G | -44.83
B | E | G | 10
B | D | G | 10
A | D | I | 10
C | F | I | 10
C | D | I | 10
C | F | G | 10
B | D | G | 10
B | D | G | 10
B | D | G | 10
C | D | G | -40.78
B | F | I | 10
A | D | I | 10
C | E | H | 10
B | D | G | 10
C | E | H | 10
C | D | I | -52
C | F | I | 10
A | E | G | 10
A | F | I | 10
A | F | I | 10
B | F | G | -55.95
B | D | I | 10
C | E | H | 10
C | D | G | 10
B | F | I | 10
B | D | I | 10
C | E | H | 10
B | D | I | 10
A | F | I | -53.74
C | E | H | 10
B | F | G | 10
A | D | I | -57.04
B | D | I | 10
A | F | I | 10
C | D | I | 10
C | D | I | 10
B | E | H | 10
C | D | G | 10
C | D | I | 10
C | D | I | 10
C | F | G | -46.19
C | E | H | 10
A | E | H | 10
C | E | H | -51.95
C | E | G | 10
A | F | I | 10
B | F | I | 10
B | F | I | 10
B | D | G | 10
A | D | I | 10
A | D | G | 10
C | E | H | -43.29
A | F | I | 10
C | E | G | 10
A | D | I | 10
C | F | G | 10
B | D | I | 10
A | D | G | 10
B | E | H | 10
C | F | I | 10
A | E | H | 10
C | D | I | 10
A | F | I | 10
C | E | G | 10
B | D | I | 10
C | D | I | -56
B | E | H | 10
B | E | G | 10
A | F | I | 10
C | D | I | 10
B | D | I | 10
B | F | G | 10
C | D | I | 10
C | E | H | 10
A | E | H | 10
C | D | I | 10
B | D | G | 10
B | F | G | 10
C | D | I | 10
C | F | G | 10
C | F | I | 10
A | D | I | 10
B | E | H | 10
A | F | I | 10
A | D | G | 10
B | E | G | 10
C | F | I | 10
A | D | I | 10
A | E | G | 10
C | E | G | -56.38
B | F | G | 10
A | E | G | 10
C | D | G | 10
A | F | I | 10
B | F | G | 10
A | F | I | 10
B | D | G | 10
C | F | G | 10
A | F | I | 10
A | D | I | 10
A | F | I | 10
B | D | G | 10
A | F | I | 10
A | E | H | 10
A | D | I | 10
A | E | H | 10
C | E | H | 10
C | F | I | 10
C | E | G | -47.23
B | D | I | 10
A | D | G | 10
A | E | G | -54
C | D | G | 10
A | D | G | 10
C | F | I | 10
B | F | I | -47.04
A | E | G | 10
B | D | I | 10
C | F | G | -56.31
A | F | I | 10
A | E | G | 10
B | D | G | 10
B | D | I | 10
A | D | I | 10
C | E | H | 10
C | E | G | 10
C | D | I | -53.58
B | F | I | -48.81
C | F | I | 10
A | E | H | 10
B | D | G | 10
C | D | I | 10
B | F | G | -49.05
A | E | H | 10
C | D | G | 10
A | E | H | 10
A | D | I | 10
B | E | H | -56.69
A | E | H | 10
B | D | I | 10
C | D | G | -41.94
C | E | G | 10
A | D | I | 10
B | D | I | 10
C | F | I | 10
B | F | I | 10
C | E | G | 10
A | F | I | -48.17
B | D | G | 10
C | E | H | 10
B | D | I | 10
B | D | I | -57.88
A | F | I | 10
C | F | I | -54.15
B | F | I | 10
C | E | H | 10
B | D | I | -47.6
B | D | I | -41
B | E | G | 10
B | F | I | 10
A | E | H | 10
B | E | H | 10
A | E | H | 10
B | D | G | 10
A | D | I | 10
B | E | H | 10
B | F | G | 10
B | E | G | 10
A | F | I | 10
C | F | I | 10
B | D | I | 10
B | E | H | -47.57
A | D | G | 10
B | D | I | 10
C | D | I | 10
C | F | I | 10
B | E | G | 10
B | D | I | 10
B | D | I | 10
C | F | I | -57.59
A | E | H | 10
A | D | I | 10
B | F | G | 10
B | E | H | 10
B | F | G | 10
C | F | I | 10
C | D | G | 10
B | E | H | 10
B | E | G | 10
A | F | I | 10
C | E | G | 10
C | D | I | -55.08
A | F | I | -41.13
A | F | G | 10
B | E | G | 10
C | D | I | 10
C | D | I | 10
C | F | G | 10
A | D | I | 10
B | F | I | 10
C | D | G | 10
A | F | G | 10
A | F | I | 10
C | D | G | 10
B | F | I | 10
A | E | H | 10
B | D | G | 10
B | D | I | 10
B | D | G | 10
A | E | G | 10
B | E | H | 10
A | E | H | 10
B | F | I | 10
A | D | I | 10
A | E | G | 10
C | D | G | 10
C | E | H | -52.6
B | F | I | 10
C | D | I | 10
C | D | G | 10
A | E | G | 10
B | D | G | 10
A | E | G | 10
C | F | I | 10
B | F | I | 10
C | F | I | 10
C | E | G | 10
C | F | G | 10
B | F | I | 10
A | D | G | 10
B | F | I | 10
C | E | G | 10
A | E | H | 10
C | D | I | 10
A | D | I | 10
B | E | G | 10
C | D | I | 10
C | F | G | 10
B | F | I | 10
C | D | I | 10
B | F | I | 10
A | D | G | 10
B | F | G | 10
C | F | G | 10
C | F | G | 10
B | F | I | 10
A | F | I | 10
C | F | G | 10
B | D | I | 10
C | D | G | 10
C | F | I | -58.25
C | D | G | 10
A | D | G | 10
C | E | H | 10
A | F | I | 10
A | E | H | 10
B | E | H | 10
B | D | I | 10
A | E | G | 10
C | D | I | 10
B | D | G | 10
A | F | I | 10
A | D | I | -54
B | F | G | 10
A | E | G | 10
C | F | I | 10
B | E | H | 10
B | E | G | 10
A | E | G | 10
B | F | I | 10
A | F | G | 10
A | E | G | 10
C | E | G | 10
C | F | I | 10
B | D | I | -52
C | D | I | 10
B | E | G | 10
A | E | H | 10
B | D | G | 10
B | F | I | 10
A | D | I | 10
A | D | I | 10
C | F | I | 10
B | E | H | 10
A | E | H | 10
C | F | I | 10
C | E | H | 10
A | D | G | 10
B | F | I | 10
C | D | I | 10
B | E | H | 10
A | D | G | 10
B | D | G | 10
A | F | I | 10
A | D | I | 10
B | F | I | 10
A | F | I | 10
B | F | I | 10
A | F | I | 10
C | E | H | -40.46
A | E | H | 10
C | F | I | 10
B | F | G | 10
B | E | H | 10
A | E | G | 10
A | F | I | 10
A | F | G | -53.28
B | E | H | 10
B | D | I | 10
A | E | H | 10