Finding the missing columns in target file

@Butterfly ,
please don't post input/out of CSV as HTML tables. Format your input/output as plain CSV files (as you have them).
The markdown code tags (for formating) are defined here.
I'm not going to reformat your data samples as it's a bit tedious - just edit your post to provide a REAL CSV data vs HTML formatted one.