+ Reply to Thread
Results 1 to 4 of 4

I want to filter out domains that don't end in .com, .org or .net

  1. #1
    Registered User
    Join Date
    03-19-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    4

    I want to filter out domains that don't end in .com, .org or .net

    I have a huge list of domains (a million, in total) in two columns. Column A is just a list of numbers from 1 to 1,000,000. Column B contains the domains.

    I want to filter this list so that ONLY domains ending in .com, .net and .org are displayed. Basically, I'm only interested in the domains that end in .com, .net or org.

    Using the autofilter I can only filter by two of those things, not all three. I've looked into advanced filtering, but can't work out quite how to do it.

    Can anyone help? I would be incredibly grateful!

    You can grab the domain list here: http://s3.amazonaws.com/alexa-static/top-1m.csv.zip

    It's Alexa's top one million domains.

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: I want to filter out domains that don't end in .com, .org or .net

    =OR(RIGHT(A1,4)=".org",RIGHT(A1,4)=".net",RIGHT(A1,4)=".com")

    this is give you a TRUE or FALSE and you can filter on that....HTH
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Registered User
    Join Date
    03-19-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: I want to filter out domains that don't end in .com, .org or .net

    Quote Originally Posted by judgeh59 View Post
    =OR(RIGHT(A1,4)=".org",RIGHT(A1,4)=".net",RIGHT(A1,4)=".com")

    this is give you a TRUE or FALSE and you can filter on that....HTH
    It works! Thank you so much.

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: I want to filter out domains that don't end in .com, .org or .net

    my pleasure....as you are new to the Forum....ettiquette recommends setting the status to SOLVED....you can do that by using the thread tool drop down at the top of the thread...Also, giving a star to person/persons that helped....and in the future when you help someone, they'll give you a star....have a great day....

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1