+ Reply to Thread
Results 1 to 3 of 3

how to count unique values in excel based on criteria

  1. #1
    Jorge
    Guest

    how to count unique values in excel based on criteria

    Hi

    I need to count the number of unique text values stored in column A based on
    the contents of column B. Column B contains groups of values of different
    sizes (# rows) for each group I need to count the number of unique
    corresponding values stored in column A. These are all text based.

    Any suggestions on how to do this?

    Thanks,
    Jorge

  2. #2
    Gary Brown
    Guest

    RE: how to count unique values in excel based on criteria

    I think the CountIf function is what you're looking for.
    HTH,
    Gary Brown


    "Jorge" wrote:

    > Hi
    >
    > I need to count the number of unique text values stored in column A based on
    > the contents of column B. Column B contains groups of values of different
    > sizes (# rows) for each group I need to count the number of unique
    > corresponding values stored in column A. These are all text based.
    >
    > Any suggestions on how to do this?
    >
    > Thanks,
    > Jorge


  3. #3
    Domenic
    Guest

    Re: how to count unique values in excel based on criteria

    With a list of unique names from Column B in another column, let's say
    Column C...

    D1, copied down:

    =SUM(IF(FREQUENCY(IF(($A$1:$A$100<>"")*($B$1:$B$100=C1),MATCH($A$1:$A$100
    ,$A$1:$A$100,0)),ROW(INDIRECT("1:"&ROWS($A$1:$A$100))))>0,1,0))

    ....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

    Is this what you're looking for?

    Hope this helps!

    In article <[email protected]>,
    "Jorge" <[email protected]> wrote:

    > Hi
    >
    > I need to count the number of unique text values stored in column A based on
    > the contents of column B. Column B contains groups of values of different
    > sizes (# rows) for each group I need to count the number of unique
    > corresponding values stored in column A. These are all text based.
    >
    > Any suggestions on how to do this?
    >
    > Thanks,
    > Jorge


+ 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