+ Reply to Thread
Results 1 to 7 of 7

Need help to copy multiple child row in one row on next sheet

  1. #1
    Registered User
    Join Date
    03-23-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    24

    Post Need help to copy multiple child row in one row on next sheet

    Hi Experts,
    I am not much savvy to VBA, so Getting hard to solved below problem:

    Here is my data Structure....(these are group of data, where column 2 is Parent, Column3 is Sub Parent, and column4 is sub parent also),
    Because my column is not displaying properly then here a brief description
    Column 2 have data like "a" and "b"
    Column 3 have data like "ab", "ac", "bc", and "bd"
    column 4 have data like "cd", "ce","cf","cg" etc...

    1 2 3 4 5 6 7 8 9 10 11

    Y a

    Y ab

    Y cd de f fdsa fdsa fdsa fdsa fdsas

    Y ce df fdsa fdsa asfd

    Y cf dg asfd fdsa fdsa fda fdsas

    Y cg dh fdsa fdsa asdf dfs fdsas

    Y ac

    Y da di ssd ssd ssd ssd ssd ssd

    db dj ssd ssd ssd ssd ssd ssd

    dc dk ssd ssd ssd ssd ssd ssd
    Y b

    Y bc

    Y ea fd asd asd asd asd asd asd

    eb sd asd asd asd asd asd asd
    bd
    ec gh cde cde cde cde cde cde
    ed h cde cde cde cde cde cde

    Here is my question
    If user Put "Y" in column 1 then I want to copy data to another sheet in plain format where column title is "2 3 4 5 6 7 8 9 10 11"for example in above case I want to copy like below

    2 3 4 5 6 7 8 9 10 11
    a ab cd de f fdsa fdsa fdsa fdsa fdsas
    a ab ce df fdsa fdsa asfd
    a ab cf dg asfd fdsa fdsa fda fdsas
    a ab cg dh fdsa fdsa asdf dfs fdsas
    a ac da di ssd ssd ssd ssd ssd ssd
    b bc ea fd asd asd asd asd asd asd
    Attached Files Attached Files
    Last edited by pankaj8219; 12-21-2012 at 10:42 AM. Reason: structure is not displaying properly

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Need help to copy multiple child row in one row on next sheet

    try this
    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    03-23-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Need help to copy multiple child row in one row on next sheet

    Hi Patel....Thanks but my requirement not met with above solution....
    I want to copy all data in flat way to another sheet...

  4. #4
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Need help to copy multiple child row in one row on next sheet

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-23-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Need help to copy multiple child row in one row on next sheet

    Hi
    I think I were unable to describe my question properly....So that attaching a book2.xls
    I want to send data from Source worksheet to Destination worksheet.
    But I dont want to change the data alignment in Source Sheet...
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Need help to copy multiple child row in one row on next sheet

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    03-23-2011
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Need help to copy multiple child row in one row on next sheet

    thanks but I don't want to copy all, but only those row where column b value is "a".
    and I have one column sequence difference in sheet 2 (column 4).

+ 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