Please enable JavaScript to view the comments powered by Disqus.


COUNTIF(...B5:F5,$B$1)+COUNTIF(...B5:F5,$B$2)

Filtering Columns for a given criteria

For filtering columns for a couple for criteria, we will use the COUNTIF function twice so that each countif can check for the criteria independently and result will be displayed in the helper column, that column will be filtered for the value of two to get the desired results.


Used Functions

Category: Statistical

Counts the number of cells within a range that meet the given criteria

Syntax

COUNTIF(range, criteria)

Lets chat on this