+ Reply to Thread
Results 1 to 7 of 7

countinfs with 2 criteria, need to add non duplicated count

  1. #1
    Registered User
    Join Date
    11-11-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    36

    countinfs with 2 criteria, need to add non duplicated count

    Hey All,

    I am comparing two columns by row looking for blanks in column C5:C182, and a "y" in the second column G5:G182. Which has worked thus far, th problem I am having is that I need non duplicated count of "y" in column G5:G182 based on names in a third column, B5:B182.


    this is what I am using at teh monment, =COUNTIFS(C5:C182,"",G5:G182,"y")

    Thoughts?

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,351

    Re: countinfs with 2 criteria, need to add non duplicated count

    Hi Mark,

    We really need a sample workbook to see to solve this. You can attach a sample by clicking on "Go Advanced" and then the Paper Clip Icon above the advanced message box.

    Will you allow a "Helper Column" to be added to the data?
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    11-11-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    36

    Re: countinfs with 2 criteria, need to add non duplicated count

    I have to change names listed in the sheet and I will shortern it before I attach it andyes go ahead and modify as needed. I will send a working copy and not the actual file.

  4. #4
    Registered User
    Join Date
    11-11-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    36

    Re: countinfs with 2 criteria, need to add non duplicated count

    Basically the answer I need from the sample sheet is 3, but my formula shows 4. One name is counted twice, I want a count of "y" based on column C not being blank (I changed my question to match the sample sheet attached)and non duplicated names from column B

    I hope this isn't clear as mud
    Attached Files Attached Files

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,351

    Re: countinfs with 2 criteria, need to add non duplicated count

    Hi Mark,

    See if this "Helper Column" answer will work for you.
    Attached Files Attached Files

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: countinfs with 2 criteria, need to add non duplicated count

    Try this Array Formula which requires confirmation with Ctrl+Shift+Enter instead of Enter alone.

    Please Login or Register  to view this content.
    Is this what you are trying to achieve?
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,351

    Re: countinfs with 2 criteria, need to add non duplicated count

    Hi Mark,

    Here is another way to get an answer using SumProduct in a Helper Column.
    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)

Similar Threads

  1. [SOLVED] count duplicated string in Range for each letter,Non Adjacent Row
    By david gonzalez in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-25-2014, 04:00 PM
  2. Replies: 11
    Last Post: 07-04-2014, 07:10 AM
  3. [SOLVED] delete duplicated rows based on a criteria in another column
    By melody10 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-08-2013, 06:53 AM
  4. Question: Count Unique/Duplicated 5 number Combination
    By david gonzalez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-01-2013, 11:43 PM
  5. I need to count how many times a name is duplicated?
    By aw73 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-17-2013, 06:38 AM

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