Counting more than one criteria

J

Justin Chips

I need a count of how many times three columns (Year, Gender and Date) have
the same values.

For example Year 4, Male and In or Year 8 Male and In.

Name Year Gender 25/02/2008
Miles Anderson 4 Male IN
Phoebe Brundle 5 Female IN
Alexander Cadier 5 Male OUT
Archie Chitty 8 Male IN
Rupert Coley 7 Male IN
Charlie Davies 8 Male IN
Bertie Griffiths 6 Male IN
Harry Griffiths 8 Male IN
Arabella Harvey 4 Female OUT
Hugo Harvey 7 Male IN
Harry Herbert 8 Male IN
 
G

Gary''s Student

For 4 Male In:

=SUMPRODUCT(--(B1:B100=4),--(C1:C100="Male"),--(D1:D100="IN"))
 
J

Justin Chips

Thanks very much... I have been fighting with this formula
=SUMPRODUCT(B3:B13=4,C3:C13="Male",D3:D13="IN") and getting frustrated. Why
do simple things like brackets and dashes make such a difference!!!

Thanks again,

Justin
 
J

Justin Chips

Thanks very much... I have been fighting with this formula
=SUMPRODUCT(B3:B13=4,C3:C13="Male",D3:D13="IN") and getting frustrated. Why
do simple things like brackets and dashes make such a difference!!!

Thanks again,

Justin
 

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