I'm trying to develop a formula where I can identify a match between text strings in separate cells, where the words inside the text string between the cells are not necessarily in the same order, and there may be other words in the text string that don't match.
There might be cases where the cells have the same name, but there are additional words in one of the two cells.
Here are some examples:
JOHN SMITH -----------------SMITH,JOHN A.
ARNOLD PALMER-------------PALMER JESSE ARNOLD
ALLEN STEVENS--------------STEVENS, JANE & ALLEN
Ideally, I would like a formula which identifies the 2 largest words in Cell A1, and then matches both those 2 largest words in Cell A1 to any of the words in Cell B1.
The words in Cell B1 may be separated by spaces or commas. (If we can only do a formula which looks at words separated only by spaces, I can remove the commas to make the formula work).
Any idea how to put this into a formula?
There might be cases where the cells have the same name, but there are additional words in one of the two cells.
Here are some examples:
JOHN SMITH -----------------SMITH,JOHN A.
ARNOLD PALMER-------------PALMER JESSE ARNOLD
ALLEN STEVENS--------------STEVENS, JANE & ALLEN
Ideally, I would like a formula which identifies the 2 largest words in Cell A1, and then matches both those 2 largest words in Cell A1 to any of the words in Cell B1.
The words in Cell B1 may be separated by spaces or commas. (If we can only do a formula which looks at words separated only by spaces, I can remove the commas to make the formula work).
Any idea how to put this into a formula?
Last edited: