+ Reply to Thread
Results 1 to 5 of 5

COUNTIFS with a unique identier

  1. #1
    Registered User
    Join Date
    11-23-2011
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    3

    COUNTIFS with a unique identier

    All,
    Long time listener, first time poster. I was wondering if anyone could help me with the below predicament.

    Excel 2010

    I have a countifs function that is working perfectly.

    1

    =COUNTIFS('Risk & Control Repository'!H9:H9624, O7, 'Risk & Control Repository'!$W$9:$W$9624,CONCATENATE($D$13,E$16))

    However, I want to add one more criteria to it.

    2

    =COUNTIFS('Risk & Control Repository'!H9:H9624, O7, 'Risk & Control Repository'!$W$9:$W$9624,CONCATENATE($D$13,E$16), THIS COLUMN, ISUNIQUE)

    i.e.
    1) will return duplicated rows
    2) will not as THIS COLUMN is a unique identifier.

    I want to return all unique rows based on the unique identifer that meet the other criteria.

    Any and all help would be very much appreciated.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: COUNTIFS with a unique identier

    Hi,

    Assuming you only have Excel 2003 and not 2007/2010 (where you could have used the new COUNTIFS() function), you'll need to use instead either an array formula or SUMPRODUCT()

    Upload your workbook so that we can see your request in context.

    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    11-23-2011
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: COUNTIFS with a unique identier

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    Assuming you only have Excel 2003 and not 2007/2010 (where you could have used the new COUNTIFS() function), you'll need to use instead either an array formula or SUMPRODUCT()

    Upload your workbook so that we can see your request in context.

    Regards
    Hi Richard,
    Thanks for the quick response. I'm on Excel 2010 and as above am using COUNTIFS. Is their another COUNTIFS that would support the above?

    I can use sumproduct to count the number of unique values but I still need to set the other criteria as stipulated. Unfortunately the workbook is work-sensitive so I can't upload. Let me know if you can't take a stab based on the above and I'll create something simular for upload.

    Paul

  4. #4
    Registered User
    Join Date
    11-23-2011
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: COUNTIFS with a unique identier

    Guys,
    I've attached a simplified example of what I'm trying to do.

    Would appreciate any help.
    Attached Files Attached Files

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: COUNTIFS with a unique identier

    Hi,

    Often with cases like this the answer is to create a helper column, in this case a couple of helper columns.

    The count formula is now in H2 and is an array formula, i.e. must be entered with Ctrl-Shift-Enter.

    Regards
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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