Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Valerie
 
Posts: n/a
Default merge unlike & like data in excel

I'm merging data from two separate and different workbooks. I know I can
make them look similar to start with by adding columns to each of them and
rearranging the columns. The problem I have is that I not only need to get
the information in one spreadsheet but I also need to get the information
merged in rows. For example, I have a column of policy numbers in both
spreadsheets but only one of the spreadsheets contain the address for the
policy number. I need to get the address in the same row as the policy
number. After I get this set up, I'll be using the information to do a
mailing by mail merging into Microsoft Word. I know how to do that part.

Any suggestions?
Thanks,
Valerie
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default merge unlike & like data in excel

you could use a vlookup on the policy numbers from sheet 1 on sheet 2 and
look in the column that contain the adresses and return them to sheet1
example say sheet 1 has policy numbers in a1 down to a100
sheet 2 has the same(or similar) list of policy numbers in column a and
addresses in col b
in b1 on sheet 1 type =vlookup(A1,Sheet2!$A$1:$B$100,2,false),and copy
down.If the lookup finds the matching policy number on sheet 2,it will return
the address from the corresponding row in sheet 2,if there isnt a match it
will show #NA.You can suppres that and show whatever you want instead by
typing
=if(isna(vlookup(A1,Sheet2!$A$1:$B$100,2,false))," no
match",vlookup(A1,$A$1:$B$100,2,false))
--
paul

remove nospam for email addy!



"Valerie" wrote:

I'm merging data from two separate and different workbooks. I know I can
make them look similar to start with by adding columns to each of them and
rearranging the columns. The problem I have is that I not only need to get
the information in one spreadsheet but I also need to get the information
merged in rows. For example, I have a column of policy numbers in both
spreadsheets but only one of the spreadsheets contain the address for the
policy number. I need to get the address in the same row as the policy
number. After I get this set up, I'll be using the information to do a
mailing by mail merging into Microsoft Word. I know how to do that part.

Any suggestions?
Thanks,
Valerie

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
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
VLookup to merge Access Query data into Excel Report Vira-SJH Excel Discussion (Misc queries) 0 January 10th 06 07:18 PM
Word merge with Excel data julie Excel Discussion (Misc queries) 1 March 24th 05 11:48 PM
How do I do an excel merge like a word mailmerge with another exc. jaewon223 Excel Discussion (Misc queries) 0 February 28th 05 05:01 PM
Fetching External Data from Excel Sri Excel Discussion (Misc queries) 2 January 3rd 05 11:46 AM


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

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

About Us

"It's about Microsoft Excel"