Results 1 to 14 of 14

Macro to split a single cell data into rows and copying other cells as it is in rows

Threaded View

  1. #1
    Registered User
    Join Date
    07-31-2010
    Location
    Delhi, India
    MS-Off Ver
    Excel 2003
    Posts
    29

    Macro to split a single cell data into rows and copying other cells as it is in rows

    Hi,

    I want to split a cell into rows and copy the rest of the data as it is in the row. For Eg. we have data in rows as (cell A1=Apple, cell B1=Ball, cell C1=Cat, cell D1=Dog, Fish, Rat, cell E1=Elephant). Now I want to split cell D1 in 3 rows(D1,D2,D3) without the commas and copy cell A1 into A2 & A3, B1 into B2 & B3, C1 into C2 & C3 & E1 into E2 & E3 as it is.

    This will not be constrained upto single row, there may be multiple rows containing more data in a single cell which needs to be splitted in rows.

    First I want to search which cell in the row contains the string with commas and then split it in rows.

    I am attaching a excel sheet for your reference.

    Regards,
    Pankaj
    Last edited by Pankaj Sonawane; 08-10-2010 at 04:29 PM.

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