Search cells for matching text from list issues

Nordicrx8

Board Regular
Joined
Dec 10, 2015
Messages
144
Office Version
  1. 365
Platform
  1. Windows
Hi Team!

I need some help figuring out why this formula isn’t working.

I have a report that is 250,000 rows long. Column B contains text strings – some are short, some are long.

In Column B, I want to search each cell to see if the below list of words/phrases are found within the cell.

<address map>
This Address is not serviceable
Article
(Charges and (This is a partial search criteria)
Document
(Setup Data)

I’ve tried multiple formulas, all of which are either not providing what I’m looking for or are providing false positives.

This formula puts everything as a “Yes”. If I remove the *, it looks better, but I’m getting false positives.

Excel Formula:
=IF(OR(COUNTIF(B2,"*"&Key!E$2:E$19&"*")), "Yes", "no")

One issue seems to be with “<Address map>” Even when I try to do a search for this value by itself, it returns false positives. I’m assuming the carrots may have something to do with it?

If anyone could help me figure this one out, I’d greatly appreciate it!

Thanks all!
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
I think I found the issue - the range include a blank cell, which it looks like the formula was looking for blank cells. (which is all of them)

I'll post again if I continue to run into issues :)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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