I have a spreadsheet with the following codes in column A:
AA
BC
DE
DJ
GG
HH
I want to merge data from a csv file with the following codes at the start of each line:
BB
BC
DF
EA
FA
GG
HH
LL
These codes will always be in alphabetical order in both files.
When merging, if the code in the spreadsheet does not match a code in the csv file, that row should be deleted from the spreadsheet.
If the code in the csv file does not match a code in the spreadsheet, that line from the csv file should be inserted into the spreadsheet in the correct position.
In this example, the spreadsheet after merging should contain rows:
AA
BB
BC
DF
EA
FA
GG
HH
LL
Can anyone help with some slick code to do this please?
Thanks
AA
BC
DE
DJ
GG
HH
I want to merge data from a csv file with the following codes at the start of each line:
BB
BC
DF
EA
FA
GG
HH
LL
These codes will always be in alphabetical order in both files.
When merging, if the code in the spreadsheet does not match a code in the csv file, that row should be deleted from the spreadsheet.
If the code in the csv file does not match a code in the spreadsheet, that line from the csv file should be inserted into the spreadsheet in the correct position.
In this example, the spreadsheet after merging should contain rows:
AA
BB
BC
DF
EA
FA
GG
HH
LL
Can anyone help with some slick code to do this please?
Thanks