Dear friends
I have listed of words in column A for which i need to put certain code in column B.
If Coulmn A contains words listed in coulmn E then put the category code listed in D to column B
Thanks
Dear friends
I have listed of words in column A for which i need to put certain code in column B.
If Coulmn A contains words listed in coulmn E then put the category code listed in D to column B
Thanks
Like this?
sample2.xlsx
In B2 Cell
=INDEX($E$2:$E$10,MATCH("*"&TRIM(A2)&"*",$F$2:$F$10,0))
Or
=LOOKUP(2,1/SEARCH(TRIM(A2),$F$2:$F$10),$E$2:$E$10)
Drag it down...
If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
Mark your thread as Solved
If the suggestion helps you, then Click *below to Add Reputation
yes lancer....but Column A may also contain some words attached to it not just salad or soup it may contain veg soup and still i want the category code to be displayed
Thanks
Hi sixthsense
When i tried this formula it shows N/A
Yes i need macro to do this..
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks