+ Reply to Thread
Results 1 to 11 of 11

Removed duplicate values from 2 lists to give only the unique values in list 3

  1. #1
    Registered User
    Join Date
    10-25-2018
    Location
    Manchester, England
    MS-Off Ver
    MS 365 Enterprise
    Posts
    73

    Removed duplicate values from 2 lists to give only the unique values in list 3

    Hi,

    I only want columns G and H to pull through values that are not duplicated between Columns A and B and Columns D and E so the expected result would be pulling what I have typed into G and H.

    I am expecting this to be simple enough, but can't seem to get it right.

    Any help would be greatly appreciated.

    Many thanks
    Tom
    Attached Files Attached Files

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

    Re: Removed duplicate values from 2 lists to give only the unique values in list 3

    Do you still have Excel 2016, or MS365 perchance?
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-25-2018
    Location
    Manchester, England
    MS-Off Ver
    MS 365 Enterprise
    Posts
    73

    Re: Removed duplicate values from 2 lists to give only the unique values in list 3

    I am using MS365

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,403

    Re: Removed duplicate values from 2 lists to give only the unique values in list 3

    Good. Please update yur forum profile accordingly.

  5. #5
    Registered User
    Join Date
    10-25-2018
    Location
    Manchester, England
    MS-Off Ver
    MS 365 Enterprise
    Posts
    73

    Re: Removed duplicate values from 2 lists to give only the unique values in list 3

    Hi Ali,

    Profile has been updated.

    Thanks
    Tom

  6. #6
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,706

    Re: Removed duplicate values from 2 lists to give only the unique values in list 3

    one option

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

  7. #7
    Registered User
    Join Date
    10-25-2018
    Location
    Manchester, England
    MS-Off Ver
    MS 365 Enterprise
    Posts
    73

    Re: Removed duplicate values from 2 lists to give only the unique values in list 3

    Thanks XLent,

    It works great on the example.

    Is there anything that would work if if dragged a formula down as the real document I am working on has a few thousand rows.

    Or could this also work if I expand the cells ranges in the formula?

  8. #8
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,141

    Re: Removed duplicate values from 2 lists to give only the unique values in list 3

    your title says remove duplicates, but your post, supported by the example file, suggests you want columns G and H to show items that are in columns A and B, but not in columns D and E.

    here is an array formula for cell G2 (control + Shift + enter):
    Please Login or Register  to view this content.
    then drag down

    here is an array formula for cell H2 (control + Shift + enter):
    Please Login or Register  to view this content.
    then drag down
    Attached Files Attached Files

  9. #9
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,706

    Re: Removed duplicate values from 2 lists to give only the unique values in list 3

    Or could this also work if I expand the cells ranges in the formula?
    yes, modify the ranges -- the FILTER effectively returns A:B range wherever A range cannot be found in D range

  10. #10
    Registered User
    Join Date
    10-25-2018
    Location
    Manchester, England
    MS-Off Ver
    MS 365 Enterprise
    Posts
    73

    Re: Removed duplicate values from 2 lists to give only the unique values in list 3

    Hi,

    Thanks to both of you - they both seem to do the job.

    Greatly appreciated,
    Tom

  11. #11
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,141

    Re: Removed duplicate values from 2 lists to give only the unique values in list 3

    for unlimited rows, just modify the formula from XLent to be the following:

    Please Login or Register  to view this content.

+ 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] Give Duplicate Alphanumeric Values a Unique Identifier
    By papgar in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-18-2018, 10:45 AM
  2. List unique values matching a criteria that has duplicate values
    By Andrewjs in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2017, 10:11 PM
  3. Replies: 4
    Last Post: 01-04-2017, 07:29 PM
  4. Replies: 2
    Last Post: 09-02-2015, 11:18 PM
  5. [SOLVED] List unique values from multiple dynamic lists
    By andredl in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-22-2014, 02:37 AM
  6. [SOLVED] Macro to give the count of unique values after comparing the comma separated values
    By Manish_Gupta in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-03-2014, 12:41 AM
  7. [SOLVED] Compare two lists and copy unique values to the second list
    By Brumbot in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-06-2013, 07:36 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