Spreadsheet: 104068d1301685133-vlookup-with-multiple-criteria-example
Sheet: Sheet1

 | Trade Type($ or Shares)>> |  | $
# | Ticker | Shares | Side | [NAME] | Dollar Value |  |  | Input Trades $
1 |  |  |  |  |  |  |  | # | 1
2 |  |  |  |  |  |  |  |  | B Value | 100000 |  | Target | Buy
3 |  |  |  |  |  |  |  |  | S Value | -100000 |  | Basket | [NAME]
4
5 |  |  |  |  |  |  |  |  | Ticker | Last Price | % Change | Shares | Dollar Value | [NAME] | Side
6 |  |  |  |  |  |  |  | 1 | LCC | 8.76 | 0.0057
7 |  |  |  |  |  |  |  | 2
8 |  |  |  |  |  |  |  | 3
9 |  |  |  |  |  |  |  | 4
10 |  |  |  |  |  |  |  | 5
11 |  |  |  |  |  |  |  | 6
12 |  |  |  |  |  |  |  | 7
13 |  |  |  |  |  |  |  | 8
14 |  |  |  |  |  |  |  | 9
15 |  |  |  |  |  |  |  | 10
16
17
18 |  |  |  |  |  |  |  |  | Ticker |  |  | Shares | Dollar Value | [NAME] | Side
19 |  |  |  |  |  |  |  | 1 | AAI | 7.46 | 0.0013
20 |  |  |  |  |  |  |  | 2 | ALGT | 43.75 | -0.0014
21 |  |  |  |  |  |  |  | 3 | ALK | 62.65 | -0.0121
22 |  |  |  |  |  |  |  | 4 | CPA | 53.03 | 0.0044
23 |  |  |  |  |  |  |  | 5 | DAL | 9.7999 | 0
24 |  |  |  |  |  |  |  | 6 | HA | 5.97 | -0.0067
25 |  |  |  |  |  |  |  | 7 | [NAME] | 6.2 | -0.0112
26 |  |  |  |  |  |  |  | 8 | LUV | 12.65 | 0.0016
27 |  |  |  |  |  |  |  | 9 | RJET | 6.32 | -0.0171
28 |  |  |  |  |  |  |  | 10 | SKYW | 16.24 | -0.0402
29 |  |  |  |  |  |  |  | 11 | UAL | 22.94 | -0.0022
30 |  |  |  |  |  |  |  | 12
31 |  |  |  |  |  |  |  | 13
32 |  |  |  |  |  |  |  | 14
33 |  |  |  |  |  |  |  | 15
34 |  |  |  |  |  |  |  | 16
35 |  |  |  |  |  |  |  | 17
36 |  |  |  |  |  |  |  | 18
37 |  |  |  |  |  |  |  | 19
38 |  |  |  |  |  |  |  | 20
39
40
41 |  |  |  |  |  |  |  | # | 2
42 |  |  |  |  |  |  |  |  | B Value | 100000 |  | Target | [NAME]
43 |  |  |  |  |  |  |  |  | S Value | -100000 |  | Basket | Buy
44
45 |  |  |  |  |  |  |  |  | Ticker | Last Price | % Change | Shares | Dollar Value | [NAME] | Side
46 |  |  |  |  |  |  |  | 1 | AMR | 6.385 | -0.0116
47 |  |  |  |  |  |  |  | 2
48 |  |  |  |  |  |  |  | 3
49 |  |  |  |  |  |  |  | 4
50 |  |  |  |  |  |  |  | 5
51 |  |  |  |  |  |  |  | 6
52 |  |  |  |  |  |  |  | 7
53 |  |  |  |  |  |  |  | 8
54 |  |  |  |  |  |  |  | 9
55 |  |  |  |  |  |  |  | 10
56
57
58 |  |  |  |  |  |  |  |  | Ticker |  |  | Shares | Dollar Value | [NAME] | Side
59 |  |  |  |  |  |  |  | 1 | AAI | 7.46 | 0.0013
60 |  |  |  |  |  |  |  | 2 | ALGT | 43.75 | -0.0014
61 |  |  |  |  |  |  |  | 3 | ALK | 62.65 | -0.0121
62 |  |  |  |  |  |  |  | 4 | CPA | 53.03 | 0.0044
63 |  |  |  |  |  |  |  | 5 | DAL | 9.7999 | 0
64 |  |  |  |  |  |  |  | 6 | HA | 5.97 | -0.0067
65 |  |  |  |  |  |  |  | 7 | [NAME] | 6.2 | -0.0112
66 |  |  |  |  |  |  |  | 8 | LUV | 12.65 | 0.0016
67 |  |  |  |  |  |  |  | 9 | RJET | 6.32 | -0.0171
68 |  |  |  |  |  |  |  | 10 | SKYW | 16.24 | -0.0402
69 |  |  |  |  |  |  |  | 11 | UAL | 22.94 | -0.0022
70 |  |  |  |  |  |  |  | 12
71 |  |  |  |  |  |  |  | 13
72 |  |  |  |  |  |  |  | 14
73 |  |  |  |  |  |  |  | 15
74 |  |  |  |  |  |  |  | 16
75 |  |  |  |  |  |  |  | 17
76 |  |  |  |  |  |  |  | 18
77 |  |  |  |  |  |  |  | 19
78 |  |  |  |  |  |  |  | 20
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200