TheRogue
New Member
- Joined
- Aug 3, 2019
- Messages
- 23
I have a dynamic list of things. Depending upon what else happens in the worksheet, this list could contain 1-10 entries.
I have given it the Named Range of "THINGS" (THINGS=Table1[THINGS]).
I have a 2nd table. One column of this table has text strings (Table2[ITEM]). In this table, I need a column (Table2[INLIST]) which will check to see if any of the words from THINGS appears in Table2[ITEM].
I am using the formula: {=SUMPRODUCT(--ISNUMBER(SEARCH(THINGS,[@ITEM])))>0}
but it is returning a value of TRUE on everything (I believe b/c THINGS contains blanks).
I have no control of what is in THINGS or how many entries it contains. I just need a TRUE/FALSE in Table2[INLIST], if Table2[ITEM] contains any of the words currently in THINGS.
<colgroup><col style="mso-width-source:userset;mso-width-alt:2889;width:59pt" width="79"> <col style="width:48pt" width="64" span="2"> <col style="mso-width-source:userset;mso-width-alt:7972;width:164pt" width="218"> <col style="mso-width-source:userset;mso-width-alt:2669;width:55pt" width="73"> </colgroup><tbody>
[TD="width: 143, colspan: 2"]DYNAMIC LIST[/TD]
[TD="width: 64"][/TD]
[TD="width: 218"][/TD]
[TD="width: 73"][/TD]
[TD="class: xl64"]ITEM[/TD]
[TD="class: xl63, width: 73"]INLIST[/TD]
[TD="class: xl64"]BAT & BALL[/TD]
[TD="class: xl64"]THE BAT'S WINGS ARE BLACK[/TD]
[TD="class: xl64"]DOLL, TEAPOT[/TD]
[TD="class: xl64"]CAR, MOTORCYLCE, TRUCK, PLANE[/TD]
[TD="class: xl64"]PLANE, CAR[/TD]
[TD="class: xl64"]GLOVE[/TD]
[TD="class: xl64"]DOVE[/TD]
[TD="class: xl64"]LOVE[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
</tbody>
I have given it the Named Range of "THINGS" (THINGS=Table1[THINGS]).
I have a 2nd table. One column of this table has text strings (Table2[ITEM]). In this table, I need a column (Table2[INLIST]) which will check to see if any of the words from THINGS appears in Table2[ITEM].
I am using the formula: {=SUMPRODUCT(--ISNUMBER(SEARCH(THINGS,[@ITEM])))>0}
but it is returning a value of TRUE on everything (I believe b/c THINGS contains blanks).
I have no control of what is in THINGS or how many entries it contains. I just need a TRUE/FALSE in Table2[INLIST], if Table2[ITEM] contains any of the words currently in THINGS.
OF UNIQUE | ||||
THINGS | ||||
BAT | TRUE | |||
BALL | TRUE | |||
GLOVE | TRUE | |||
DOLL | TRUE | |||
TRUCK | FALSE | |||
TRUE | ||||
FALSE | ||||
FALSE | ||||
<colgroup><col style="mso-width-source:userset;mso-width-alt:2889;width:59pt" width="79"> <col style="width:48pt" width="64" span="2"> <col style="mso-width-source:userset;mso-width-alt:7972;width:164pt" width="218"> <col style="mso-width-source:userset;mso-width-alt:2669;width:55pt" width="73"> </colgroup><tbody>
[TD="width: 143, colspan: 2"]DYNAMIC LIST[/TD]
[TD="width: 64"][/TD]
[TD="width: 218"][/TD]
[TD="width: 73"][/TD]
[TD="class: xl64"]ITEM[/TD]
[TD="class: xl63, width: 73"]INLIST[/TD]
[TD="class: xl64"]BAT & BALL[/TD]
[TD="class: xl64"]THE BAT'S WINGS ARE BLACK[/TD]
[TD="class: xl64"]DOLL, TEAPOT[/TD]
[TD="class: xl64"]CAR, MOTORCYLCE, TRUCK, PLANE[/TD]
[TD="class: xl64"]PLANE, CAR[/TD]
[TD="class: xl64"]GLOVE[/TD]
[TD="class: xl64"]DOVE[/TD]
[TD="class: xl64"]LOVE[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
</tbody>