Loin75
Active Member
- Joined
- Oct 21, 2009
- Messages
- 281
Hi all,
I have been handed a spreadsheet that has thousands of names and addresses extracted from a SQL database.
Each row also includes columns for their partners name (if they have one)
My problem is that if Mr John Smith has a partner (eg, Mrs Janet Smith) showing in the same row, then further down I also have an entry for Mrs Janet Smith and her partner Mr John Smith.
The extraction created a row for every client, so I have duplicate entries.
I am struggling to find logic that will help me to delete the "additional" rows. I can use MATCH formulas to identify where duplication occurs, but not sure how to remove only one of the two entries.
Has anyone come across such a thing, and can offer any logic that I am missing to help?
Many thanks in advance
I have been handed a spreadsheet that has thousands of names and addresses extracted from a SQL database.
Each row also includes columns for their partners name (if they have one)
My problem is that if Mr John Smith has a partner (eg, Mrs Janet Smith) showing in the same row, then further down I also have an entry for Mrs Janet Smith and her partner Mr John Smith.
The extraction created a row for every client, so I have duplicate entries.
I am struggling to find logic that will help me to delete the "additional" rows. I can use MATCH formulas to identify where duplication occurs, but not sure how to remove only one of the two entries.
Has anyone come across such a thing, and can offer any logic that I am missing to help?
Many thanks in advance
Last edited: