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

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!
 
S

Shane Devenshire

Hi,

using reference cells:

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

Where D1 contains Male and D2 contains British.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top