✔ 最佳答案
You should use Match function instead of vlookup function.
Formula as follows:
Assume you input 2 at cell D1, 200/5/2 at cell E1, your answer shows at cell F1.
In cell F1, formula would be =INDEX(C2:C20,MATCH(1,(A2:A20=D1)*(B2:B20=E1),0))
The difference between vlookup, match, index as belows:
VLOOKUP allows you to find an entry in a list and return a value that
is a given number of columns away from that entry. This can be a text
string or numeric value.
MATCH returns an integer number of the row within a range that matches
the entry in question.
You can next a MATCH function within an INDEX function and perform an
operation very similar to a VLOOKUP, because the INDEX function works
on a grid-type array of data.
An other important difference between vlookup and index&match is that when using vlookup the look-up value needs to be in the leftmost column.
Index&match doe not require that.
ie vlookup:
Col A Col B Col C
1 A HI
2 B Bye
3 C Yes
4 D No
If your lookup value was in Col B (lets say "B"), you could not look up values form Col A ("2")