MR_Richard
New Member
- Joined
- Oct 16, 2017
- Messages
- 2
Assuming I have the following table.
Old Cust # | Customer Name | Email | Phone Number|New Customer Number|
Basically, i need to use this table and check for duplicate records based on Email
Some customers dont have email in the system so i also need to check records based on Customer Name, (all the names are formatted the same in the system, First Last)
This part I think i can do with a COUNTIF or IF(COUNTIF(A:A,A2)>1'"Duplicate","Unique")
Here is where it gets tricky and i am having trouble.
After identifying all the duplicates with the above formula and getting them in a seperate csv, the next step is i need to auto fill in the new customer number field on the spreadsheet. I need it filled in per the following logic which i cant figure out how to translate to an Excel formula.
New Customer Number for Duplicate Record = Old Cust Number of first occurence of duplicate
OLD Cust # | Email | New Cust
1001 jim@google.com =1002
1002 jim@google.com blank, stays same, wont assign new customer numbers.
This CSV File is our source for a customer number merge. Trying to clean up a bunch of duplicate records and the dbase is quite large, so no way to do it manually.
Thanks in advance for any suggestions.
Old Cust # | Customer Name | Email | Phone Number|New Customer Number|
Basically, i need to use this table and check for duplicate records based on Email
Some customers dont have email in the system so i also need to check records based on Customer Name, (all the names are formatted the same in the system, First Last)
This part I think i can do with a COUNTIF or IF(COUNTIF(A:A,A2)>1'"Duplicate","Unique")
Here is where it gets tricky and i am having trouble.
After identifying all the duplicates with the above formula and getting them in a seperate csv, the next step is i need to auto fill in the new customer number field on the spreadsheet. I need it filled in per the following logic which i cant figure out how to translate to an Excel formula.
New Customer Number for Duplicate Record = Old Cust Number of first occurence of duplicate
OLD Cust # | Email | New Cust
1001 jim@google.com =1002
1002 jim@google.com blank, stays same, wont assign new customer numbers.
This CSV File is our source for a customer number merge. Trying to clean up a bunch of duplicate records and the dbase is quite large, so no way to do it manually.
Thanks in advance for any suggestions.