+ Reply to Thread
Results 1 to 5 of 5

Get the unique count of column on the basis of other column's data

  1. #1
    Registered User
    Join Date
    06-30-2011
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2003,2010
    Posts
    3

    Get the unique count of column on the basis of other column's data

    Hi All,

    I have three columns (A,B,C) in sheet and I need to sum column C data where data in A = *AB* AND data in column B is "*ype1*"


    A B C
    ABC type1 1
    DEF type2 0
    ABC type2 1
    XYZ type1 1
    ABC type1 0
    DEF type1 0


    Also I need to count the unique values in column C when below two conditions are satisfied:

    Cond 1: Column a has *AB*
    Cond 2: Coumn B has *ype1*

    Thanks in advance
    Last edited by NBVC; 06-30-2011 at 04:21 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Get the unique count of column on the basis of other column's data

    Try these:

    Please Login or Register  to view this content.
    and

    Please Login or Register  to view this content.
    this last formula needs to be confirmed with CTRL+SHIFT+ENTER to work, not just enter.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-30-2011
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2003,2010
    Posts
    3

    Re: Get the unique count of column on the basis of other column's data

    Quote Originally Posted by NBVC View Post
    Try these:

    Please Login or Register  to view this content.
    and

    Please Login or Register  to view this content.
    this last formula needs to be confirmed with CTRL+SHIFT+ENTER to work, not just enter.

    The second one is not giving the correct result. Because I need to unique value count in column "C" when both of the mentioned condition are satisfied.

    Please correct me if I am doing something wrong.

    thanks

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Get the unique count of column on the basis of other column's data

    Try:

    Please Login or Register  to view this content.
    CSE confirmed

  5. #5
    Registered User
    Join Date
    06-30-2011
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2003,2010
    Posts
    3

    Thumbs up Re: Get the unique count of column on the basis of other column's data

    Quote Originally Posted by NBVC View Post
    Try:

    Please Login or Register  to view this content.
    CSE confirmed
    Wonderful!!!

    You are awesome!!! Thanks for such valuable help in TIME

    Thanks again

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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