Return text from cell if matches text in a list

Armagoddess

New Member
Joined
Feb 7, 2018
Messages
4
Hi, All. I have a long list of keywords that I'd like to return in columns if they match the text in a cell - See below. I'd like to see words returned from List (Column B) in columns C,D,E, etc. if they are found in the corresponding cell in Title (Column A). I've played with a few formulas using ISNUMBER, SEARCH, and LOOKUP without success. Thanks so much!

[TABLE="width: 596"]
<tbody>[TR]
[TD]Title[/TD]
[TD]List[/TD]
[TD]Return A[/TD]
[TD]Return B[/TD]
[TD]Return C[/TD]
[/TR]
[TR]
[TD]Where the Red Fern Grows[/TD]
[TD]lay[/TD]
[TD]fern[/TD]
[TD]red[/TD]
[TD]where[/TD]
[/TR]
[TR]
[TD]Skeleton Crew[/TD]
[TD]fern[/TD]
[TD]skeleton[/TD]
[TD]crew[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]While I Lay Dying[/TD]
[TD]skeleton[/TD]
[TD]lay[/TD]
[TD]dying[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]red[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]crew[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]dying[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]where[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
In C2 control+shift+enter, not just enter, copy across, and down:

=IFERROR(INDEX($B$2:$B$8,SMALL(IF(ISNUMBER(SEARCH(" "&$B$2:$B$8&" "," "&$A2&" ")),ROW($B$2:$B$8)-ROW($B$2)+1),COLUMNS($C2:C2))),"")
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,204
Members
453,022
Latest member
RobertV1609

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top