+ Reply to Thread
Results 1 to 7 of 7

identify duplicate values in multiple columns

  1. #1
    Registered User
    Join Date
    08-11-2016
    Location
    china
    MS-Off Ver
    2013
    Posts
    17

    identify duplicate values in multiple columns

    Hi guys! I have an excel sheet with multiple columns containing list of firms . Please I need help on how to identify only firms that reoccurred in each of the columns and delete firms that can't be found in each of the multiple columns. Please I need help on how to do this
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-15-2016
    Location
    United States
    MS-Off Ver
    2010
    Posts
    33

    Re: identify duplicate values in multiple columns

    Good afternoon p99,

    I have a few quick questions to help better understand what you're looking to accomplish.

    When you say delete firms that can't be found in each of the columns, do you mean the firms should appear in all of the following columns in order to remain (A, C, E, G, I)?

    In the same thought train, would row two be deleted because SOUTH.AFN.COAL.MNG is not present in column I?

  3. #3
    Registered User
    Join Date
    08-11-2016
    Location
    china
    MS-Off Ver
    2013
    Posts
    17

    Re: identify duplicate values in multiple columns

    Good day Chenderson,
    Thanks for your reply. Yea,i mean the firms should appear in all the columns(A,C,E,G,I) irrespective of there row positions, hence SOUTH.AFN.COAL.MNG in row two will be deleted because it only appeared in column(A,C,E,G).
    Please the main data has more than 200columns and 5000rows,but the same format is maintained just as the attached sheet.

  4. #4
    Registered User
    Join Date
    02-15-2016
    Location
    United States
    MS-Off Ver
    2010
    Posts
    33

    Re: identify duplicate values in multiple columns

    One option is to enter the following formula in cell K2 and fill downwards :

    =COUNTIF(A2:I2,A2)=5

    Anther option is :

    =AND(A2=C2,C2=E2,E2=G2,G2=I2)
    Last edited by Chenderson; 08-11-2016 at 07:25 PM.

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: identify duplicate values in multiple columns

    You could use Conditional Formatting to identify those entries that have 5 (or more). You say that you have 200 columns and 5000 rows. This can be adjusted to accommodate your data.
    Select the data and enter the following formula in Conditional Formatting, New, Use Formula...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This will highlight all entries with the formatting that you choose that have 5 entries, you can delete the rest.
    I used red to show the items to keep and have added filters that you can use to sort by colour.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Registered User
    Join Date
    08-11-2016
    Location
    china
    MS-Off Ver
    2013
    Posts
    17

    Re: identify duplicate values in multiple columns

    Thanks guys, the last function gave me exactly what I desired

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: identify duplicate values in multiple columns

    Thank you for the feedback.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. 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. Delete Entire Row on duplicate values from multiple columns
    By Dahlia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-16-2015, 08:26 PM
  2. Totalling duplicate values across multiple columns
    By Andy impossible in forum Excel General
    Replies: 2
    Last Post: 01-29-2015, 06:51 AM
  3. [SOLVED] VBA Remove Duplicate Values From Multiple Columns
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-21-2014, 03:56 AM
  4. Replies: 3
    Last Post: 04-09-2014, 06:10 AM
  5. Duplicate Values in Multiple columns
    By inwell in forum Excel General
    Replies: 8
    Last Post: 12-04-2013, 07:14 AM
  6. Finding Duplicate Values in Multiple Columns
    By krissyboy78 in forum Excel General
    Replies: 3
    Last Post: 01-04-2013, 09:36 AM
  7. Replies: 7
    Last Post: 07-13-2009, 01:30 PM

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