Find Text in Group

tommiexboi

New Member
Joined
Apr 24, 2017
Messages
24
Office Version
  1. 365
Platform
  1. Windows
Hello,

Need your quick help.
I'm trying to write a formula where from a group I can find if it has a text (specific/partial).
"Has Black?" is the result I want.

AnimalColorAnimalHas Black?
dogbrowndogYes
dogbrown
dogblack
catwhite
catwhite
catblack

<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
How about


Book1
ABCDE
1AnimalColorAnimalBlack
2dogbrowndogyes
3dogbrown
4dogblack
5catwhite
6catwhite
7catblack
Data
Cell Formulas
RangeFormula
E2=IF(ISNUMBER(MATCH(D2&"|"&E1,INDEX(A2:A7&"|"&B2:B7,0),0)),"yes","no")
 
Upvote 0
Another option..

Excel Workbook
ABCDEF
1AnimalColorAnimalColorResult
2dogbrowndogBlackYes
3dogbrown
4dogblack
5catwhite
6catwhite
7catblack
Find Text in Group
 
Upvote 0

Forum statistics

Threads
1,217,356
Messages
6,136,079
Members
449,988
Latest member
Mabbas

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