+ Reply to Thread
Results 1 to 7 of 7

Find particular data from complex data string by macro

  1. #1
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Find particular data from complex data string by macro

    Dear all,
    Every day I am to do a job , which is very time killing activity. It is actually a complex data format , form there I am to find out a particular data to make the report good looking format. In the attached file I have used two sheets 1st sheet is “input “ (Raw data) & 2nd sheet is “output “(for display results ) . I tried to explain step by step with color mark. Please check the attachments.
    Attached Files Attached Files
    Last edited by nur2544; 06-06-2014 at 01:07 PM.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Find particular data from complex data string by macro

    Hi nur2544

    This Code in the attached appears to work on your Sample Data...CTRL + x will fire the Code.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Re: Find particular data from complex data string by macro

    Hi jaslake,
    I am very much happy to see the output results , yes it is almost 98% correct. Would you please work once again, just a little bit modification required . if there is no “CSP-***” in that particular Area then the output results will be blank. It will help me lost if I get the desire output , thanks for your you valuable time for me . please check the attachments for more clarifications
    Attached Files Attached Files

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Find particular data from complex data string by macro

    Hi nur2544

    Will there ALWAYS be 10 Lines of Data in this Section of Data?

    A
    2
    PERMANENT SUBSCRIBER DATA
    3
    SUD
    4
    CAT-10 DBSG-1 CSP-255 OSB1-1
    5
    OSB3-1 TS11-1 TS21-1 TS22-1
    6
    BS3G-1 PDPCP-12 PRBT-1 REDMCH-1
    7
    OFA-2 PWD-0000 CFU-1 CFB-1
    8
    CFNRY-1 CFNRC-1 CAW-1 SOCFB-1
    9
    SOCFRY-1 SOCFRC-1 SOCFU-1 SOCLIP-0
    10
    HOLD-1 MPTY-1 CLIP-1 RED-1
    11
    SCHAR-0-0

  5. #5
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Re: Find particular data from complex data string by macro

    Hi jaslake, No it might be vary sometime it will be 10, 8,12, 11 but not more than 20. You can think “PERMANENT SUBSCRIBER DATA” Is the data starting point & next recent 1st blank cell is the Last or finishing point of “PERMANENT SUBSCRIBER DATA” data. please check the attachment
    Attached Files Attached Files
    Last edited by nur2544; 06-07-2014 at 12:07 PM.

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Find particular data from complex data string by macro

    Hi nur2544

    Replace the Code with this
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Re: Find particular data from complex data string by macro

    Hi jaslake, Outstanding job . now it works perfectly , thanks for giving your valuable time for me...

  8. #8
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Find particular data from complex data string by macro

    You're welcome...glad I could help. Thanks for the Rep.

+ 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. Find a cell with String value - complex
    By hqureshi in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 06-01-2012, 03:25 AM
  2. Find string text in complex in formula
    By garethjohn in forum Excel General
    Replies: 5
    Last Post: 08-17-2011, 11:45 AM
  3. [SOLVED] find mid value of string data in data with integers
    By Maxi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2006, 12:05 PM
  4. Replies: 8
    Last Post: 03-14-2006, 11:13 AM
  5. Replies: 1
    Last Post: 01-04-2005, 10: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