Conditional Formula, counting one criteria in a range based on ano

  • Thread starter Thread starter sarahlbdarling
  • Start date Start date
S

sarahlbdarling

I have two columns of data, one being gender and the other being nationality.
I want to count how many British males there are, I can get the formulas to
work. I have tried many many variations of counta, countif, countifs, if etc
and none work.....where am I going wrong!
 
Hi,

using reference cells:

=SUMPRODUCT(--(A1:A10=D1),--(B1:b10=D2))

Where D1 contains Male and D2 contains British.
 
Back
Top