+ Reply to Thread
Results 1 to 3 of 3

Extracting First world from URL string

  1. #1
    Registered User
    Join Date
    05-16-2013
    Location
    Hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    2

    Extracting First world from URL string

    Hi Friends,

    In excel i want to extract the first word (without slashes). How can i do it? Thanks

    /m/single.php?xxxid=3333&category=salt
    /mobile/sony-a336-ny-hd-xxx2337
    /mobile/sony-a330-ny-2-xxx2314

    I want to extract the bold words

    Please help me. I am new to excel

    Thanks
    Last edited by sumantamsp; 05-16-2013 at 05:58 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Extracting First world from URL string

    Data - Text to columns - Use / as delimiter - Select not to import the second column in the last window of the wizard

  3. #3
    Registered User
    Join Date
    05-16-2013
    Location
    Hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Extracting First world from URL string

    Thanks a lot Pepe Le Mokko! You solution is very easy and practical

    It can also be done using formula
    =MID(A3, FIND("/",A3)+1, FIND("/",A3, FIND("/",A3)+1)-FIND("/",A3)-1)

    A3 is the string cell

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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