searching text from a table range

winde

New Member
Joined
Nov 27, 2018
Messages
32
Hi

is there any formula to do the following?

I have a table of text which i want to use as classification.

And i have a data table with various description. and i wan to match the description with my classification.

Classification Table
Happy
Sad
Cry

<tbody>
</tbody>


DescriptionReturn Matches
Happy PersonHappy
Person is HappyHappy
Two Sad PersonsSad
A Cry PersonCry

<tbody>
</tbody>

Thanks.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
try this


Book1
AB
1Classification Table
2Happy
3Sad
4Cry
5
6DescriptionReturn Matches
7Happy PersonHappy
8Person is HappyHappy
9Two Sad PersonsSad
10A Cry PersonCry
98
Cell Formulas
RangeFormula
B7=LOOKUP(2,1/ISNUMBER(SEARCH($A$2:$A$4,A7)),$A$2:$A$4)
 
Upvote 0

Forum statistics

Threads
1,216,590
Messages
6,131,606
Members
449,657
Latest member
Timber5

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