+ Reply to Thread
Results 1 to 6 of 6

How to match duplicate/unique values in two columns?

  1. #1
    Registered User
    Join Date
    06-18-2020
    Location
    Cheltenham
    MS-Off Ver
    10 Pro
    Posts
    3

    How to match duplicate/unique values in two columns?

    Hi all,

    I have two columns and have identified duplicate and unique data, but I would like the duplicates (the matches in my case) to sit side by side each other?

    In this sheet, I have 8 columns of 2 where I want this to be done. For example, in the screenshot I would like a,b and c to sit by side by side.

    UPDATE: in the attachment I have two lists of words and would like the duplicates to be next to each other.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by jackdanes; 06-19-2020 at 03:45 AM.

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: How to match duplicate/unique values in two columns?

    In "C2"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Ensure by pressing ctrl+shift+enter


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Registered User
    Join Date
    06-18-2020
    Location
    Cheltenham
    MS-Off Ver
    10 Pro
    Posts
    3

    Re: How to match duplicate/unique values in two columns?

    Thanks for the reply. This seems to identify duplicate and unique values but not align them next to eachother.

    Thanks,

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,637

    Re: How to match duplicate/unique values in two columns?

    It may help someone have a better understanding of what you want if you utilize the instructions in the banner at the top of the page and upload an .xlsx file that illustrates you request.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    06-18-2020
    Location
    Cheltenham
    MS-Off Ver
    10 Pro
    Posts
    3

    Re: How to match duplicate/unique values in two columns?

    I've added an attachment and a bit more of description.

    Thanks,

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,637

    Re: How to match duplicate/unique values in two columns?

    UPDATE: in the attachment I have two lists of words and would like the duplicates to be next to each other.
    The following puts duplicates next to each other:
    1. Column C: =IFNA(MATCH(A2,B:B,0),"")
    2. Column D: =IFERROR(INDEX(A$2:A$20,AGGREGATE(15,6,(ROW(A$2:A$20)-ROW(A$1))/(ISNUMBER(C$2:C$20)),ROWS(A$1:A1))),"")
    3. Column E: =D2
    What would you like done, if anything, with the phrases that are not duplicates.
    Let us know if you have any questions.
    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. Replies: 2
    Last Post: 03-15-2017, 08:22 AM
  2. Replies: 6
    Last Post: 05-26-2016, 11:12 PM
  3. [SOLVED] Need Help Counting Unique Values If 2 Columns Match
    By Xeba37 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-10-2016, 05:29 AM
  4. Compare duplicate values in two columns and highlight if match
    By JEKF in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-18-2015, 12:32 PM
  5. [SOLVED] Find count of Unique or Duplicate Values based on Concatenated values in 2 columns
    By bdicarlo1 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-03-2014, 12:42 AM
  6. Replies: 0
    Last Post: 11-15-2012, 06:47 AM
  7. Replies: 7
    Last Post: 07-13-2009, 01:30 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