#1   Report Post  
Posted to microsoft.public.excel.misc
CathyW
 
Posts: n/a
Default Import/merge data

I have a worksheet with a list of names and addresses; I have a second
worksheet with the same list of names (plus some not on the first list), a
social security number, and other data. I want to import the data from the
second worksheet into the first, matching the last names so I have combined
the information for each name onto one worksheet. The combined column labels
would be fname, lname, address1, social, # of items.


What is the best and easiest way to do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bill Ridgeway
 
Posts: n/a
Default Import/merge data

Although a bit messy, I would suggest you copy and paste all data from one
(the smallest) to the other leaving at least a couple of rows as a
separator. It is then a case of manual manipulation to head up additional
data fields (columns) and cut and paste data to the appropriate column. It
would be good to save as you go as File1, File2 etc so it would be easy to
go back if you make a mistake. When this is complete, delete the separator
rows and sort on name. If the spreadsheet is small it would be relatively
easy to go through and delete duplicate entries. Otherwise a helper column
with -
=IF(A2=A1,1,0)
and, on that column copy and paste (values) will identify the duplicate
entries. Sort on that column and delete the entries returning the value 1.

Regards.

Bill Ridgeway
Computer Solutions

"CathyW" wrote in message
...
I have a worksheet with a list of names and addresses; I have a second
worksheet with the same list of names (plus some not on the first list), a
social security number, and other data. I want to import the data from
the
second worksheet into the first, matching the last names so I have
combined
the information for each name onto one worksheet. The combined column
labels
would be fname, lname, address1, social, # of items.


What is the best and easiest way to do this?



  #3   Report Post  
Posted to microsoft.public.excel.misc
CathyW
 
Posts: n/a
Default Import/merge data

Thanks, but I know there is a non-manual way to do this. the last place I
worked, an Excel whiz did it for me but I don't recall how.

"Bill Ridgeway" wrote:

Although a bit messy, I would suggest you copy and paste all data from one
(the smallest) to the other leaving at least a couple of rows as a
separator. It is then a case of manual manipulation to head up additional
data fields (columns) and cut and paste data to the appropriate column. It
would be good to save as you go as File1, File2 etc so it would be easy to
go back if you make a mistake. When this is complete, delete the separator
rows and sort on name. If the spreadsheet is small it would be relatively
easy to go through and delete duplicate entries. Otherwise a helper column
with -
=IF(A2=A1,1,0)
and, on that column copy and paste (values) will identify the duplicate
entries. Sort on that column and delete the entries returning the value 1.

Regards.

Bill Ridgeway
Computer Solutions

"CathyW" wrote in message
...
I have a worksheet with a list of names and addresses; I have a second
worksheet with the same list of names (plus some not on the first list), a
social security number, and other data. I want to import the data from
the
second worksheet into the first, matching the last names so I have
combined
the information for each name onto one worksheet. The combined column
labels
would be fname, lname, address1, social, # of items.


What is the best and easiest way to do this?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pull data from another sheet based on certain criteria steve_sr2 Excel Discussion (Misc queries) 1 February 23rd 06 10:08 AM
Importing Data Jillian Excel Worksheet Functions 9 December 23rd 05 12:45 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Saving data in a worksheet within a workbook Homeuser Excel Discussion (Misc queries) 2 August 21st 05 10:49 PM
Line Graph Data Recognition Nat Charts and Charting in Excel 2 April 30th 05 02:07 PM


All times are GMT +1. The time now is 06:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"