+ Reply to Thread
Results 1 to 5 of 5

How to extract a portion of a website URL from a column of website URLs in excel?

  1. #1
    Registered User
    Join Date
    02-27-2022
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    9

    How to extract a portion of a website URL from a column of website URLs in excel?

    Hi!

    Thanks for letting me join the forums. Was wondering if there's a functionality in excel to do this or if I have to do some sort of VBA coding:

    I have a spreadsheet of website URLs, all in one column, multiple rows, say similar to the one I attached.

    I just want to extract the hostname (i.e. google.com, or cnn.com) without all the folders/subfolders/website name etc.

    Is there anyway to do this?

    Thanks in anticipation!
    Attached Files Attached Files
    Last edited by sab336; 02-27-2022 at 09:50 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: How to extract a portion of a website URL from a column of website URLs in excel?

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: How to extract a portion of a website URL from a column of website URLs in excel?

    With 365:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    02-27-2022
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    9

    Re: How to extract a portion of a website URL from a column of website URLs in excel?

    That was super helpful thank you!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: How to extract a portion of a website URL from a column of website URLs in excel?

    You're welcome. Thanks for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Returning Data from website but excluding certain URLs
    By ScabbyDog in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-26-2016, 09:48 AM
  2. Grab URLs on a Website
    By gautum123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2015, 12:58 PM
  3. Replies: 0
    Last Post: 03-23-2015, 10:35 AM
  4. Extract data from website to an excel
    By vgothe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-27-2012, 10:51 AM
  5. extract datas to excel from a website
    By zeroist in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-08-2012, 08:47 AM
  6. extract data from website to excel
    By asdzxc in forum Excel General
    Replies: 1
    Last Post: 05-15-2012, 03:55 AM
  7. extract data from website to excel
    By asdzxc in forum Excel General
    Replies: 2
    Last Post: 05-11-2012, 04:20 AM

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