+ Reply to Thread
Results 1 to 5 of 5

move value to next line for every space inside cell

  1. #1
    Valued Forum Contributor
    Join Date
    12-01-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2016
    Posts
    949

    move value to next line for every space inside cell

    hi,

    i have a value in a cell -- xxxx XXX xx

    how do you format it so the cell value will display as

    xxxx
    XXX
    xx

    all that value is just inside the cell, the values that move to the next line was separated by spaces

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: move value to next line for every space inside cell

    Suppose your values in rows(1) .. try this code
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: move value to next line for every space inside cell

    Select the cell(s) that you want to change
    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: move value to next line for every space inside cell

    You can use Find and Replace
    Attachment 624491

  5. #5
    Valued Forum Contributor
    Join Date
    12-01-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2016
    Posts
    949

    Re: move value to next line for every space inside cell

    hi,

    thanks for the replies, i used jindon's code

+ 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. Showing min and max values as a line inside a cell
    By emma390 in forum Excel General
    Replies: 10
    Last Post: 02-09-2016, 10:12 PM
  2. Removing space after number within the excel cell line
    By kotigari in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-17-2015, 04:23 PM
  3. Removing Line Space between numbers within the excel cell
    By kotigari in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-16-2015, 03:30 PM
  4. [SOLVED] Text in next line inside a cell Report
    By thilag in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-10-2013, 01:33 AM
  5. [SOLVED] Move all text left of space to end of cell
    By hameed_f2001 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-21-2013, 03:15 PM
  6. How do I insert a new line of text inside a cell
    By thudson in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-03-2006, 01:10 PM
  7. [SOLVED] pulling from 'line' inside cell- best way to reference in VBA?
    By KR in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2006, 11:15 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