I am not sure I understand the question. Your lookup table (F2:I7) is set up exactly as shg suggested with the left column (column F) sorted in ascending order and the first row (G2:I2) also sorted in ascending order. Recognizing that these are dummy values, perhaps they are not sorted in your original lookup table, but I assume you are able to sort the table like your sample file.
With column F and row 2 sorted in ascending order, as shg suggested, it should be a simple matter to replace the 0's in each MATCH() function with 1's I edited the formula in C3 to be
Formula:
=INDEX($F$3:$I$7,MATCH($A3,$F$3:$F$7,1),MATCH(C$2,$F$2:$I$2,1))
(note the additional change to the absolute referencing for the C2 lookup value reference in the 2nd MATCH() function) and it seemed to work just fine. What about your sample file does not accurately represent your true file? What questions do you have about this kind of lookup?
Bookmarks