View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Joachim Joachim is offline
external usenet poster
 
Posts: 12
Default Find and copy data from 2 worksheets

Hallo Kclyn

Assuming company names and amounts in sheet1, columns A and B, company names
and adresses in sheet2, columns A and B, titles in line 1 and data starting
in line 2, and merged result in sheet3, balance amounts in Column B and
adresses in Column C:

1. Copy company names from sheet1 to column A, sheet3

2. sheet3, B2, insert formula:
=IF(ISERROR(VLOOKUP($A2;SHEET1!$A$2:$B$100;2;0));" ";VLOOKUP($A2;SHEET1!$A$2:$B$100;2;0))

3. sheet3, C2, insert formula:

=IF(ISERROR(VLOOKUP($A2;SHEET2!$A$2:$B$100;2;0));" ";VLOOKUP($A2;SHEET2!$A$2:$B$100;2;0))

Adust ranges as required an copy formulas down to last company name.
--
Regards

Joachim


"Kclyn" wrote:

I have two worksheets; one with company names and balance amounts, the other
with company names and addresses. I want to merge these together. Not all
of the companies on the balance sheet are on the addresses sheet. How can I
get these to come together?