I get extracts from a source system daily (source WS) …
The source WS has 8 columns including a Record ID in column A …
I have a target WS with the same 8 columns, with 3 additional columns that are used to manually annotate comments to records …
When I get a new source WS, I want to check (using the Record ID) whether the record exists in the target WS …
- if it does, I want to update the first 8 columns in the target WS with the data from the same 8 columns in the source WS …
- if it doesn’t exist, I want to add a new record to the target WS, populating the first 8 columns with the data from the same columns in the source WS (leaving the additional columns in the target WS blank)
I then want to check whether all records in the target WS exist in the new source WS and if they don’t, delete the record in the target WS …
But I’m going round in circles! - can anyone give me a helping hand please?
Many thanks …
The source WS has 8 columns including a Record ID in column A …
I have a target WS with the same 8 columns, with 3 additional columns that are used to manually annotate comments to records …
When I get a new source WS, I want to check (using the Record ID) whether the record exists in the target WS …
- if it does, I want to update the first 8 columns in the target WS with the data from the same 8 columns in the source WS …
- if it doesn’t exist, I want to add a new record to the target WS, populating the first 8 columns with the data from the same columns in the source WS (leaving the additional columns in the target WS blank)
I then want to check whether all records in the target WS exist in the new source WS and if they don’t, delete the record in the target WS …
But I’m going round in circles! - can anyone give me a helping hand please?
Many thanks …