+ Reply to Thread
Results 1 to 7 of 7

Need to find data from one worksheet in another worksheet.

Hybrid View

  1. #1
    Registered User
    Join Date
    02-23-2013
    Location
    New Mexico
    MS-Off Ver
    Excel 2010
    Posts
    4

    Talking Need to find data from one worksheet in another worksheet.

    I have a worksheet of roughly 10,000 voters that have replied to a recent election with just there names and addresses and has 7 columns. I need to find them in another worksheet that has roughly 500,000 voters which has all of there voter information about 200 columns. The 7 columns from the first worksheet are the first columns 7 columns in the bigger list. I have tried hlookup and it didnt work the way I was expecting. Is there an easier way to find them or is there a program that will do it.

    Please help.

    Thank you.

  2. #2
    Registered User
    Join Date
    06-16-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Need to find data from one worksheet in another worksheet.

    Please add the excel sheet

  3. #3
    Registered User
    Join Date
    02-23-2013
    Location
    New Mexico
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Need to find data from one worksheet in another worksheet.

    I cant just release it on the internet its got social security numbers, voter id numbers, phone numbers, addresses, vote history. Its a felony.

  4. #4
    Registered User
    Join Date
    06-16-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Need to find data from one worksheet in another worksheet.

    provide a demo version which does not have real time data..as SSN field have
    ssn1,ssn2

  5. #5
    Registered User
    Join Date
    02-23-2013
    Location
    New Mexico
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Need to find data from one worksheet in another worksheet.

    OK so after talking to my client all they really want to know besides the info we already have is what party the people who have responded are registered to so i was able to cut out most of the columns. The only data now that is gonna be different between the 2 workbooks is the part registration.

    Attached below is voter demo which is the master voter data file with the party registration and the returned demo is the info we have from the people who have responded. Please note all names and info have been changed.

    Thank you in advance for any help.
    Last edited by dapengi; 02-23-2013 at 10:36 PM. Reason: Took Files Away

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

    Re: Need to find data from one worksheet in another worksheet.

    There are a lot of spaces in the names and initials of "Returned" that are not in the Voter list.

    I copied the Returned worksheet and pasted into the Voter Demo workbook and then renamed that sheet as Returned and I renamed the sheet1 of the Voter demo as Voter.

    I inserted a column to the left of the existing column A of both worksheets and then on the Voter worksheet entered this formula in A2 and copied down the length of the data:

    =IF(COUNTIFS(Returned!B:B,B2,Returned!C:C,C2,Returned!D:D,D2,Returned!E:E,E2)>0,1,"") This will enter a 1 in column A of Voter if the first 4 columns are an exact match.

    I hope that the data in the actual voter and returned worksheets are formatted exactly the same because your examples were not the same at all even for the first 4 columns as all the entries of the Returned_demo had trailing spaces for all the text entries while the entries in the Voter list did not have the trailing spaces....trailing spaces will cause formulae to fail when making comparisons.

  7. #7
    Registered User
    Join Date
    02-23-2013
    Location
    New Mexico
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Need to find data from one worksheet in another worksheet.

    I went in and cleaned up the worksheet so the formats matched and used what you said and it helped quite a bit. Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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