+ Reply to Thread
Results 1 to 7 of 7

Take out a set of numbers from alphanumeric cells

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

    Talking Take out a set of numbers from alphanumeric cells

    Hi.

    I have about 200 cells with 2 different format in text and numbers but they all have a number in between right after /vgh/.

    Is there a formula I can use that will return only thee set of numbers removing the text before and after it.

    Below are the 2 different examples.

    Example 1 : h4ffkwd1-5o/vgh/2447044/eml-anet_wlcm-h-visit/?hs=false&tok=3GMdjcBsfbfBk1
    Example 2 : h38ahlur-19/vgh/163311/?hs=false&tok=1CIRLlqwLSB5g1

    I have these sort of text and just need the middle set of numbers.

    Thanks
    Last edited by Adys747; 11-20-2012 at 06:25 PM.

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

    Re: Take out a set of numbers from alphanumeric cells

    Adys747,

    Something like this should work for you:
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

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

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

    Re: Take out a set of numbers from alphanumeric cells

    Thanks Tiger

    This is working with Example 2 but not with Example 1.

    Would be great if you can give me a formula which can be used with the examples.

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

    Re: Take out a set of numbers from alphanumeric cells

    Works just fine for me on both your examples... see attached
    Attached Files Attached Files

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

    Re: Take out a set of numbers from alphanumeric cells

    Yes Excellent !!


    Thanks Tiger

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

    Re: Take out a set of numbers from alphanumeric cells

    You're very welcome

    If that cares care of your need, please mark this thread as solved.
    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:
    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

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

    Re: Take out a set of numbers from alphanumeric cells

    Recieved PM from Adys747:

    Quote Originally Posted by Adys747
    Hi Tiger,

    Can you please also help me with these :

    Please Login or Register  to view this content.
    Thanks,
    Ady

    Here's the ugly part:
    Your post does not comply with Rule 4 of our Forum RULES. Don't Private Message, Visitor message or email questions to moderators or other members. All questions and answers will benefit other posters like yourself. The point of having a public forum is to share solutions to common (and sometimes uncommon) problems with all members.


    Now that that is out of the way, here's an updated formula that will work for all four examples:
    Please Login or Register  to view this content.
    Version 2 of example workbook is attached.
    Attached Files Attached Files

+ 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