Reputation: 1
First StackOverflow question :)
Within Excel, I have a list of all of my products (some 6000 odd). What I am wanting to do is:
Based on the description of the product (shown in Column C), if this cell contains ANY of the listed brands in Column D. Then Column E needs to fill the brand associated with the cell in Column C (Item description).
Please the example as shown
Upvotes: 0
Views: 1218
Reputation: 11968
You can use following array formula:
=INDEX($D$2:$D$7,MATCH(TRUE,ISNUMBER(N(IF(1,(SEARCH($D$2:$D$7,C2))))),0))
Array formula after editing is confirmed by pressing ctrl
+ shift
+ enter
Upvotes: 1