I am using and INDEX/MATCH formula to look up the vendor from a products purchased report and match it with products from a product sold report. The vendor data I am looking up begins with a letter(ex. TH10) I have no problem pulling in one vendor of a product. The problem is that some products are purchased from multiple vendors. I need a formula to look up the next vendor. I think the following formula example I found would work for me if the vendor names were numbers.
If you wanted to return the quantity value for the second occurrence of apple, you would use the following array formula:
=INDEX(A2:C6,SMALL(IF(A2:C6="apple",ROW(A2:C6)-ROW(A2)+1,ROW(C6)+1),2),2)
Is there a similar formula to the "SMALL" formula I could substitute that would look up the next vendor based on the alphabet as SMALL does to numbers?
Thanks
If you wanted to return the quantity value for the second occurrence of apple, you would use the following array formula:
=INDEX(A2:C6,SMALL(IF(A2:C6="apple",ROW(A2:C6)-ROW(A2)+1,ROW(C6)+1),2),2)
Is there a similar formula to the "SMALL" formula I could substitute that would look up the next vendor based on the alphabet as SMALL does to numbers?
Thanks