Counting based on multiple criteria

C

cubsfan

I have two columns that have drop down boxes with either a Yes or a No
as the only inputs. I need to be able enter a formula that counts up
the total "No" inputs in one column but count it up only if the other
column says yes. Any suggestions.
 
W

wjohnson

I would make a "Helper" column and then just count the "true" values:
Example:
Cell A1=no
Cell B1=yes
In cell C1 - enter the following formula =AND(A1="no",B1="yes") - then
copy down as far as you need.
This should equate to "TRUE" in C1 - Then you just use a formula to
count the number of TRUE's in Column C - using the COUNTIF function.
 
D

Dave Peterson

Top