I have two columns with strings and want to know which parts of the string from one column has with the other column. I have checked this solution Compare 2 text cells and show difference in the third cell | Super User but it does not work for my problem.
In the screenshot below, I want to the result column to have the string Elementary
since this is what differentiates B2
from A2
. I tried using =SUBSTITUTE(A2,B2,"")
based on the solution in the link above, but what the formula does is do the opposite by displaying the common strings in both columns:
How can I make it display the string difference (Elementary
) instead?