+ Reply to Thread
Results 1 to 5 of 5

Count unique entries in Column A when contents in Column B is equal to a value

  1. #1
    Registered User
    Join Date
    05-07-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    9

    Count unique entries in Column A when contents in Column B is equal to a value

    Hi,

    Can someone help to find the Excel function/formula to count unique entries in Column A when a value is matched in Column B?

    Need a function to return to count unique values in A when contents of column B is equal to BB.

    Function should give 3 as the answer to below. Please help. Thanks.

    Col A Col B
    XX11 BB
    XX22 AA
    XX22 BB
    XX33 BB
    XX11 BB
    XX22 AA
    XX33 BB


    Mathewfer

  2. #2
    Forum Contributor
    Join Date
    03-27-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    154

    Re: Count unique entries in Column A when contents in Column B is equal to a value

    Hi,

    Paste this array formula in and press Control +Shift +Enter at the same time::
    Please Login or Register  to view this content.
    If entered correctly, the formula will appear with {} around it automatically.
    Attached Files Attached Files

  3. #3
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Count unique entries in Column A when contents in Column B is equal to a value

    =SUM(SIGN(FREQUENCY(IF(B1:B7="BB",MATCH(A1:A7,A1:A7,)),MATCH(A1:A7,A1:A7,))))

    Press Ctrl+Shift+Enter, not just Enter

  4. #4
    Registered User
    Join Date
    05-07-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Count unique entries in Column A when contents in Column B is equal to a value

    Hi,

    Thanks. It worked.

    mathewfer

  5. #5
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Count unique entries in Column A when contents in Column B is equal to a value

    You're Welcome!

+ 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