First time posting so sorry if I make a mistake.
I'm trying to go through a list of keywords I have built over the last few months. The list is of 46,849 keywords (column A). I want to check each of the keywords (really keyword phrases) to see if it contains any of the text from a different list I have of Cities, Counties and States in the US which I've put in column B ( a list of 15,624)
So what I want to happen is that you look at column A (my keyword phrases) and then check all the items in column B to see if any of that text is contained inside of the cell in column A.
I've done =SUMPRODUCT(--ISNUMBER(SEARCH($B1:B$15462,A1)))>0 Everything comes back TRUE
I've done =IF(MAX(IFERROR(SEARCH($B$1:$B$15642,$A1),0))>0,"yes","no") Everything comes back yes
Not sure if this is the right way to do this but I'm lost. After the data comes back, I need to delete the cells (or rows, doesn't matter to me) that contain the selected data. I can do this by a filter which is fine But the most important part is to see if cell A1 contains ANY of the text from the city, county, state list.
[TABLE="width: 800"]
<tbody>[TR]
[TD]Keywords[/TD]
[TD]Cities[/TD]
[TD]Results[/TD]
[/TR]
[TR]
[TD]Roofer[/TD]
[TD]Birmingham[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]Roofer in Birmingham AL[/TD]
[TD]Mobile[/TD]
[TD]Yes
[/TD]
[/TR]
[TR]
[TD]Roofing Contractor[/TD]
[TD]Atlanta[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]Roofing Contractor in Mobile AL[/TD]
[TD]Kentucky[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Roofing Shingles[/TD]
[TD]Wyoming[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]Roofing Gun[/TD]
[TD]Florida[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]Birmingham Roofing Company[/TD]
[TD]Washington DC[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Local Roofer[/TD]
[TD]Denver[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]Mobile Roofing Contractors[/TD]
[TD]Buffalo[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to go through a list of keywords I have built over the last few months. The list is of 46,849 keywords (column A). I want to check each of the keywords (really keyword phrases) to see if it contains any of the text from a different list I have of Cities, Counties and States in the US which I've put in column B ( a list of 15,624)
So what I want to happen is that you look at column A (my keyword phrases) and then check all the items in column B to see if any of that text is contained inside of the cell in column A.
I've done =SUMPRODUCT(--ISNUMBER(SEARCH($B1:B$15462,A1)))>0 Everything comes back TRUE
I've done =IF(MAX(IFERROR(SEARCH($B$1:$B$15642,$A1),0))>0,"yes","no") Everything comes back yes
Not sure if this is the right way to do this but I'm lost. After the data comes back, I need to delete the cells (or rows, doesn't matter to me) that contain the selected data. I can do this by a filter which is fine But the most important part is to see if cell A1 contains ANY of the text from the city, county, state list.
[TABLE="width: 800"]
<tbody>[TR]
[TD]Keywords[/TD]
[TD]Cities[/TD]
[TD]Results[/TD]
[/TR]
[TR]
[TD]Roofer[/TD]
[TD]Birmingham[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]Roofer in Birmingham AL[/TD]
[TD]Mobile[/TD]
[TD]Yes
[/TD]
[/TR]
[TR]
[TD]Roofing Contractor[/TD]
[TD]Atlanta[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]Roofing Contractor in Mobile AL[/TD]
[TD]Kentucky[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Roofing Shingles[/TD]
[TD]Wyoming[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]Roofing Gun[/TD]
[TD]Florida[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]Birmingham Roofing Company[/TD]
[TD]Washington DC[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Local Roofer[/TD]
[TD]Denver[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]Mobile Roofing Contractors[/TD]
[TD]Buffalo[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]