+ Reply to Thread
Results 1 to 5 of 5

Count unique values in a column for each row that meets 3 criteria

  1. #1
    Registered User
    Join Date
    12-05-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    1

    Count unique values in a column for each row that meets 3 criteria

    Hello All -

    My goal is to have a formula that returns the count of Unique IDs that meet three criteria. The ID list will include blanks.

    Needing to perform approx 250 queries against 5000 lines.

    Have been using array formulas for other calcs in the sheet.

    Sample attached including criteria.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-26-2012
    Location
    Scotland
    MS-Off Ver
    Excel 2.0, 97, 2000, 2007, 2010
    Posts
    1

    Re: Count unique values in a column for each row that meets 3 criteria

    Hello,

    How do you generate the RKID?

    If it's something that's based on the criteria (adding the cells B10,C10 and D10) you could do a countif on it.

    i.e. =countif(E:E,$V$5) -->$V$5 being where you enter the RKID

    Cheers,
    C

  3. #3
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Count unique values in a column for each row that meets 3 criteria

    This one was not yet solved.
    Please find my solution.....
    Attached Files Attached Files
    Kind regards,
    Piet Bom

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Count unique values in a column for each row that meets 3 criteria

    Probably you can also solve this with an pivot table.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Count unique values in a column for each row that meets 3 criteria

    slightly shorter ARRAY formula:

    Please Login or Register  to view this content.
    or

    Please Login or Register  to view this content.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

+ 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