Results 1 to 2 of 2

potential indirect countif: trying to count unique values giving same responses

Threaded View

j.farr3ll potential indirect countif:... 11-14-2013, 07:50 AM
XOR LX Re: potential indirect... 11-14-2013, 08:00 AM
  1. #1
    Registered User
    Join Date
    07-28-2010
    Location
    london, england
    MS-Off Ver
    Excel 2007
    Posts
    91

    potential indirect countif: trying to count unique values giving same responses

    Hi all,

    I have an ID number in column a and a simple Y/N response in column B. However the same ID number can appear multiple times in column A.

    I'm trying to work out a way to calculate how many different ID's gave a number of "Y"'s. i.e. the table I'm trying to populate is:

    Number of IDs
    1x "Y"
    2x "Y"
    3x "Y"
    4x "Y"
    5+x "Y"

    Assuming the following data in columns A and B:

    ID Y/N
    1 Y
    1 Y
    1 N
    1 N
    1 N
    1 Y
    2 N
    3 Y
    3 Y
    4 N
    5 Y
    2 Y
    6 N
    7 Y
    1 Y
    8 Y
    8 Y
    8 Y
    8 Y
    8 Y
    8 Y

    I'd expect to return the following:

    Number of IDs
    1x "Y" 3 (ID2 & ID5 & ID7)
    2x "Y" 1 (ID3)
    3x "Y" 0
    4x "Y" 1 (ID1)
    5+x "Y" 1 (ID8)

    However, I can't seem to workout how to do this. Any help would be great.

    Many Thanks,
    James
    Last edited by j.farr3ll; 11-15-2013 at 05:40 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 11-07-2013, 02:02 AM
  2. Replies: 2
    Last Post: 02-02-2013, 05:24 PM
  3. [SOLVED] count unique values in 3 columns, but countif function not working?
    By frustrated with exce in forum Excel General
    Replies: 3
    Last Post: 06-13-2012, 11:13 AM
  4. Replies: 6
    Last Post: 03-25-2010, 02:15 PM
  5. Replies: 17
    Last Post: 08-24-2009, 08:58 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1