Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Counting more than one criteria

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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Counting more than one criteria

For 4 Male In:

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

--
Gary''s Student - gsnu200770
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Counting more than one criteria

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

"PCLIVE" wrote:

Try this:

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

HTH,
Paul

--

"Justin Chips" <Justin wrote in message
...
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




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Counting more than one criteria

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

"Gary''s Student" wrote:

For 4 Male In:

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

--
Gary''s Student - gsnu200770

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting, 2 criteria GD Excel Discussion (Misc queries) 7 February 11th 08 08:12 PM
counting Criteria Hemant Excel Discussion (Misc queries) 3 May 22nd 06 03:51 PM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Saleem Excel Worksheet Functions 1 January 12th 05 10:54 AM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Arain Excel Worksheet Functions 1 January 12th 05 08:33 AM
2 Criteria Counting PGiessler Excel Worksheet Functions 2 January 10th 05 07:27 PM


All times are GMT +1. The time now is 01:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"