By: Shamima Sultana

In reply to TOM.

Hello Tom,

You can use a combination of Excel functions to achieve this. Here’s a formula approach using FILTER and SEARCH:

Assume your list of terms is in cells A2:A7 and your text line is in B2 (“123 Blue Ridge Street”).

Formula:
=FILTER(A2:A7, ISNUMBER(SEARCH(A2:A7, B2)))
This will return “Blue” if it’s present in the text line.

Explanation:
1. SEARCH(A2:A7, B2) looks for each term in the text and returns a number if it finds a match.
2. ISNUMBER() checks if the result is a number, indicating a match.
3. FILTER() returns the matching term(s).

Regards
ExcelDemy