Remove Cells which contain a value from multiple cells

MaxJCW

New Member
Joined
Feb 26, 2018
Messages
2
Hi,

I'm trying to remove the cells that contain a value from multiple other cells.
So I have two lists with data and I would like to remove every cell from the one list, which contains anything that is in the second list.
for example the first list could look like this:
  • miami school scholarships
  • funding for school
  • gauteng school holidays 2015
  • gems school
  • london school
  • heritage oak school
  • horizon school

the second one like this:

  • new york
  • paris
  • london
  • rome
  • miami
  • barcelona

and now I'm trying to remove the cells from the first list that contain any of the cities in the second list :confused:
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Where are these two lists?

And in this example the only one to remove would be London and Miami.
Is that correct?

And when you say remove.
Do you mean delete cell of clear data in cell?
 
Last edited:
Upvote 0
the two lists have the same structure as my example lists, so I could put them in the same sheet: for example column A is list 1 and column B list 2.

In this example the cells with the content "miami school scholarships" and the one with "london school" would be the ones to be removed

And by 'remove' I mean either delete cell or delete entire content. Doesn't really matter :-)
 
Upvote 0

Forum statistics

Threads
1,223,268
Messages
6,171,099
Members
452,379
Latest member
IainTru

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