When I do this:
B C 223 herp 223 herp 3 herp 223 derp 223 herp,derp =countif(C:C, "*herp*")
I get 4 correctly.
When i do
=count(filter(B:B, B:B=223, C:C="*herp*"))
I get 0. incorrectly. When I remove the wildcard characters "*", I get 2, which is better, but does not get herp, derp.
Does the filter not support wildcards? If so, how can I count a row only if two of the columns match two different criteria that have wildcards?
FILTER does not support wildcards, no. You need to do something like:
=COUNT(FILTER(B:B,B:B=223,SEARCH("herp",C:C)))
or
=COUNT(FILTER(B:B,B:B=223,REGEXMATCH(C:C,"herp")))
COUNTIFS:
=COUNTIFS(B:B,223,C:C,"*herp*")
Source: https://habr.com/ru/post/1523621/More articles:Run maven assembly twice - javaBackgroundWorker - the calling thread cannot access the object - multithreadingInvalidOperationException when trying to access a complex object from another thread - multithreadingApache Hive regEx serde: data types - regexCocoaPods Installation / Search Error - cocoapodsDefine the solution configuration (debug / release) when starting the T4 template to include the assembly in the solution - c #AWS AutoScaling 'oldestinstance' Termination Policy не всегда завершает самые старые экземпляры - amazon-web-servicesRuby Gem Command Line Tool - ruby | fooobar.comПростые одновекторные входные массивы считаются несовместимыми по scikit - pythonHow to measure L1, L2 and L3 cache latency with C? - cAll Articles