+ Reply to Thread
Results 1 to 5 of 5

Remove Duplicates in columns

  1. #1
    Forum Contributor
    Join Date
    09-05-2012
    Location
    Dubai
    MS-Off Ver
    Office 365
    Posts
    409

    Remove Duplicates in columns

    Hi,
    pls provide me a solution

    I want to eliminate duplicate data in a row which has data in columns

    like sample columns A,B,C,D and A,B,C has the data of numbers and D is the result of consolidated.

    some times A,B,C values can be same so I want to eliminate duplicates and have a unique result

    I have done this using "If(AND(" as attached, but I don't think this is the solution
    since number of column if increased I have to do again all permutations and combinations

    Can I have a Smoother & Easiest way


    regards
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Remove Duplicates in columns

    You could try something like:
    =IF(SUM(IF(CONCATENATE(A2,B2,C2)=CONCATENATE(A$2:A$200,B$2:B$200,C$2:C$200),1,0))>1,"Duplicate","")

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Remove Duplicates in columns

    Hi,

    Does the attached which uses a couple of helper columns help?
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Contributor
    Join Date
    09-05-2012
    Location
    Dubai
    MS-Off Ver
    Office 365
    Posts
    409

    Re: Remove Duplicates in columns

    Hi Mr. Ragulduy, applied your post and answer is blank in every cell since it unsatisfying the given condition and posting the false condition result which is " "

    Hi Mr. Richard, it look we need to go for 3 more columns to get the results, do we have any simpler way ?

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Remove Duplicates in columns

    Hi,

    Depends what you regard as simpler. Columns F&G could be combined with just column E as a helper column, i.e.

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


    or if you really want to "simplify" it into just one result column then

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



    ...I think I know which I'd prefer

+ 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. Compare 2 columns and remove duplicates in both columns when found
    By 1dtms in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-11-2013, 02:19 AM
  2. Consolidate Columns & Remove Duplicates
    By ASD_1 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-07-2013, 01:05 AM
  3. [SOLVED] Remove Duplicates in Columns but also delete Row
    By iteriwarren in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 08-21-2012, 09:21 AM
  4. Remove duplicates loop through columns
    By closerb4 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-07-2011, 03:30 PM
  5. [SOLVED] compare two columns and remove duplicates
    By Moni39 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-05-2005, 02:06 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