There are 3 columns of data B2:B91 C2:C91 D2:D91. The information is simply yes or no. The 4th column of data (E2:E91) is male or female. Individually the data has been counted: =Countifs(B2:B91,"YES",E2:E91,"Male")
=Countifs(B2:B91,"YES",E2:E91,"Female")
=Countifs(C2:C91,"YES",E2:E91,"Male")
=Countifs(C2:C91,"YES",E2:E91,"Female")
=Countifs(D2:D91,"YES",E2:E91,"Male")
=Countifs(D2:D91,"YES",E2:E91,"Female")
I am trying to combine those three into 1 function. If any of the cells display a yes, then that person needs to be counted. The problem with separately adding these together is that there are 3 categories for each person. If 2 of the columns display yes, the count will treat that as 2 separate individuals. I need the function to only count the person once if "Yes" is displayed in any of the 3 columns.
How should I go about this?
Bookmarks