Hi,
I have table1 with in the description in column A a range of words.
The range of words is every time different but some of those words have a common word such as apples, pears, orange, duck or geese.
Table2 has the words that if they appear in the range of words in table1 should result either in X, Z or O.
I am looking for the following solution:
In the first table all rows that have the words "apples" or "pears" or "orange" in column B with an X
All rows with the words "duck" or "geese" in column B with a Z
and any row that doesn't contain any of those words with a O
I have been trying to solve this with vlookup with a partial look up of the word "*"&D2&"*" and index and match but I am not getting the desired results.
Would someone have a suggestion?
Thank you!
I have table1 with in the description in column A a range of words.
The range of words is every time different but some of those words have a common word such as apples, pears, orange, duck or geese.
Table2 has the words that if they appear in the range of words in table1 should result either in X, Z or O.
I am looking for the following solution:
In the first table all rows that have the words "apples" or "pears" or "orange" in column B with an X
All rows with the words "duck" or "geese" in column B with a Z
and any row that doesn't contain any of those words with a O
I have been trying to solve this with vlookup with a partial look up of the word "*"&D2&"*" and index and match but I am not getting the desired results.
Would someone have a suggestion?
Thank you!
Description | X/Z/O | If Description contains | Then show as | |
Big brown apples | x | apples | x | |
Small red apples | x | pears | x | |
Not so good apples | x | orange | x | |
Anjou pear too small | x | duck | z | |
Green pears from France | x | geese | z | |
Orange from Spain | x | remaining category | o | |
Great Nothern Duck | z | |||
White Duck | z | |||
Flamboyant Duck | z | |||
Canadian geese this week | z | |||
Geese not to expect to come back | z | |||
Green house | o | |||
Dead end Street | o | |||
Not feeling well | o |