+ Reply to Thread
Results 1 to 3 of 3

How do I split a single cell into separate rows copied down?

  1. #1
    Registered User
    Join Date
    09-22-2006
    Posts
    1

    How do I split a single cell into separate rows copied down?

    How do I split a single cell into separate rows copied down? My delimiter is “.”

    For example: in one single cell I have the text:

    There are times when okay does not feel right. You need to stand firm. Let it go. Be very strong. And, when you least expect it, everything will work out. Say hello to a new day.


    I need the text cell split into separate down row cells using the delimiter "period" with the space removed text alignment Left . Like this:

    There are times when okay does not feel right.
    You need to stand firm.
    Let it go.
    Be very strong.
    And, when you least expect it, everything will work out.
    Say hello to a new day.

    Can someone write me a macro or function?? I’m new to Excel.

    Thanks, Nick [email protected]

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Not what you wanted but may help until someone comes up with an answer for you.

    Say text is in A1. Then enter this in A2.
    =SUBSTITUTE(A1,". ","."&CHAR(10))

    Format cell as Wrap text. Paste Special values

    This inserts a return after each full stop so the data appears as below but all in A2.

    There are times when okay does not feel right.
    You need to stand firm.
    Let it go.
    Be very strong.
    And, when you least expect it, everything will work out.
    Say hello to a new day.


    VBA Noob

  3. #3
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Nick8888
    How do I split a single cell into separate rows copied down? My delimiter is “.”

    For example: in one single cell I have the text:

    There are times when okay does not feel right. You need to stand firm. Let it go. Be very strong. And, when you least expect it, everything will work out. Say hello to a new day.


    I need the text cell split into separate down row cells using the delimiter "period" with the space removed text alignment Left . Like this:

    There are times when okay does not feel right.
    You need to stand firm.
    Let it go.
    Be very strong.
    And, when you least expect it, everything will work out.
    Say hello to a new day.

    Can someone write me a macro or function?? I’m new to Excel.

    Thanks, Nick [email protected]
    For a single A1 cell,
    in B1 put =A1

    in A2 put
    =LEFT(B1,FIND(".",B1))
    and in B2 put
    =MID(B1,FIND(".",B1)+2,99999)

    and formula-fill this pair down as far as required.

    Then (the usual) copy A and paste special = values, delete Row 1 and column B.

    ---

+ 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