I have a list of strings in Column A. I want to match the entries in column G (partial strings) with the strings in column A. If there is a match, I want to print out the partial string in Column B (output).
I have used the following formula -
=IF(SUMPRODUCT(--ISNUMBER(SEARCH(G:G,A1)))>0,"found","notfound")
to print out found or notfound string, but I am not able to print out the partial string value in column B.
Any help would be appreciated.

