SOLVED

Partial Text Match between two cells

Copper Contributor

I am looking for a formular identifying partial text matches between two cells. e.g. two columns (First Name and Last Name). In some cells the first name is also part of the last name and I want to identify these "incorrect" cells (see attached file also)

 

 

3 Replies
best response confirmed by olgreen72 (Copper Contributor)
Solution

@olgreen72 

That could be

=IF(ISNUMBER(SEARCH(TRIM(A2)& " ",B2)), "ERROR First Name is part of Last Name", "")

Please check in attached.

Thanks very much Sergei - much appreciated!

@olgreen72 , you are welcome

1 best response

Accepted Solutions
best response confirmed by olgreen72 (Copper Contributor)
Solution

@olgreen72 

That could be

=IF(ISNUMBER(SEARCH(TRIM(A2)& " ",B2)), "ERROR First Name is part of Last Name", "")

Please check in attached.

View solution in original post