+ Reply to Thread
Results 1 to 6 of 6

Finding exact matches through a lot of data?

  1. #1
    Registered User
    Join Date
    03-01-2010
    Location
    San Diego
    MS-Off Ver
    Excel 2007
    Posts
    27

    Finding exact matches through a lot of data?

    Sheet 1, i have a lot of numbered data, rows upon rows. I generate an every day report that consist of different data but also sometimes the same numbered data will appear from the previous day. To avoid doing double the work, is it possible to copy/paste the new data on a column in Sheet 2, to tell me if there is a duplicate value from Sheet 1? I want to spot the duplicate value and delete that specific row.



    For example:

    Column 1:
    831928416265023
    559239161521821
    056426660406591
    253129719663617
    538155540124841
    928688530387906
    085041567770440
    236447784263130
    081055086773275
    997315600108436
    017136299595962
    165284476511611
    984448030005405
    377183430727835
    644857040027393
    044181970024143
    841829272539679
    494273510230822


    The next day i generate the report, this is my results:

    997315600108436
    494273510230822
    841829272539679
    165284476511611
    377183430727835
    236447784263130
    468399715132794
    081055086773275
    056426660406591
    538155540124841
    085041567770440
    345121573692024
    240531315083465
    298064015878194
    878280715042783
    380365767016590
    820389161023513
    820389161023520
    745209363661095
    522242515032085
    681312886030620


    As u can tell the following numbers below, is duplicated:

    056426660406591
    081055086773275
    085041567770440
    165284476511611
    236447784263130
    377183430727835
    494273510230822
    538155540124841
    841829272539679
    997315600108436


    I had to go through each one by one, which is time consuming to find a match. Is there any other easier way? Thanks!!!

  2. #2
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Finding exact matches through a lot of data?

    Hi, There are a million ways to do this. You can choose from a formula or a macro. Which would you prefer? Also, did you really want to copy the new days number into another sheet or the smae sheet? what is your ideal?
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  3. #3
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Atlanta, USA
    MS-Off Ver
    Office 2003, 2010
    Posts
    230

    Re: Finding exact matches through a lot of data?

    I would recommend playing with the 'remove duplicates' tool. It can be found in Data > Remove Duplicates. You can specify which columns you want to search within a selection and how to select and remove the duplicates. To protect your data, I would make a copy of it until you find out if this will work for your specific situation, and how you can best use the tool.

  4. #4
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Finding exact matches through a lot of data?

    see the attached.

    Highlight the column with the data (in this case Col A) and press the delete duplicate rows button.

    This code is from http://www.cpearson.com/excel/deleting.htm
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-09-2012
    Location
    Lihue, HI
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Finding exact matches through a lot of data?

    Aloha,

    I am also trying to accomplish something similar but rather than removing duplicates in a column of data, I want to identify those duplicates and move them to another sheet in my workbook. I have a list of guests at a hotel and I am trying to identify reservations with the same name or same e-mail address or same frequent guest account number. I need to identify these duplicates so I can be sure that I assign connecting or adjacent rooms (as these are likely family members traveling together with multiple reservations).

    I am programming macros in VBA and the best that I could come up with is a subroutine that first sorts the columns ascending and running a loop that compares one of the cells to the next cell below in the column.

    However, I haven't been able to get this to work -- the macro crashes Excel every time I execute this search. I am wondering if any of you have ideas on how to accomplish this kind of search to look for duplicates within the same column (again to identify them, not to remove them).

    Mahalo,

    Andrew

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,622

    Re: Finding exact matches through a lot of data?

    @atltempleman -

    Hi
    Don't hijack others' threads. It's against forum rules because it makes threads hard to follow
    Best start a new one and eventually add a link to this one if you feel it's necessary

+ 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