Match first occurrence does not contain
This formula depends on a TRUE or FALSE result from a logical test, where FALSE represents the value you are looking for. In the example, the logical test is data="red", entered as the lookup_array argument in the MATCH function:
=MATCH(FALSE,data="red",0
...Read more