Hi Bob ,
Do you mean in the multiple lookups formulae ?
If so , then you can use MATCH , but only to retrieve the first occurrence , since MATCH will find the first occurrence which fulfills the criteria i.e. if the third parameter in the MATCH function is 0 , then it finds an exact match , if it is 1 , it finds the largest value less than or equal to the lookup value , and so on.
If you have to retrieve multiple occurrences , using SMALL with a second parameter going from 1 , 2 , 3 ,... makes it easy to retrieve the first , second , third ,... matching values.
When you use SMALL , you don't need MATCH ; using the IF within the SMALL function , and entering the entire formula as an array formula , means you are building up an array of TRUE / FALSE values ; TRUE where the values in the range match the lookup value , and FALSE elsewhere. The IF statement is replacing the TRUE values with the corresponding row numbers , leaving the FALSE values unchanged.
Thus , if the range is say 6 cells , you may end up with an array {FALSE;FALSE;7;FALSE;9;10}.
Now , when you take the smallest value from this array , you get 7 ; when you want the next smallest , you will get 9 , and for the third smallest value , you will get 10. Using these values in conjunction with the INDEX function allows you to get the relevant values.
In this case , since we are looking at the first , second and third occurrences only by their row number , retrieving the different data such as Region , Account Number , Order Amount and Month is just a matter of changing the first parameter of the INDEX function , so that we look at columns B , C , D and E.
Narayan