+ Reply to Thread
Results 1 to 2 of 2

Extract data after a 16-char array

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-16-2009
    Location
    NA
    MS-Off Ver
    MS Excel 2010
    Posts
    237

    Extract data after a 16-char array

    I have a list contained of:
    msil_accessibility_b03f5f7f11d50a3a_4.0.9200.16384_none_f29a377bbde00aca
    msil_addinprocess_b77a5c561934e089_4.0.9200.16384_none_bea48c47662966e7
    msil_addinutil_b77a5c561934e089_4.0.9200.16384_none_46bb45b25afd8258
    msil_c2wtshost_31bf3856ad364e35_6.2.9200.16384_none_173cedde0cb8cb1e
    msil_comsvcconfig_b03f5f7f11d50a3a_4.0.9200.16384_none_9077d3f0ff7da8e9
    msil_comsvcconfig_b03f5f7f11d50a3a_6.2.9200.16384_none_f6890c4e84728c09
    msil_datasvcutil_b77a5c561934e089_4.0.9200.16384_none_a504ac19ddf53bdc
    msil_dfsvc_b03f5f7f11d50a3a_4.0.9200.16384_none_0abca318b3e1bd26
    msil_edmgen_b77a5c561934e089_4.0.9200.16384_none_f86a74fad440de36
    msil_ehcir_31bf3856ad364e35_6.2.9200.16384_none_dd2db26d9d2d7e96
    As you can see, the arrays have exactly 16 characters, all alphanumeric:
    b03f5f7f11d50a3a
    b77a5c561934e089
    31bf3856ad364e35
    What I want is to extract everything up to that piece of code. For example:
    msil_accessibility_b03f5f7f11d50a3a
    msil_addinprocess_b77a5c561934e089
    msil_c2wtshost_31bf3856ad364e35
    Thank you for your help

    PS. How are you guys? Haven't been active around here since a long time.
    Last edited by Zaeguzah; 10-07-2012 at 01:25 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: Extract data after a 16-char array

    ¸Here, try this:

    Formula: copy to clipboard
    =TRIM(LEFT(SUBSTITUTE(A1;"_";REPT(" ";255);3);100))


    Replace ; with , if needed.
    Never use Merged Cells in Excel

+ 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