+ Reply to Thread
Results 1 to 4 of 4

Keeping Duplicates Existing in All Columns

  1. #1
    Registered User
    Join Date
    02-10-2017
    Location
    Dallas, Texas
    MS-Off Ver
    2016
    Posts
    2

    Keeping Duplicates Existing in All Columns

    I am working on a project that is comparing active directory group memberships. I am able to export the membership listings for each user account, but I need to have Excel remove all the groups listed that do not exist across every single column. So far, I have only been successful in identifying duplicates that exist in 2 columns (using CF), but I need it looking in all columns at the same time.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Keeping Duplicates Existing in All Columns

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    02-10-2017
    Location
    Dallas, Texas
    MS-Off Ver
    2016
    Posts
    2

    Re: Keeping Duplicates Existing in All Columns

    Attached as requested
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Keeping Duplicates Existing in All Columns

    If a group can only only occur ONCE in any column then this seems to work:

    In "After" of the attached:

    In A2

    =IF(COUNTIF(Before!$A$2:$E$8,Before!A2)<>5,"",Before!A2)

    Copy across and down
    Attached Files Attached Files
    Last edited by JohnTopley; 02-11-2017 at 04:40 AM.

+ 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] Combine 2 Columns from 2 different sheets with keeping duplicates
    By Sekars in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-20-2017, 03:16 AM
  2. Merging duplicates and keeping unique
    By hiswillbedun in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-06-2016, 01:06 PM
  3. merging certain columns of duplicates while keeping the remainder of row unchanged
    By yllekkar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-27-2015, 03:33 PM
  4. Not showing zero values on a graph but keeping the existing format
    By wilksy in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 07-24-2013, 10:38 AM
  5. Replies: 1
    Last Post: 08-29-2010, 12:06 PM
  6. Keeping duplicates within multiple columns
    By cobradaytona in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-13-2010, 05:08 PM
  7. Excel 2007 : deleting duplicates but keeping row values
    By moldoverb in forum Excel General
    Replies: 6
    Last Post: 10-23-2009, 11:57 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