Forum Discussion
Dan Hanley
Oct 04, 2018Copper Contributor
Using countifs with two variables searching a range of columns
I am trying to create an interactive worksheet that counts the number of times two conditions are met using a drop down menu to select the conditions. The conditions are hosted in a range of columns....
SergeiBaklan
Oct 05, 2018Diamond Contributor
However, if lookup in one list that could be
=SUMPRODUCT( (($B$2:$B$11=$I$3)+($C$2:$C$11=$I$3)+($D$2:$D$11=$I$3)+($E$2:$E$11=$I$3)+($F$2:$F$11=$I$3))* (($B$2:$B$11=$K$3)+($C$2:$C$11=$K$3)+($D$2:$D$11=$K$3)+($E$2:$E$11=$K$3)+($F$2:$F$11=$K$3)))
and attached
Lorenzo Kim
Oct 06, 2018Bronze Contributor
Mr. Baklan
thank you for the code.
It is more "Dynamic" ..
though quite long but very neat!