I'd like to know how to join to sets of data by one field that is shared between the two sets, the field name is 'acct'. I'll call the them Set A and Set B.
If 'acct' in Set B and not in Set A then join to Set A.
If 'acct' in Set A and not in Set B, then delete.
Delete any duplicates coming from Set B and keep only rows from Set A.
My need for this stems from account inventory tracking month to month. I have 300+ accounts in a spreadsheet, with about 20 columns of info per account. 19 columns are user input that I need to keep month to month. So I have a sheet built in December with all of the data I need to keep. January comes and I only have a single column of account numbers with no extra data. 70% of the January account numbers already exist in my December sheet. I want to join them up while keeping the December data in the user input fields, while identifying a new account. I also want to delete and accounts that are in December and NOT in January. I've been sorting by account number and de-duping with a basic formula, but it is very time intensive, completely manual.
How can I automate this? It's more likened to a database problem. I used to do this all the time with the SAS language, I just can't peg it in Excel.
I hope I'm making sense, this is why I reduced it to simple logic first.
Thanks for any assistance!!!
Bookmarks