I want to spill the values in Table2 that are NOT in Table1.
Any value that has a "[C]" in it, I want to remove it leaving only the name.
I can achieve both objectives but can't figure out how to include the names that don't have "[C]" in them as they return #VALUE.
TABLE 1
TABLE 2
Spilled Results
=FILTER(SORT(Table2[Name]),ISNA(XMATCH(SORT(Table2[Name]),Table1[Name])))
(these are in column G in my worksheet)
Trying to remove the "[C]"
=IF(FIND("[",G5#),TRIM(TEXTBEFORE(G5#,"[")),G5#)
Any value that has a "[C]" in it, I want to remove it leaving only the name.
I can achieve both objectives but can't figure out how to include the names that don't have "[C]" in them as they return #VALUE.
TABLE 1
Name |
Clark Kent |
Lois Lane |
Adam Ant |
Wonder Pup |
TABLE 2
Name |
Clark Kent |
Lois Lane |
Adam Ant |
Wonder Pup |
Mickey Mouse [C] |
Donald Duck |
Spilled Results
=FILTER(SORT(Table2[Name]),ISNA(XMATCH(SORT(Table2[Name]),Table1[Name])))
(these are in column G in my worksheet)
Donald Duck
Mickey Mouse [C]
Trying to remove the "[C]"
=IF(FIND("[",G5#),TRIM(TEXTBEFORE(G5#,"[")),G5#)
#VALUE!
Mickey Mouse