Originally Posted by
Andrew-R
If I've understood you right then:
Column B contains a list of product descriptions
Table contains two columns - the first is a product type (shoe, jean, pant, etc.), the second is some sort of description
Foxtype - is a named range consisting of just the first column of Table, which contains key words, which may match part of the description in column B.
If that's all right then the formula for cell B2 is =IF(ISERROR(MATCH(TRUE,INDEX(NOT(ISERROR(SEARCH(Foxtype,B2))),0),0)),"Missing from table",INDEX(Table,MATCH(TRUE,INDEX(NOT(ISERROR(SEARCH(Foxtype,B2))),0),0),2))
It would be much shorter if you were using Excel 2007, rather than 2003, because we could use the IFERROR function, but if I've understood you right then that should work in 2003.
Bookmarks