https://quadexcel.com/wp/how-to-excel-magic-trick-180-countif-function-formula-21-examples-of-different-criteria/
How to Excel Magic Trick #180: COUNTIF function formula 21 Examples of Different Criteria