Multiple text search/find

PSSMITH

New Member
Joined
Feb 8, 2010
Messages
2
Hi there, I have a list of text entries eg A1="this dog is a brown one", A2="why is my cat yellow?", A3="the red bird flew away".
I would like to search these entries to find a match with any one of the following list, D:D="red, blue, brown, black, yellow" and return the word that matches, eg B1="brown", B2="yellow", B3="red".
Is there a way to do this easily?
Cheers, Paul.
 
Hi there, I have a list of text entries eg A1="this dog is a brown one", A2="why is my cat yellow?", A3="the red bird flew away".
I would like to search these entries to find a match with any one of the following list, D:D="red, blue, brown, black, yellow" and return the word that matches, eg B1="brown", B2="yellow", B3="red".
Is there a way to do this easily?
Cheers, Paul.

Hello and welcome:
Excel Workbook
ABCD
1this dog is a brown onebrown
2why is my cat yellowyellowred
3the red bird flew awayredblue
4brown
5black
6yellow
Sheet2
 
Upvote 0
Hi there, I have a list of text entries eg A1="this dog is a brown one", A2="why is my cat yellow?", A3="the red bird flew away".
I would like to search these entries to find a match with any one of the following list, D:D="red, blue, brown, black, yellow" and return the word that matches, eg B1="brown", B2="yellow", B3="red".
Is there a way to do this easily?
Cheers, Paul.

Also...

Let KeywordList stand for the range housing the search items like, red, blue, etc, each in a cell of its own:

B1, just enter and copy down:

=LOOKUP(9.99999999999999E+307,SEARCH(" "&KeywordList&" "," "&A1&" "),KeywordList)
 
Upvote 0

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