Hi Reeza, Thank you for still being with me. Hope you will be with me until I am able to solve this problem. So I guess this is what I want 03/13/2018 02/27/1931 1 N mmc 200 03/13/2018 02/27/1931 1 N mmc 200 01/19/2018 10/06/1934 mmc 300 02/26/2018 10/21/1944 10 P 02/13/2018 03/06/1978 1 N mmc 300 02/13/2018 03/06/1978 1 N mmc 300 01/26/2018 04/14/1949 1 N mmc 200 02/06/2018 04/14/1949 1 P mmc 300 I want everything for the lab data with added info from clinic if available. Reeza, May be this might give you an idea better. Lab Clinic A A B B C C C D D D D E E F F G G G H MISSING I I J J J J In the table above, person A & B visit clinic and get tested so I have info in both data sets. Person C visited clinic once, but got two tests done. Person D visited clinic twice, tested twice. Person E & F visited clinic and got tested. Person G visited clinic once and tested twice or had two different tests done. Person H is not in clinic data set. Person J visited clinic four times but only had two tests done. This is the pattern of the two datasets I am trying to merge. Your help will be appreciated.
... View more