Position of first partial match

=MATCH("*text*",rng,0)
To get the position of the first partial match (i.e. the cell that contains text you are looking for) you can use the MATCH function with wildcards.
In the example shown, the formula in E8 is:
=MATCH("*"&E7&"*",B6:B11,0)
The MATCH function returns the position or "index" of the first match based on a lookup value in a range.
MATCH supports wildcard matching with an asterisk "*" (one or more characters) or a question mark "?" (one character), but only when the third argument, match_type, is set to FALSE or zero.
In the example, we pick up the value in cell E7 and use concatenation to combine this value with asterisks (*) on either side. The lookup array is the range B6 to B11, and match_type is set to zero to all partial matching with wildcards.
The result is the position of the first cell in the lookup range that contains the text "apple".
To retrieve the value of a cell at a certain position, use the INDEX function.
Download 100+ Important Excel Functions
Get over 100 Excel Functions you should know in one handy PDF.