+ Reply to Thread
Results 1 to 4 of 4

2 Columns - Want To Count Number of Non Duplicates

Hybrid View

  1. #1
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: 2 Columns - Want To Count Number of Non Duplicates

    It's hard to give you something specific without seeing a sample book, but it sounds like an easy solution might be to use a helper column and COUNTIF. If your first list is in A2:A846 and your second list is in B2:B666, then in C2 try the following:

    =IF(COUNTIF($A$2:$A$846, $B2)=0, "Not in A", "In A")

    This will return "Not in A" if B2 is not included in the list in A. Fill it down through C666 to get all the non-matches, then use a COUNTIF formula on column C to get your totals. If I have the columns backwards, then just switch the As and Bs in the formula. Hopefully this helps?
    If your problem has been solved, please use "Thread Tools" to mark the thread as "Solved".

    If you're grateful for this site's existence and would like to contribute to the community, please consider posting something hilarious in our joke thread:
    https://www.excelforum.com/the-water...ke-thread.html

  2. #2
    Registered User
    Join Date
    01-27-2012
    Location
    Ottawa, Canada
    MS-Off Ver
    Excel 2016, O365
    Posts
    97

    Re: 2 Columns - Want To Count Number of Non Duplicates

    Awesome thanks!

+ 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. Replies: 0
    Last Post: 06-30-2015, 06:42 PM
  2. Replies: 3
    Last Post: 09-23-2014, 02:48 PM
  3. Count Number of Non-Blank Rows for Colums with Certain Headers
    By alfykunable in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-17-2012, 01:56 AM
  4. Count the number of duplicates in a given col or range
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 01-15-2012, 11:17 PM
  5. Count duplicates and put their number in next column
    By wali in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-21-2011, 05:59 PM
  6. count the number of duplicates and print the number of occurences
    By ash81sen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-12-2010, 01:21 PM
  7. Count and display number of duplicates
    By roxattaq in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-18-2009, 04:49 PM

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