Go Back   Cyber Tech Help Support Forums > Software > Applications

Notices

Applications Use this board for problem solving and the discussion of computer software applications

Reply
 
Topic Tools
  #1  
Old April 8th, 2003, 06:27 PM
countryatheart countryatheart is offline
New Member
 
Join Date: Apr 2003
Location: Dade City, Florida
Age: 47
Posts: 2
Question List help

I have two lists. One is about 70 names and the other is about 7000. I need to compare the lists to see if any of the 70 names appear on the list of 7000. Both lists are in Tab-Delimited format, however the names are in different fields (meaning that on one list it's listed as lastname,first name in one field and on the other list last name is a field and then first name is a separate field.)

Question - what's the easiest way to do this. I tried importing as two separate tables into Access and then running a query, but it's not working.

Any ideas? I'm sure it's an easy answer, but I'm drawing a blank right now.

Thanks --
Reply With Quote
  #2  
Old April 9th, 2003, 04:36 AM
smurfy's Avatar
smurfy smurfy is offline
Cyber Tech Help Moderator
 
Join Date: Sep 2000
O/S: Linux
Location: Christchurch New Zealand
Posts: 9,538
Hi there. Welocome to CTH.
Excel can do this.

e.g.
List 1 = 70 names, "Lastname, Firstname" = Col A
List 2 = 7000 names, "Lastname" = Col A, "Firstname" = Col B

Open the Tab Delimeted file and go through the wizard until you get list 1 on a worksheet.
Repeat steps for list 2.

Move list 2 sheet to the same workbook as list 1.
So you now have one workbook with 2 sheets, one sheet per list of names. Save the file as an xls.

On List 2, insert column to right of "Firstname" column.
Select first data row in this new column (should be Cell C2)
type:
=A2 & ", " & B2
Drag this formula down entire column C.
Hint: Double click the bottom right corner of cell C2 (when cursor appears as black cross) and it will auto-fill down entire column
This should give you a "Lastname, Firstname" field.

Go to list 1 and insert a column next to Col A.
This will be new Column B
In B2 type
=Vlookup(A2,List2sheetnamehereC1:C7000,1,FALSE)
Drag that down all 70 rows or do the double-click trick.

You will now get a column that lists all those names in List 1 that are also in list 2 with a "N/A" entry for those who are not.

Need more help? Post back.
Reply With Quote
  #3  
Old April 9th, 2003, 04:45 PM
countryatheart countryatheart is offline
New Member
 
Join Date: Apr 2003
Location: Dade City, Florida
Age: 47
Posts: 2
Smile Got it!

Thank you, thank you!!! It works...the only thing I had to change was to add $ in front of the cell references that shouldn't change, but otherwise it worked like a dream.

Thanks for your help. This site is awesome! :cheesy:
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Topic Topic Starter Forum Replies Last Post
Add Vista to OS List 30111987 Comments & Suggestions 4 January 25th, 2007 11:20 AM
Mru List citybandit Malware Removal 1 November 30th, 2006 07:08 PM
Need Help with Startup list and scan list from HIGHJACKTHIS PCDJSpYdeR Malware Removal 5 January 28th, 2005 03:20 AM


All times are GMT +1. The time now is 05:25 AM.