I am trying to use the FIND function to search through text within a list (Column D) and every time there is an exact match with any text from that list I want the entire string of the text to be returned in Column C. Currently my formula will only work for the first cell of the list that I am trying to search through and will not search through an entire list. As you can see the text in C2 is pulled in properly, but that is only because cell B2 has -AA- in the text. If I change the contents in cell B2 from -AA- to -AF- it will not return the text anymore. Is there a way to change my formula so that it searches the entire list in Column D and every time it finds a match from the cell in B it will return the entire string in the cell next to it in Column C?
Here is the formula I am using: =IFERROR(TRIM(MID(SUBSTITUTE($B2," ",REPT(" ",99)),MAX(1,FIND(D2:D4,SUBSTITUTE($B2," ",REPT(" ",99)))-50),99)),"NO SITE PLAN")
2018-12-10_9-20-47.png
Bookmarks