P
Paul
I am struggling with a VLOOKUP with two variables.
Cell I3 =IF(lookup(D3,Sheet2!A1:C8,3,FALSE)=I2,lookup(D3,Sheet2!A1:C8,3,FALSE),
What???)
I want the lookup to find Sheet1 col D in Sheet2, where Sheet2 ColA
matches, and then the adjacent value in col B matches Sheet1!I2 then
returns Sheet2!Col C value.
then similarly with Sheet1!Col L
Sheet1
1 D E F G H I J K L
2 ch W4 NM J5 HR 11
3 901032 0.25 0.33 Y #NA #NA
4 901033 342.20 456.27 N 2 1
5 901034 58.60 78.13 N 2 3
6 901036 97.00 129.33 N 1 3
7 901037 142.00 189.33 N #NA 3
Sheet2
A B C
1 901033 11 1
2 901033 NM 2
3 901034 11 3
4 901034 NM 2
5 901035 NM 4
6 901036 11 3
7 901036 NM 1
8 901037 11 3
Appreciate any help on this one.
Cell I3 =IF(lookup(D3,Sheet2!A1:C8,3,FALSE)=I2,lookup(D3,Sheet2!A1:C8,3,FALSE),
What???)
I want the lookup to find Sheet1 col D in Sheet2, where Sheet2 ColA
matches, and then the adjacent value in col B matches Sheet1!I2 then
returns Sheet2!Col C value.
then similarly with Sheet1!Col L
Sheet1
1 D E F G H I J K L
2 ch W4 NM J5 HR 11
3 901032 0.25 0.33 Y #NA #NA
4 901033 342.20 456.27 N 2 1
5 901034 58.60 78.13 N 2 3
6 901036 97.00 129.33 N 1 3
7 901037 142.00 189.33 N #NA 3
Sheet2
A B C
1 901033 11 1
2 901033 NM 2
3 901034 11 3
4 901034 NM 2
5 901035 NM 4
6 901036 11 3
7 901036 NM 1
8 901037 11 3
Appreciate any help on this one.