+ Reply to Thread
Results 1 to 5 of 5

Extracting text/numbers form varying source data

  1. #1
    Registered User
    Join Date
    03-11-2011
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    14

    Question Extracting text/numbers form varying source data

    Hello all

    I am looking to extract 3 pieces of data from source data that can look like this (but is not excluded to it, but if it is anything else, I will be able to change the formula myself):
    LP552/ATM506;3;40;001362344;VLANP799;39;119
    001362344;VLANP799;39;119;ED
    001362344;VLANP799;39;119
    ...

    In a first comumn I need the 001xxx code
    In a second column I need the 119:39 code filled in.

    The 119 can also be 2 or 4 numbers, as for the 39.
    the 001 code is fixed length.

    Can anyone direct me towards a non-vba solution?

    Thanks in advance for any assistance.

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Extracting text/numbers form varying source data

    if you upload a book with samples and desired results its easier to help
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  3. #3
    Registered User
    Join Date
    03-11-2011
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Extracting text/numbers form varying source data

    Post deleted as its content is now irrelevant
    Last edited by Sybie; 01-15-2013 at 07:19 AM.

  4. #4
    Registered User
    Join Date
    03-11-2011
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Extracting text/numbers form varying source data

    MID($R50;FIND("001";$R50)+0;9
    resolves the 001code
    1 problem down :-)

  5. #5
    Registered User
    Join Date
    03-11-2011
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Extracting text/numbers form varying source data

    I updated the attachment, but is giving me problems to upload, so I am trying
    Book1.xlsx

    For the second problem, I am looking to do something like this:
    =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID($R76;FIND("VLANP";$R76)+0;100);";";"#";1);";";"|";1);";";"@";1)
    Replacing the ";" with other symbols and extracting the data like this
    Last edited by Sybie; 01-15-2013 at 11:40 AM.

+ 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