+ Reply to Thread
Results 1 to 6 of 6

Separate Words in Cell

  1. #1
    Registered User
    Join Date
    07-12-2010
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Separate Words in Cell

    Hello everybody

    First of all: Great Forum. So far I found a lot of super tips and HowTo’s which helped me get a lot of my “Challenges” resolved. But here is something I have no Idea who to get this done and hope somebody can help me.

    I have an Excel (2007) sheet in an Format like that

    SKU______Product_________________________Price
    123-456___BrandA; BrandB; BrandC; BrandD_____100 €

    As you can see, there are multiple Products listed

    What I’m trying to figure out is a way to separate all Products to get a result like that:
    SKU_______Product_____Price
    123-456____BrandA_____100 €
    123-456____BrandB_____100 €
    123-456____BrandC_____100 €
    123-456____BrandD_____100 €

    Anybody any Idea how this can be resolved?
    Any Help would be much appreciated.

    Cheers

    Pille

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Seperate Words in Cell

    Try this, which puts results in sheet2.
    Please Login or Register  to view this content.

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Seperate Words in Cell

    Another macro might be

    Takes data from sheet 1 and inserts in sheet 3
    Please Login or Register  to view this content.

    Hope this helps
    Last edited by Marcol; 07-12-2010 at 09:36 AM. Reason: Power Cut interupted editing

  4. #4
    Registered User
    Join Date
    07-12-2010
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Seperate Words in Cell

    Hi StephenR, Marcol

    Both of the Macros are working fine; unfortunately I tried to adopt it to the sheet I'm using (didn't think it would be so complicated)…..without any success. So I made a copy of what the Original is an attached it to this post. Its pretty much the same, just little different. Can you please help me again?

    So far: many Thanks and much appriciated

    Thanks
    Pille
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Seperate Words in Cell

    Try this:
    Please Login or Register  to view this content.

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Seperate Words in Cell

    Try this
    Please Login or Register  to view this content.
    Change to suit your sheet names

    Hope this helps

    [EDIT 1]
    Am I in a time warp after the power cut ....
    Never saw your post Stephen

    [EDIT 2]
    I have changed the code to allow for as many countries as you might need
    Last edited by Marcol; 07-12-2010 at 10:28 AM. Reason: ? am I in a time warp after the power cut?
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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