Using INDEX MATCH I can check if a key word is in a cell and return the name of the group it belongs to. Fine. But what if I want additionally check to see that it does not contain a word/phrase that would mean it is in another group, or there is a second keyword which must be there for a particular Group?
The description of a product could be something like
Hand Carved Human Skull - Tribal Style Carving - Traditional Dayak and Aztec Carving - Dalbergia Latifolia wood - Buffalo Bone Teeth
In the list of key words/phases are
Buffalo
Human Skull.
This item belongs to the Human Skull group, not the Buffalo Group, but Buffalo is given as the result.
The cell contains this array formula:
=INDEX(Product_Category_<wbr>GroupName,MATCH(TRUE,ISNUMBER(<wbr>SEARCH(Prod_Cat_KeyWord1,$<wbr>L955)),0))
Product_Category_GroupName <wbr> is a list in another table
Prod_Cat_KeyWord1 <wbr> is another list in that table, for words to be found
Prod_Cat_LessWord1 <wbr> is another list in that table, for words that do not want to be in the product description
Also I might have additional words that might have to be in the product description for it to be selected.
Prod_Cat_KeyWord2
and further Lessword(s) that would stop that product being in a category in a Prod_Cat_LessWord2 column
Any ideas?
The description of a product could be something like
Hand Carved Human Skull - Tribal Style Carving - Traditional Dayak and Aztec Carving - Dalbergia Latifolia wood - Buffalo Bone Teeth
In the list of key words/phases are
Buffalo
Human Skull.
This item belongs to the Human Skull group, not the Buffalo Group, but Buffalo is given as the result.
The cell contains this array formula:
=INDEX(Product_Category_<wbr>GroupName,MATCH(TRUE,ISNUMBER(<wbr>SEARCH(Prod_Cat_KeyWord1,$<wbr>L955)),0))
Product_Category_GroupName <wbr> is a list in another table
Prod_Cat_KeyWord1 <wbr> is another list in that table, for words to be found
Prod_Cat_LessWord1 <wbr> is another list in that table, for words that do not want to be in the product description
Also I might have additional words that might have to be in the product description for it to be selected.
Prod_Cat_KeyWord2
and further Lessword(s) that would stop that product being in a category in a Prod_Cat_LessWord2 column
Any ideas?