+ Reply to Thread
Results 1 to 4 of 4

Split Out Text Form String

  1. #1
    Registered User
    Join Date
    04-18-2012
    Location
    Old Saybrook CT
    MS-Off Ver
    Excel 2003
    Posts
    2

    Split Out Text Form String

    I have a set of product codes that are in column A. Within the strings of product codes are skus that I would like to break out into one list of skus. The product codes are in the following format.

    - A
    1 PRODUCT1-OPT;Color:Silver=SKU1&Color:Blue=SKU2&Color:Green=SKU3
    2 PRODUCT2-OPT;Color:yellow=SKU4&Color:Orange=SKU5&Color:Black=SKU6
    3 PRODUCT3-OPT;Color:Purple=SKU7&Color:White=SKU8Color:Red=SKU9

    I would like to end up with a list like this.

    - A
    1 SKU1
    2 SKU2
    3 SKU3
    4 SKU4
    5 SKU5
    6 SKU6
    7 SKU7
    8 SKU8
    9 SKU9

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Split Out Text Form String

    your example #3 has a missing & after SKU8, put that back in, then try this:

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-18-2012
    Location
    Old Saybrook CT
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Split Out Text Form String

    Thank you! This worked perfectly.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Split Out Text Form String

    If that takes care of your need, please select Thread Tools from menu above and set this topic to SOLVED.

+ 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