I'm trying to query column A and column B with values from column E and column F and return the correct values from column C and column D into column G and column H.
Thx
Thx
Book1.xlsx | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | plan | grade | min | max | plan2 | grade2 | min1 | max2 | ||
2 | 1 | 25 | 100 | 200 | 1 | 35 | ?? | ?? | ||
3 | 1 | 35 | 200 | 300 | 2 | 45 | ||||
4 | 1 | 45 | 300 | 400 | 4 | 25 | ||||
5 | 1 | 55 | 400 | 500 | 2 | 55 | ||||
6 | 2 | 45 | 300 | 400 | 2 | 75 | ||||
7 | 2 | 55 | 400 | 500 | 3 | 75 | ||||
8 | 2 | 65 | 500 | 600 | 4 | 65 | ||||
9 | 2 | 75 | 600 | 700 | 1 | 55 | ||||
10 | 3 | 55 | 400 | 500 | 1 | 85 | ||||
11 | 3 | 65 | 500 | 600 | 4 | 75 | ||||
12 | 3 | 75 | 600 | 700 | 4 | 75 | ||||
13 | 3 | 85 | 700 | 800 | 3 | 55 | ||||
14 | 4 | 75 | 600 | 700 | 2 | 105 | ||||
15 | 4 | 85 | 700 | 800 | 1 | 85 | ||||
16 | 4 | 95 | 800 | 900 | 1 | 85 | ||||
17 | 4 | 105 | 900 | 1000 | 4 | 95 | ||||
Sheet3 |