Forum Discussion
StuLux23
Feb 18, 2020Copper Contributor
Can I use wildcards with the new FILTER function
I want to be able to filter a list that contains cells with lengthy text strings in them such as "12:15 to 12:35 Meeting with (Sponsor 1) at table (2) (Delegate Request)". I want to create a new lis...
- Feb 18, 2020
Perhaps the attached file helps you find a solution. It combines FILTER with a SEARCH for the text string in the larger text.
Riny_van_Eekelen
Feb 18, 2020Platinum Contributor
Perhaps the attached file helps you find a solution. It combines FILTER with a SEARCH for the text string in the larger text.
StuLux23
Feb 18, 2020Copper Contributor
If I also then want to exclude any that have the text "TBC" in them how would I add that to your existing formula?
- Riny_van_EekelenFeb 18, 2020Platinum Contributor
Your other question crossed my previous reply.
=FILTER(FILTER($A$2:$A$8,ISNUMBER(SEARCH($C$1,$A$2:$A$8,1))),NOT(ISNUMBER(SEARCH("TBC",FILTER($A$2:$A$8,ISNUMBER(SEARCH($C$1,$A$2:$A$8,1))),1))))
The formula above would Find "Sponsor 1" (in C1) but would exclude "TBC".
- StuLux23Feb 18, 2020Copper Contributor
- Riny_van_EekelenFeb 18, 2020Platinum Contributor
StuLux23 Please see attached.
- StuLux23Feb 18, 2020Copper ContributorI'm getting a #VALUE! error with this formula, some of the entries have both "Sponsor 1" and "TBC" in the text string but I only want to return those where they have "Sponsor 1" but NOT "TBC" which is what your formula appears to be trying to do but I can't get it to work with my data?