Deleting Duplicates from a File

  • Thread starter Thread starter Connie
  • Start date Start date
C

Connie

I've not had success using the macros listed to delete
rows where the first cell is the same. For example,

* Sheet1 has name in column 1 (shorter file)
* Sheet2 has name in column 1 and address in column 2
(longer file)

I want Sheet1 to drive the selection of rows in Sheet2,
resulting in a name and address subset file of Sheet2.

Thank you,
Connie
 
Connie

If I understand you correctly, you want to have the names and addresses from
Sheet2 that match the names from Sheet1.
If so, sort the info in Sheet2 by name and then try using VLOOKUP(). If your
name is in Sheet1 cell A2 (for example) try:

=VLOOKUP(A1,Sheet2!A:B,2,false) in B1 to bring the address from Sheet2

If this is right, you can then fill down for the rest of the cells in the
column.

Andy.
 
Thanks, I'll try it!
-----Original Message-----
Connie

If I understand you correctly, you want to have the names and addresses from
Sheet2 that match the names from Sheet1.
If so, sort the info in Sheet2 by name and then try using VLOOKUP(). If your
name is in Sheet1 cell A2 (for example) try:

=VLOOKUP(A1,Sheet2!A:B,2,false) in B1 to bring the address from Sheet2

If this is right, you can then fill down for the rest of the cells in the
column.

Andy.




.
 
I can't make this work....getting #N/A....my files

Sheet 1 - Column A
Carol
Connie
Mom
Sophie
Thom

Sheet 2
Carol Houston
Connie Wayzata
Jill SLP
Mom
 
Back
Top