I am trying to merge 2 Excel files with few same columns based on a primary key(duplicates).
Ex: I ran this merge command in SAS and it worked perfectly.
data output_file;
merge file_1 file_2;
by id;
run;
SAS Output: It has created an output file with all the columns from both the files and merged column if both column contain same column name.