Filter list that not contain some values

Omer_K

Board Regular
Joined
Apr 9, 2017
Messages
124
Office Version
  1. 365
Hi, everyone,
I have a list of countries (column A) and in column B there is a list of countries that should not be on the list - the list in column B will update over time,
I would like to know how I can create a list of countries without the countries that should not appear (as in column D)
It is only important for me to say - that the list of countries that are not supposed to appear is going to be long..
Thank You 🙏

All Country​
Countries that should not be on the list​
List Of New Country​
Australia​
Croatia​
Australia​
Bahamas​
Egypt​
Bahamas​
Belgium​
Belgium​
Canada​
Canada​
Chile​
Chile​
Croatia​
Cuba​
Cuba​
Congo​
Congo​
Ecuador​
Ecuador​
Estonia​
Egypt​
Fiji​
Estonia​
Greece​
Fiji​
Greece​
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
How about
Excel Formula:
=FILTER(A2:A1000,(A2:A1000<>"")*(ISNA(MATCH(A2:A1000,B2:B1000,0))))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,352
Messages
6,124,455
Members
449,161
Latest member
NHOJ

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