Hello,
This has been racking my brain and my original formulas are pulling in the wrong values. Here is what I'd like to do...
Table 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]DESCRIPTION[/TD]
[TD]CATEGORY[/TD]
[TD]SUB-CAT[/TD]
[/TR]
[TR]
[TD]GI Joe[/TD]
[TD]A[/TD]
[TD]789[/TD]
[/TR]
[TR]
[TD]I Love Coffee[/TD]
[TD]A[/TD]
[TD]Should return error to indicate no words found in description is found in Table 2 Lookup Words (this will alert me to add in the future)[/TD]
[/TR]
[TR]
[TD]pizza is great[/TD]
[TD]A[/TD]
[TD]000[/TD]
[/TR]
[TR]
[TD]Help Me![/TD]
[TD]C[/TD]
[TD]888[/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]LOOKUP Words[/TD]
[TD]SUB CAT[/TD]
[/TR]
[TR]
[TD]Basketball[/TD]
[TD]123[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD]456[/TD]
[/TR]
[TR]
[TD]GI[/TD]
[TD]789[/TD]
[/TR]
[TR]
[TD]PIZZA[/TD]
[TD]000[/TD]
[/TR]
</tbody>[/TABLE]
This has been racking my brain and my original formulas are pulling in the wrong values. Here is what I'd like to do...
- I have two Excel Tables; Table 1 where all my data exists. I would like to have a formula to determine if CATEGORY = A then I want to check if any LOOKUP words ( WHOLE WORDS ONLY) are found in the teh description--if so, return Table 2's SUB-CAT
- If not, just return "888".
- I need to lookup whole words so that in the example of "GI Joe", Sub-cat returns "789" because it found GI vs. "456" and ignoring "G"
Table 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]DESCRIPTION[/TD]
[TD]CATEGORY[/TD]
[TD]SUB-CAT[/TD]
[/TR]
[TR]
[TD]GI Joe[/TD]
[TD]A[/TD]
[TD]789[/TD]
[/TR]
[TR]
[TD]I Love Coffee[/TD]
[TD]A[/TD]
[TD]Should return error to indicate no words found in description is found in Table 2 Lookup Words (this will alert me to add in the future)[/TD]
[/TR]
[TR]
[TD]pizza is great[/TD]
[TD]A[/TD]
[TD]000[/TD]
[/TR]
[TR]
[TD]Help Me![/TD]
[TD]C[/TD]
[TD]888[/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]LOOKUP Words[/TD]
[TD]SUB CAT[/TD]
[/TR]
[TR]
[TD]Basketball[/TD]
[TD]123[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD]456[/TD]
[/TR]
[TR]
[TD]GI[/TD]
[TD]789[/TD]
[/TR]
[TR]
[TD]PIZZA[/TD]
[TD]000[/TD]
[/TR]
</tbody>[/TABLE]