0

I need to filter multiple email addresses on Excel. Our "email list" comprises of similar and unique domain names. The issue I am having is separating email addresses that have a magnitude of similar domain names in them. For example. I have 50 JP Morgan, 35 Citi Bank and 20 TD Bank Email Addresses under one column. My question is - how do I extract one of each (unique value) on a grander scale of 30,000 contacts.

8
  • Ouch... sounds like a job for some VBA to create an array of domain names (and another element to contain a "sample" email address) but your loop will need to check to see if the domain name portion of the email address being read is already in the array, if it is then move to the next else add it to the array with the associated person's email address... bearing in mind the script would not be efficient as it would need to scan 30,000 rows and you'll only always get the first occurrence of the domain name found...
    – Kinnectus
    Commented May 31, 2017 at 12:35
  • 4
    You might want to consider providing dummy data for your example. Exposing all of that personal data on a public site may well be breaking a few privacy laws ...
    – DavidPostill
    Commented May 31, 2017 at 12:56
  • 1
    Oh hey... free spam targets!
    – Burgi
    Commented May 31, 2017 at 12:58
  • Screen shot removed.
    – DavidPostill
    Commented May 31, 2017 at 12:58
  • You want to break it into two halfs, get the half after the @ and filter on that. No, I don't know how to do this in excel :/ Commented May 31, 2017 at 13:00

1 Answer 1

0

This is what I've done for a similar task

  1. Create a new sheet with a "crosswalk table": in your case, domain name as the first column and company name as the second column.
  2. Then in the 30K contact table create a new company name column with a VLOOKUP formula that looks for the domain name in the crosswalk table to get the company name.
  3. Finally filter by the new company name column.

Let me know if you need more insight, or if I'm off target here.

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .