+ Reply to Thread
Results 1 to 5 of 5

data extract sting

  1. #1
    Registered User
    Join Date
    07-08-2013
    Location
    denmark
    MS-Off Ver
    Excel 2010
    Posts
    24

    data extract sting

    Hi

    Can someone help me with this issue.

    How do i extract data from aaaaaa_bbbbbb_cccccccc__dddddd_eeeeeee.

    The number of characters are not the same. I want to extract the characters of each "_ "

    I only know how to extract the first string before "_ " =LEFT(A1;FIND("_";A1)-1)

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: data extract sting

    Why not use text to columns and use the "-" as the delimiter.
    HTH
    Regards, Jeff

  3. #3
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: data extract sting

    You can find the position of the second _ by using the found position of the first _ instead of where you typed -1

  4. #4
    Registered User
    Join Date
    07-08-2013
    Location
    denmark
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: data extract sting

    okay thx for the help

  5. #5
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: data extract sting

    If your problem is solved, please mark the thread as Solved and also consider to Add Reputation
    When I say semicolon, u say comma!

+ 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. Search a sting in word doc with more than 255 chars
    By shankha_29 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-14-2012, 03:33 PM
  2. Replies: 7
    Last Post: 08-23-2012, 05:25 AM
  3. Extracting characters from text sting
    By madmanmac in forum Excel General
    Replies: 3
    Last Post: 12-05-2008, 03:04 PM
  4. Value manipulation, String to Int, Int to Sting
    By bluechip in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2007, 02:10 AM
  5. [SOLVED] Evaluating a Sting in VBA
    By Mike in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-07-2005, 06:06 PM

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