+ Reply to Thread
Results 1 to 13 of 13

Center Align text across different rows (alternative to merging)

  1. #1
    Registered User
    Join Date
    07-03-2014
    Location
    Brussels, Belgium
    MS-Off Ver
    7
    Posts
    8

    Center Align text across different rows (alternative to merging)

    Dear all,

    This is the first time ever that I am asking help for something on excel - this shows my level of despair ! So, thank you for your help.

    I am currently working on a database - and I would like that the text that is too long appears in the next row if the next row is empty.

    -> This is something that exists with columns (see here: https://www.techonthenet.com/excel/c...across2013.php). Can I do the same but vertically - I would probably need a macro).

    The solution would be to ask to go the line, problem is then that the row become too large. Other solution, would be merging, but merging is really not a good solution for large databases.

    See the document attached - that could help in understanding my problem.

    Thanks so much for the help!!
    Attached Files Attached Files
    Last edited by Eliamme; 07-25-2017 at 10:13 AM.

  2. #2
    Registered User
    Join Date
    07-03-2014
    Location
    Brussels, Belgium
    MS-Off Ver
    7
    Posts
    8

    Re: Center Align text across different rows (alternative to merging)

    Would autofill be an alternative ? I am trying to find any solutions I can

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

    Re: Center Align text across different rows (alternative to merging)

    To a Sheet code module.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-03-2014
    Location
    Brussels, Belgium
    MS-Off Ver
    7
    Posts
    8

    Re: Center Align text across different rows (alternative to merging)

    Dear Jindon,

    Thank you so much for your reply & your help.

    Your code works, but it I have probably not explain my problem correctly, because this is not exactly what I am looking for.

    What I would like is that the text that overflows a cell (because it is too long) goes to cell of the row below (rather than the cells of the next columns).

    So in your example, the text appears ok (it appears on different rows), but it belongs to different cells (rather than belonging to only one).

    I have attached another file to explain things more clearly.

    Again, thanks so much for the help!
    Attached Files Attached Files

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

    Re: Center Align text across different rows (alternative to merging)

    Change to
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    07-03-2014
    Location
    Brussels, Belgium
    MS-Off Ver
    7
    Posts
    8

    Re: Center Align text across different rows (alternative to merging)

    Thanks again for the quick answer, but here it is a merged cell (or almost, right?).

    What I would like is for the whole text to be in one cell (but to overflow in others if too long). Basically, I write in A2 - if the text is too long, it goes to B2, C2, etc if they are empty. If I write now something now in C2, the text will stop in B2 because the row is no more empty.

    I hope this helps a bit !

    Thanks again

  7. #7
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: Center Align text across different rows (alternative to merging)

    To my knowledge, Center Across Selection does not work vertically and I don't think there are any alternatives that does not involve merging cells or breaking apart texts.

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

    Re: Center Align text across different rows (alternative to merging)

    So you want in one cell that you indicated "This is not an alternative"?

    Confusing...
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    07-03-2014
    Location
    Brussels, Belgium
    MS-Off Ver
    7
    Posts
    8

    Re: Center Align text across different rows (alternative to merging)

    Dear Jindon,

    Very sorry to answer so late - I didn't see you had responded.

    Thank you for your help. Sorry if I am not clear, I have attached another example -> I believe it will be easier this way.

    Have a great day !

    Thanks,
    Eliamme
    Attached Files Attached Files

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

    Re: Center Align text across different rows (alternative to merging)

    No, still unclear.

    Can you just upload a workbook with before after?
    No other extra comment.

  11. #11
    Registered User
    Join Date
    07-03-2014
    Location
    Brussels, Belgium
    MS-Off Ver
    7
    Posts
    8

    Re: Center Align text across different rows (alternative to merging)

    Here you go !
    Attached Files Attached Files

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

    Re: Center Align text across different rows (alternative to merging)

    Eliamme,

    I don't think it is possible AFAIK.
    Too many things to consider anyway, such like ColumnWidth/RowHeight, Font Name/Size...etc.

  13. #13
    Registered User
    Join Date
    07-03-2014
    Location
    Brussels, Belgium
    MS-Off Ver
    7
    Posts
    8

    Re: Center Align text across different rows (alternative to merging)

    Thanks for having a look anyways !

+ 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. [SOLVED] Help request to align the picture center in web layout
    By mso3 in forum Word Formatting & General
    Replies: 4
    Last Post: 10-15-2015, 09:59 AM
  2. [SOLVED] Align a date in center
    By mukeshbaviskar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-28-2013, 07:18 AM
  3. Merging and Center cells into 1 for multiple rows
    By Lisa4legin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-07-2012, 11:42 AM
  4. Find last row with data and autofit, bold and center align
    By daillest319 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-24-2012, 11:32 AM
  5. Center Align Image
    By shapper in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-20-2008, 04:52 AM
  6. Align to the left or to the right (or center)
    By kaokao1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2006, 11:09 PM
  7. Center Align
    By John 3:16 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-15-2005, 05:10 PM

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