countif I think

C

chris

thanks for reading this.
how can I count two different criteria at once. I want to be able to
count how many males are in group a and how many are in group b
without sorting the spreadsheet

group gender
a m
b f
a m
b f
b f
b m




cheers
 
M

mar10a

Would this work - create a third column which is a combination of the first 2,
then do a COUNTIF statement based on the new column

if column A is group, column B is gender make column C =+A2&B2 etc....

then use a COUNTIF statement off this new column =COUNTIF(c2:c100,"AM")
 
Top