Hi
Have table below in cells B1:C7
I have a separate list in H2:H4 which contains the cities Leeds, Liverpool and Manchester
I want to Filter B2:C7 where C2:C7(Cities) aren't Contained in H2:H4 (List of cities Leeds, Liverpool, Manchester)
Result should be 3 below as their city isn't in H2:H4. I know I could write is as =FILTER(B2:C7,(C2:C7<>"Leeds")*(C2:C7<>"Liverpool")*(C2:C7<>"Manchester"))
but wanted something more dynamic as these wont always be the same cities and there maybe more or less than 3 in a range
Bob Dublin
Bill Belfast
Anna Glasgow
Have table below in cells B1:C7
I have a separate list in H2:H4 which contains the cities Leeds, Liverpool and Manchester
I want to Filter B2:C7 where C2:C7(Cities) aren't Contained in H2:H4 (List of cities Leeds, Liverpool, Manchester)
Result should be 3 below as their city isn't in H2:H4. I know I could write is as =FILTER(B2:C7,(C2:C7<>"Leeds")*(C2:C7<>"Liverpool")*(C2:C7<>"Manchester"))
but wanted something more dynamic as these wont always be the same cities and there maybe more or less than 3 in a range
Bob Dublin
Bill Belfast
Anna Glasgow
Name | City |
Bob | Dublin |
Bill | Belfast |
Allan | Liverpool |
Ted | Manchester |
Mary | Leeds |
Anna | Glasgow |