+ Reply to Thread
Results 1 to 9 of 9

brain fog - comparing two columns

  1. #1
    Registered User
    Join Date
    10-01-2014
    Location
    uk
    MS-Off Ver
    2013
    Posts
    29

    brain fog - comparing two columns

    hi all,

    I need to do something that I think should be quite simple but I can't figure it out.

    I have two long list of emails in two different columns.

    I want to know how many emails are duplicates, or how many emails in column B, exist in column A. I don't really care which ones, just a final number

    (the list is very long, in the thousands if that matters)

    Thanks!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,990

    Re: brain fog - comparing two columns

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: brain fog - comparing two columns

    for duplicates:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    (if 0 then there are not duplicates)
    For how many times emails from B exists in A
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    for how many times emails from A is found in B:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Diana Tanase


    If the solutions offered helped you to solve your problem, then mark the thread as SOLVED (thread tools in the top menu) and you can click on * to add reputation to those who helped you, as a way to say thank you !

  4. #4
    Registered User
    Join Date
    10-01-2014
    Location
    uk
    MS-Off Ver
    2013
    Posts
    29

    Re: brain fog - comparing two columns

    Quote Originally Posted by tanasedn View Post
    for duplicates:
    For how many times emails from B exists in A
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Doesn't this count just the one criteria = B1? I want to know ALL of the Bs that appear in column A

  5. #5
    Registered User
    Join Date
    10-01-2014
    Location
    uk
    MS-Off Ver
    2013
    Posts
    29

    Re: brain fog - comparing two columns

    sample XLS attached
    Attached Files Attached Files

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,469

    Re: brain fog - comparing two columns

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  7. #7
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: brain fog - comparing two columns

    The formula need to be drag down. If you need to see if the email from B exist in column A. If you want to see how many from B are in A use the TMS's formula
    Attached Files Attached Files

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,469

    Re: brain fog - comparing two columns

    @tanasedn: the OP said in the first post
    I don't really care which ones, just a final number

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,469

    Re: brain fog - comparing two columns

    @GuyMor: is this resolved?

+ 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: 4
    Last Post: 04-25-2019, 05:28 AM
  2. [SOLVED] Comparing Multiple Columns In 1 Sheet to Columns in Another
    By anonymous12 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-14-2018, 11:40 AM
  3. Comparing 2 columns in a row of columns and identifying differences
    By westchr5 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-14-2016, 10:44 AM
  4. Replies: 3
    Last Post: 04-23-2014, 05:14 PM
  5. Replies: 2
    Last Post: 04-18-2013, 02:03 PM
  6. Replies: 2
    Last Post: 03-15-2013, 05:25 PM
  7. [SOLVED] IF AND or SUMIFS comparing Months from 2 date columns and text from 2 other columns
    By jrochet in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-22-2012, 11:06 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