(Pardon my poor English.)
I have raised a similar question before. (Please check out: http://www.excelforum.com/excel-form...instances.html)
In the previous case, there is only 1 determining condition. Now if I have multiple conditions, how could I get the results?
e.g.
untitled.PNG
Column A to C are the raw data
Column G is the priority list
Column K display the result I want
K should display the value from column B with the highest priority, matching the values of I and J with those from A and C respectively.
For example,
I1 = M, J1 = B
we go through the raw data and find 2 matching pairs
(B, S322, M) and (B, G201, M)
since S322 has a higher priority over G201, K1 would display S322
What should be the formula in cells in column K in order to get the desired results?
Thanks in advance.
Bookmarks