+ Reply to Thread
Results 1 to 4 of 4

How to extract specific numbers after and before certain characters.

  1. #1
    Registered User
    Join Date
    11-20-2012
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    4

    Exclamation How to extract specific numbers after and before certain characters.

    Hi,

    I am stuck in between a project.

    Please let me know how can I do a certain task of extracting a specific number out of an un symmetrical line.

    I would like to have the formula so that i can put it in the excel and all the lines get converted.

    For example:

    1> -94xms-h1go43n5-3y/vgh/2701377/?hs=false&tok=0fs2fg1X-2CBc1

    2> nalvkb-h4ixm13e-2b/vgh/2654658/eml-anet_wlcm-h-visit/?hs=false&tok=1sk3UdVACjj5k1

    3> awir40-h34fat8l-29/vgh/1866120/?hs=false&tok=1J02pDDku-xlg1

    here are 3 examples of these lines.

    what i want to extract is the numbers between vgh/*******/ so the outsome should be: 2701377 , 2654658 , 1866120

    I will be grateful for any help!

    regards,
    Addy

  2. #2
    Registered User
    Join Date
    11-20-2012
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: How to extract specific numbers after and before certain characters.

    How many lines do you need help with ?

  3. #3
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: How to extract specific numbers after and before certain characters.

    Addy,

    This exact problem has already been solved. See this thread, specifically post #7
    http://www.excelforum.com/excel-gene...ric-cells.html
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    11-20-2012
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: How to extract specific numbers after and before certain characters.

    tiger this is Genius!

+ 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