Results 1 to 10 of 35

Thread: Redistribute a Delimited Column Of Data into Separate Rows (Keeping Other Data As Is)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #18
    Junior Member
    Join Date
    Jul 2014
    Posts
    1
    Rep Power
    0

    Almost exactly what I am looking for - but issue with blanks in end columns

    Hi Rick,
    This is great and is almost exactly what I am looking for. I have two (hopefully small) issues with the code though.

    What I changed: I updated the range from A:C to be A:Z,and to start at Row 6 (headings in row 5) as per my data. Then have created the macro twice to once sperate column G and then next Column E. This works great (although I am sure you could do this in one - but it is beyond me to manipulate it that much).

    Issue 1: comes when I look at the copied data results. Column U to Y have a heading in Row 5 but no data/are blank (they are for use later on). So no data should have been copied. But instead the code copies the headings from Row 5...?? ANy ideas on how to fix this?

    Issue 2: comes when I have 2 columns column C+D that I need to split together - C is material number and D is material Name.
    e.g
    material number Material Name
    100017, 100018 Mat A, Mat B

    Should become
    Mateiral Number Material Name
    100017 Mat A
    100018 Mat B

    If I was to run the eixisting macro twice for Column C then D I would actually get after the first run
    100017 Mat A, Mat B
    100018 Mat A, Mat B
    Then after the second run
    100017 Mat A
    100017 Mat B
    100018 Mat A
    100018 Mat B

    Any ideas?

    Many Thanks in advance!
    Last edited by Excel Fox; 07-30-2014 at 03:40 PM. Reason: Removed Quote

Similar Threads

  1. Move data from rows into columns for every unique value
    By mahmoud-lee in forum Excel Help
    Replies: 4
    Last Post: 06-13-2013, 03:02 AM
  2. Replies: 4
    Last Post: 05-01-2013, 09:49 PM
  3. Replies: 3
    Last Post: 03-16-2013, 05:13 PM
  4. Replies: 12
    Last Post: 08-19-2012, 06:17 PM
  5. Transpose data into Rows
    By vikash200418 in forum Excel Help
    Replies: 2
    Last Post: 04-10-2012, 11:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •