In Sheet3 enter these formulae in A1 and B1:
A1: =IF(Sheet1!A1="","",Sheet1!A1)
B1: =IF(Sheet1!B1="","",Sheet1!B1)
then copy these down the columns for at least as many entries as you
have in Sheet1 - you will get blanks if there is no data in the
corresponding cells in Sheet1.
Then in C1 enter this formula:
=IF($B1="","",VLOOKUP($B1,Sheet2!$A1:$D3,COLUMN(B1),0))
and copy the formula into D1:E1. Note that I have assumed that you
only have 3 rows in Sheet2, so adjust the range to suit your data.
Then copy C1:E1 down the columns until you run out of data in columns
A and B.
If you want to fix the values, then highlight the range in Sheet3,
click <copy> followed by Edit | Paste Special | Values (check) | OK
then <Enter>.
Hope this helps.
Pete
> I would like to merge data from two worksheets into one worksheet based on a
> key data value. Here is the data:
[quoted text clipped - 35 lines]
>
> Attila