+ Reply to Thread
Results 1 to 10 of 10

EDITING compare-two-columns-remove-duplicates FORMULA

  1. #1
    Registered User
    Join Date
    11-21-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    43

    Question EDITING compare-two-columns-remove-duplicates FORMULA

    I have 2 columns filled with Numbers.

    0000004655215 0068958355023 Duplicate
    0000007745443 0000004655215 Unique

    I'm currently using this formula in column 3:

    =IF(ISERROR(MATCH(A1,$B$1:$B$10000,0)),"Unique","Duplicate")

    I need to edit this formula to ignore leading zeros when the formula makes the decision. So the formula would yield for example:

    0000004655215 0068958355023 Duplicate
    0000007745443 0000004655215 Duplicate
    0000888848943 7745443 Unique


    How do I edit the formula to yield this result?

    All help is greatly appreciated.
    Last edited by TheProffesional; 11-21-2014 at 02:51 PM.

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: EDITING compare-two-columns-remove-duplicates FORMULA

    =IF(ISERROR(MATCH(--A1,--$B$1:$B$10000,)),"Unique","Duplicate"), CSE

  3. #3
    Registered User
    Join Date
    11-21-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    43

    Re: EDITING compare-two-columns-remove-duplicates FORMULA

    Quote Originally Posted by tim201110 View Post
    =IF(ISERROR(MATCH(--A1,--$B$1:$B$10000,)),"Unique","Duplicate"), CSE
    This returns the same thing as my formula, I do not see what you changed.

  4. #4
    Registered User
    Join Date
    11-21-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    43

    Re: EDITING compare-two-columns-remove-duplicates FORMULA

    86 views and 1 reply. Come on guys. Someone on this forum has to know how to edit this formula to output this result.

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: EDITING compare-two-columns-remove-duplicates FORMULA

    How about this:

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

  6. #6
    Registered User
    Join Date
    11-21-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    43

    Re: EDITING compare-two-columns-remove-duplicates FORMULA

    Quote Originally Posted by zbor View Post
    How about this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I cant even use this formula, it returns me an error.

  7. #7
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: EDITING compare-two-columns-remove-duplicates FORMULA

    What kind of error? Work for me:
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-21-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    43

    Re: EDITING compare-two-columns-remove-duplicates FORMULA

    aaa I found the problem, the formula in your previous thread had a semi colon instead of a comma. Ill try this formula on the full sheet and will let you know how it goes.

  9. #9
    Registered User
    Join Date
    11-21-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    43

    Re: EDITING compare-two-columns-remove-duplicates FORMULA

    Errrr, I still have this problem, where I have effectively removed duplicates in 2 matching columns, But I cannot get everything to match. Here is a sample excel sheet attached. If someone can help, it would be greatly appreciated.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    11-21-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    43

    Re: EDITING compare-two-columns-remove-duplicates FORMULA

    Just wondering if I should create a separate thread for the above sorting problem??

+ 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. [SOLVED] Compare two rows of numbers. Remove the duplicates
    By nicdyb in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-20-2012, 06:08 AM
  3. How to compare two columns and remove duplicates?
    By username123 in forum Excel General
    Replies: 15
    Last Post: 07-05-2006, 11:06 AM
  4. how do i compare two columns and remove duplicates?
    By aljernon805 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-09-2005, 12:10 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

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