+ Reply to Thread
Results 1 to 6 of 6

Formula to Copy from one column to another and exclude duplicates

  1. #1
    Forum Contributor
    Join Date
    05-29-2012
    Location
    Walnut, Ca
    MS-Off Ver
    Excel 2010
    Posts
    182

    Formula to Copy from one column to another and exclude duplicates

    Is there a way to have Column B mirror whats in Column A but exclude any duplicates?

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Formula to Copy from one column to another and exclude duplicates

    Hi,

    are you working with numbers or strings (names for istance)?

    Regards
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Contributor
    Join Date
    05-29-2012
    Location
    Walnut, Ca
    MS-Off Ver
    Excel 2010
    Posts
    182

    Re: Formula to Copy from one column to another and exclude duplicates

    Column A is a list of names which might be entered in more than once but in column B I only want them to show one time.

  4. #4
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Formula to Copy from one column to another and exclude duplicates

    Hi,

    In B2 (in A2:A1000 the list) to be confirmed with control+shift+enter

    =IFERROR(INDEX($A$2:$A$1000,SMALL(IF(ISNUMBER(MATCH(ROW($A$2:$A$1000)-1,MATCH($A$2:$A$1000,$A$2:$A$1000,0),0)),MATCH($A$2:$A$1000,$A$2:$A$1000,0),""), ROW(A1))),"")

    You could simply use a pivot table or an advanced filter too.

    Attached a little example where I cannot use IFERROR (I'm using EXCEL 2000).

    Hope that helps
    Attached Files Attached Files
    Last edited by canapone; 08-29-2012 at 11:02 AM.

  5. #5
    Forum Contributor
    Join Date
    05-29-2012
    Location
    Walnut, Ca
    MS-Off Ver
    Excel 2010
    Posts
    182

    Re: Formula to Copy from one column to another and exclude duplicates

    Thank you, works perfectly.

  6. #6
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Formula to Copy from one column to another and exclude duplicates

    Ciao,

    thanks for the kind feedback.

    Attached the 2010 version.

    Cheers
    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)

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