0

New to excel. I have tried using the VLOOKUP and IF function to find the best solution. However, I am struggling to get the partial match aspect down. I also want the partial match to include any spaces after the words.

Example

Column1  Column2    Column3
dog      cat        No Match
house    house(big) Match
cat      cat        Match

I have tried using the trim, VLOOKUP, and IF functions.

2 Answers2

2

use SEARCH:

=ISNUMBER(SEARCH(A1,B1))

enter image description here

Scott Craner
  • 148,073
  • 10
  • 49
  • 81
1

Assuming you need "partial Match" as a result of comparing house and house(big)

=IF(A2=B2, "Match", IF(ISNUMBER(SEARCH(A2, B2)), "Partial Match", "No Match"))
Horaciux
  • 6,322
  • 2
  • 22
  • 41