+ Reply to Thread
Results 1 to 6 of 6

Splitting Cell in multiple rows

  1. #1
    Registered User
    Join Date
    06-30-2014
    Location
    Belgium
    MS-Off Ver
    2013
    Posts
    7

    Splitting Cell in multiple rows

    Hello,

    I need to split up a cell with for example values "Active" and "Inactive" above each other, but which are in the same cell.
    Could somebody give me a function or VBA code, which could do this split? Splitting a cell in multiple columns already exists.

    This is urgent!
    Thanks in advance!

  2. #2
    Registered User
    Join Date
    06-30-2014
    Location
    Belgium
    MS-Off Ver
    2013
    Posts
    7

    Re: Splitting Cell in multiple rows

    To give a better example:

    Active (dormant)
    Active

    Above is one row(Cell), I need one row(Cell) with "Active (dormant)" and the next with "Active".
    Thanks!

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Splitting Cell in multiple rows

    You can do one thing..
    you can write Active and dormant manually in to cells..
    and Merge (two adjacent cells) in each column horizontally..

    Check the attachment ...

    Say thanks, Click *
    Attached Files Attached Files

  4. #4
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Splitting Cell in multiple rows

    Did that help..?
    Jonathan...

    waiting for reply...

    Say thanks, Click *

  5. #5
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: Splitting Cell in multiple rows

    Vikas - That is the opposite of what he is trying to do, and merging cells overwrites all information except what is in the first cell of the range you are merging. Perhaps I misunderstood what you were saying?

    As for your answer, I am not sure what character the in cell carriage return is but you could use the MID, LEFT, RIGHT functions along with a FIND function to determine where the carriage return happens.

    edit: Quick search it may be Char(10).

    So in one cell A2 =Left(A1,Find(Char(10),A1)) and in A3 = Right(A1,Len(A1)-Len(A2))

    This worked for me
    Last edited by Hawkeye16; 07-04-2014 at 07:33 AM. Reason: Char(10) not Char(13)
    Despite the high cost of living, it remains very popular.

    Don't forget to mark threads SOLVED when you get an answer and rep all the geniouses that helped you today!

  6. #6
    Registered User
    Join Date
    06-30-2014
    Location
    Belgium
    MS-Off Ver
    2013
    Posts
    7

    Re: Splitting Cell in multiple rows

    Worked, thank you so much!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Splitting rows with multiple columns into seperate rows for time points.
    By mbracha in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-16-2013, 10:06 AM
  2. Splitting a cell into multiple rows.
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2013, 05:08 PM
  3. [SOLVED] Splitting 1 row into multiple rows
    By iusckeeper in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-31-2012, 10:22 PM
  4. Replies: 7
    Last Post: 08-16-2010, 11:48 AM
  5. Splitting data from a cell to multiple rows
    By mukul.saxena in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-27-2009, 02:09 AM

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