+ Reply to Thread
Results 1 to 2 of 2

CSV in a cell needs to be seperated into multiple cells

Hybrid View

  1. #1
    Registered User
    Join Date
    04-29-2010
    Location
    Boston, Massachusetts
    MS-Off Ver
    Excel 2008
    Posts
    1

    CSV in a cell needs to be seperated into multiple cells

    I am working with a long column of comma separated data which relates to a column of model id numbers.

    The model id number represents a product and the comma separates cell represents the model id numbers for related products.

    I need to take the comma separated model id numbers , from a single cell, and blow them out into their own cells.

    The goal is to create a one to one relationship between model id number and associated related products.

    the date looks like this:

    4 35, 36, 45
    5 45, 52, 74
    6 50, 60, 15
    7 78. 33. 11

    I need it to split out to:

    4 35
    4 36
    4 45
    5 45
    5 52
    5 74
    etc.

    Idea?

  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: CSV in a cell needs to be seperated into multiple cells

    My macro on this page should do it for you.
    ...go to part 2... there's a sample file as well.
    _________________
    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!)

+ 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