PC Review


Reply
Thread Tools Rate Thread

Counting from one column by specific identifier

 
 
Mike
Guest
Posts: n/a
 
      4th Dec 2007
Say I have two columns, Dog Breeds and Male/Female. In Dog Breeds there are
25 different types, in Male/Female I have either M or F. The actual problem
is alot more difficult than this, but I'm trying to simplify the issue to get
the result I want.

I want to enter a formula that says IF column Dog Breed equals "German
Shepherd" Count Males to get a total of Male German Shepherds.

Can anyone give me some help?

 
Reply With Quote
 
 
 
 
stjori@hotmail.com
Guest
Posts: n/a
 
      4th Dec 2007
On Dec 4, 7:53 pm, Mike <M...@discussions.microsoft.com> wrote:
> Say I have two columns, Dog Breeds and Male/Female. In Dog Breeds there are
> 25 different types, in Male/Female I have either M or F. The actual problem
> is alot more difficult than this, but I'm trying to simplify the issue to get
> the result I want.
>
> I want to enter a formula that says IF column Dog Breed equals "German
> Shepherd" Count Males to get a total of Male German Shepherds.
>
> Can anyone give me some help?


You could try something like =SUMPRODUCT(--(A1:A10="German
Shepherd"),--(B1:B10="Male")).

Also, have a look at pivot tables.
 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      4th Dec 2007
=SUMPRODUCT(--(A2:A200="German Shepherd"),--(B2:B200="Male"))



--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Mike" <(E-Mail Removed)> wrote in message
news:BDDBFE34-06A6-4097-B873-(E-Mail Removed)...
> Say I have two columns, Dog Breeds and Male/Female. In Dog Breeds there
> are
> 25 different types, in Male/Female I have either M or F. The actual
> problem
> is alot more difficult than this, but I'm trying to simplify the issue to
> get
> the result I want.
>
> I want to enter a formula that says IF column Dog Breed equals "German
> Shepherd" Count Males to get a total of Male German Shepherds.
>
> Can anyone give me some help?
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Counting specific test in a column in another worksheet that fallbetween entered dates Pete_UK Microsoft Excel Discussion 1 14th Sep 2009 04:04 PM
Counting records in a column range occuring between specific dates Jeremy Prosser Microsoft Excel New Users 4 24th Jan 2009 04:14 AM
Re: Counting a specific range of values within a column Dave Peterson Microsoft Excel Misc 0 2nd Jan 2007 06:04 PM
counting only specific numbers in column =?Utf-8?B?QWxleCBD?= Microsoft Excel Worksheet Functions 2 25th May 2005 08:32 PM
Counting unique entries in column A but only if specific values appear in columns B and C markx Microsoft Excel Worksheet Functions 2 10th Feb 2005 01:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:14 PM.