I have a big list of movies, each one has 1-8 keywords in 8 diffrent columns (Key1-Keyw8).
I now need to sort through all movies for movies which have let's say 3 keywords.
Example: I want to find all movies with the keywords: Water, Ship, Clouds.
Now every film that has all those 3 keywords should be displayed. The keywords can be in any column.
I found out that I can do filters like this with advanced filter, but I now have a problem with how they work.
If I put a word in the first column, it will only search if the Keyw1 contains the word:
I then thought I could simply make multiple searches:
This kinda works, it gives me some results. But it also leaves some rows out:
Row 2 contains the keyword, but did not get displayed.
Even if this would work, if I want to search for 8 keywords, I would need to duplicate the word 40'000 times to find all results.
What am I doing wrong? Or how else could I do it?
If you are going to look for so many keywords, you need a different strategy. You can modify below for any number of keywords to be found at the same time
I would set up a Helper column, with a formula that evaluates to TRUE
or FALSE
, and then filter on that.
For example:
Named Range
referring to $G$2:$G$3
E2 (FilterCol): =SUMPRODUCT(--ISNUMBER(MATCH(KeyWords,A2:D2,0)))=COUNTA(KeyWords)
TRUE
You can certainly Hide the FilterCol, or put it somewhere distant on the worksheet where it won't be seen
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments