Hi all,
Vlookup is bringing 1st line data in column B from column F, how can I bring 2nd & 3rd line data if order number is same?
Vlookup is bringing 1st line data in column B from column F, how can I bring 2nd & 3rd line data if order number is same?
Book1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Finance | Sales | |||||||
2 | Account | Order No. | Reference No. | Account | Order No. | Reference No. | |||
3 | 4300 | 1119 | AB12 | 4300 | 1119 | AB12 | |||
4 | 4300 | 1119 | AB12 | 4300 | 1120 | AB13 | |||
5 | 4301 | 1130 | AB14 | 4301 | 1130 | AB14 | |||
6 | 4302 | 1131 | AB15 | 4302 | 1131 | AB15 | |||
7 | 4302 | 1131 | AB15 | 4302 | 1132 | AB16 | |||
8 | 4302 | 1131 | AB15 | 4302 | 1133 | AB17 | |||
9 | 4302 | 1131 | AB15 | 4302 | 1134 | AB18 | |||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B3:B9 | B3 | =VLOOKUP($A3,$E$3:$G$9,2,0) |
C3:C9 | C3 | =VLOOKUP($A3,$E$3:$G$9,3,0) |