I am using Excel 2016. I have a spreadsheet with a column of email addresses where some adjacent cells are from other people at a company and I only want to keep the first email address from each domain and delete any subsequent email addresses from the same domain. Not all adjacent records will have the same domain--some could be from a new domain that I want to keep.
Example: here is original column view:
Here is what I want corrected column to look like:
The spreadsheet will only have 1 column in it---just email addresses. There will be a lot of records so I ma looking for a way to automate this. Thanks in advance.
Example: here is original column view:
test@yahoo.com |
john@doe.com |
richard@doe.com |
joe@msn.com |
test@hotmail.com |
january@hotmail.com |
ron@arizona.net |
Here is what I want corrected column to look like:
Book1 | ||||
---|---|---|---|---|
A | B | |||
1 | Original Data | Corrected Data | ||
2 | test@yahoo.com | test@yahoo.com | ||
3 | john@doe.com | john@doe.com | ||
4 | richard@doe.com | joe@msn.com | ||
5 | joe@msn.com | test@hotmail.com | ||
6 | test@hotmail.com | ron@arizona.net | ||
7 | january@hotmail.com | |||
8 | ron@arizona.net | |||
9 | ||||
10 | ||||
11 | ||||
12 | ||||
13 | ||||
Sheet1 |
The spreadsheet will only have 1 column in it---just email addresses. There will be a lot of records so I ma looking for a way to automate this. Thanks in advance.
Last edited by a moderator: