I'm having a group of keywords which I want to match with in particular text.
Below is the example.
[TABLE="width: 359"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD][TABLE="width: 487"]
<colgroup><col><col span="3"></colgroup><tbody>[TR]
[TD]List[/TD]
[TD]Item[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]I love apple[/TD]
[TD]apple[/TD]
[TD][/TD]
[TD]apple[/TD]
[/TR]
[TR]
[TD]Apple is sweet fruit[/TD]
[TD]apple[/TD]
[TD][/TD]
[TD]banana[/TD]
[/TR]
[TR]
[TD]Banana is rich in carbohydrate[/TD]
[TD]banana[/TD]
[TD][/TD]
[TD]watermelon[/TD]
[/TR]
[TR]
[TD]apple / banana comes in fruit category[/TD]
[TD]banana[/TD]
[TD][/TD]
[TD]Cherry[/TD]
[/TR]
[TR]
[TD]banana / watermelon is my favorite[/TD]
[TD="colspan: 2"]watermelon[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]watermelon / cherry / apple is nice for health[/TD]
[TD]Cherry[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Here I am writing my function to get the matching result. "=LOOKUP(2^15,SEARCH(fruit,A3),fruit)" where fruits : apple, banana, watermelon & cherry.
Question: Is there anyway to write a function so that I can get the first fruit name appearing in list (Bold fruit name)?
Below is the example.
[TABLE="width: 359"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD][TABLE="width: 487"]
<colgroup><col><col span="3"></colgroup><tbody>[TR]
[TD]List[/TD]
[TD]Item[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]I love apple[/TD]
[TD]apple[/TD]
[TD][/TD]
[TD]apple[/TD]
[/TR]
[TR]
[TD]Apple is sweet fruit[/TD]
[TD]apple[/TD]
[TD][/TD]
[TD]banana[/TD]
[/TR]
[TR]
[TD]Banana is rich in carbohydrate[/TD]
[TD]banana[/TD]
[TD][/TD]
[TD]watermelon[/TD]
[/TR]
[TR]
[TD]apple / banana comes in fruit category[/TD]
[TD]banana[/TD]
[TD][/TD]
[TD]Cherry[/TD]
[/TR]
[TR]
[TD]banana / watermelon is my favorite[/TD]
[TD="colspan: 2"]watermelon[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]watermelon / cherry / apple is nice for health[/TD]
[TD]Cherry[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Here I am writing my function to get the matching result. "=LOOKUP(2^15,SEARCH(fruit,A3),fruit)" where fruits : apple, banana, watermelon & cherry.
Question: Is there anyway to write a function so that I can get the first fruit name appearing in list (Bold fruit name)?