ankitagarwal88
New Member
- Joined
- Dec 9, 2016
- Messages
- 4
Hello everyone,
I have different text strings in each cell of coloumn A and wish to extract only certain word(s) from it that are present in a list of items I have noted down in coloumn B. Here is a brief example of a sample text string and the list of items:
Column A:
"Agricultural activities in Vietnam generate about 62milliontonnes of biomass (rice straw, rice husk, bagasse, corn cob, corn stover, etc.) annually. In this work, four different types of biomass from Vietnam, namely rice straw, rice husk, factory bagasse, and corn cob, have been studied as potential raw materials to produce bio-oil by fast pyrolysis technology. Test runs were conducted in a fluidized-bed reactor at a temperature of 500°C and residence time less than 2s. Size and moisture content of the feed were less than 2mm and 2%, respectively. It was found that yields of bio-oil as a liquid product obtained from pyrolysis of these feedstocks were more than 50% and that obtained from the bagasse was the highest. Bio-oil quality from Vietnamese biomass resources satisfies ASTM D7544-12 standard for pyrolysis liquid biofuels. These results showed the potential of using biomass in Vietnam to produce bio-oil which could be directly used as a combustion fuel or upgraded into transportation fuels and chemicals"
Column B:
List of items:
straw
stover
leaves
shell
peel
cob
piassava
stalk
root
tuber
I have used the following formula that works, but it extracts only the first matching in the text string namely 'straw'. But I wish to also obtain any other names that are present in the list of items and display them comma seperated.
=IFERROR(INDEX($B$1:$B$86,MATCH(1,COUNTIF($A1,"*"&$B$1:$B$86&"*"),0)),"")
Looking forward to a response.
Thanks in advance,
Ankit
I have different text strings in each cell of coloumn A and wish to extract only certain word(s) from it that are present in a list of items I have noted down in coloumn B. Here is a brief example of a sample text string and the list of items:
Column A:
"Agricultural activities in Vietnam generate about 62milliontonnes of biomass (rice straw, rice husk, bagasse, corn cob, corn stover, etc.) annually. In this work, four different types of biomass from Vietnam, namely rice straw, rice husk, factory bagasse, and corn cob, have been studied as potential raw materials to produce bio-oil by fast pyrolysis technology. Test runs were conducted in a fluidized-bed reactor at a temperature of 500°C and residence time less than 2s. Size and moisture content of the feed were less than 2mm and 2%, respectively. It was found that yields of bio-oil as a liquid product obtained from pyrolysis of these feedstocks were more than 50% and that obtained from the bagasse was the highest. Bio-oil quality from Vietnamese biomass resources satisfies ASTM D7544-12 standard for pyrolysis liquid biofuels. These results showed the potential of using biomass in Vietnam to produce bio-oil which could be directly used as a combustion fuel or upgraded into transportation fuels and chemicals"
Column B:
List of items:
straw
stover
leaves
shell
peel
cob
piassava
stalk
root
tuber
I have used the following formula that works, but it extracts only the first matching in the text string namely 'straw'. But I wish to also obtain any other names that are present in the list of items and display them comma seperated.
=IFERROR(INDEX($B$1:$B$86,MATCH(1,COUNTIF($A1,"*"&$B$1:$B$86&"*"),0)),"")
Looking forward to a response.
Thanks in advance,
Ankit