Countif function
Countif function
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Countif function

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I have a spreadsheet that tracks test data I am using the countif fuction but I now need to figure how many males passed and how many females passed and this information is in two different columns.When I write countif()+Countif() it adds the two and I want the number of males that passedno both combined.

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,823
    Post Thanks / Like
    Mentioned
    12 Post(s)
    Tagged
    1 Thread(s)

    Default

    On 2002-03-14 16:07, staffer wrote:
    I have a spreadsheet that tracks test data I am using the countif fuction but I now need to figure how many males passed and how many females passed and this information is in two different columns.When I write countif()+Countif() it adds the two and I want the number of males that passedno both combined.
    Care to post 5 rows of data along with the exact ranges where your data are?

  3. #3
    Board Regular
    Join Date
    Feb 2002
    Location
    Calgary, Alberta Canada
    Posts
    3,329
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default

      

    consider

    =SUMPRODUCT((C49:C52="Male")*(E49:E52="Passed"))

    -revise the 2 ranges to reflect your data
    - assumes word "Male" is in Column C
    - assumes word "Passed" is in ColumnE

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com