+ Reply to Thread
Results 1 to 4 of 4

Countif avoiding duplicates

  1. #1
    Registered User
    Join Date
    02-27-2013
    Location
    London
    MS-Off Ver
    Excel 20010
    Posts
    7

    Countif avoiding duplicates

    Hi all,

    I have this situation:

    A 1
    A 2
    A 2
    B 1
    B 2

    And I want to group data based on 2nd column (the one with 1s and 2s), not double counting the values in 1st column.
    To be clear, the desired outcome should be:
    1 -> 2
    2 -> 2

    How can I solve this?

    Thanks,
    M
    Last edited by mikmonto; 06-10-2015 at 06:13 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Countif avoiding duplicates

    http://stackoverflow.com/questions/1...alues-in-excel
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    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: Countif avoiding duplicates

    Hi,

    Please clarify.

    I can indeed see two unique letters (A & B) based on number 1s, i.e. A1 & A4
    But I can only see two unique letters (A & B) based on number 2s, i.e. A2 (or A3) & A5.

    Where do you get 3 unique letters fro number 2?
    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.

  4. #4
    Registered User
    Join Date
    02-27-2013
    Location
    London
    MS-Off Ver
    Excel 20010
    Posts
    7

    Re: Countif avoiding duplicates

    My mistake Richard. Indeed I edited it straight after. It's 2 and 2

+ 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] Rank using countifs and avoiding duplicates
    By mashley in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-20-2014, 01:10 PM
  2. [SOLVED] Using Countif and avoiding duplicates
    By dsklein85 in forum Excel General
    Replies: 2
    Last Post: 05-15-2012, 04:19 PM
  3. AutoFilter - Avoiding Duplicates
    By spud2486 in forum Excel General
    Replies: 1
    Last Post: 10-17-2008, 02:53 PM
  4. AVOIDING DUPLICATES IN A RANGE OF CELLS
    By Glint in forum Excel General
    Replies: 12
    Last Post: 08-09-2006, 06:59 AM
  5. Avoiding Duplicates
    By Mald in forum Excel General
    Replies: 4
    Last Post: 08-01-2006, 10:40 AM

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