+ Reply to Thread
Results 1 to 14 of 14

Excel 2007 : Stop text in cell from overflowing.

  1. #1
    Registered User
    Join Date
    05-29-2007
    Posts
    11

    Stop text in cell from overflowing.

    I'm trying to stop long text from overflowing in to the next cell over, I know this question has been posed here before, but that was many years ago, and I'm hoping they fixed this in 2007. If you took a standard cell (say A1), with nothing to the right, and pasted this post into it, it would overflow and cover all cells to the right. There are two fixes I've commonly seen suggested to stop this, and neither will work.

    1) Place a space in the cell to the right, the cell is no longer empty and the text to the left will end on that cell. The problem with this is it also breaks functions like counting blank cells or counting non blank cells, it won't work for me.

    2) Wrap text, I really don't want to wrap text, I hate the way it looks. This method doesn't break functions, I just can't stand to have 200 characters wrapped inside a 5 character text box, it doesn't work for me.

    Besides, neither are really "fixes", they are ways to work around a problem that, I believe, MS should have put an option in for long ago. The original problem remains. So is there a fix in Excel 2007?

  2. #2
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: Stop text in cell from overflowing.

    Format cells - Alignment - Fill

    mew.
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Stop text in cell from overflowing.

    FYI:

    mewingkitty suggestion works in xl2000 and probably xl97 although I can't test that at work.
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    05-29-2007
    Posts
    11

    Re: Stop text in cell from overflowing.

    I think you misunderstand my problem. Format -> Alignment -> (Horizontal)Fill will fill a box with repeated characters of whatever you have in the box.

    See my attachment please.
    Attached Files Attached Files

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Stop text in cell from overflowing.

    In that case then I don't think there is a setting which will cover all variations.

    If you use Justify and Top you will get what you want but only after resetting the row heights.

  6. #6
    Registered User
    Join Date
    05-29-2007
    Posts
    11

    Re: Stop text in cell from overflowing.

    Well that's disappointing.

    Thanks anyway.

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Stop text in cell from overflowing.

    Why is the overspill an issue? What are you doing exactly.

  8. #8
    Registered User
    Join Date
    05-29-2007
    Posts
    11

    Re: Stop text in cell from overflowing.

    Its only an issue in the way the spreadsheet looks, it still works the same as before. Say in the example above I had stuff in B2 and B3 and I wanted to scan down the list (visually) and see what items in col A had corresponding values in col B. It's easier on the eyes when the text starts and ends at the same position for all rows.

  9. #9
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Stop text in cell from overflowing.

    I guess.
    But would you not use formula rather than scanning by eye?

  10. #10
    Registered User
    Join Date
    05-29-2007
    Posts
    11

    Re: Stop text in cell from overflowing.

    It's not a large sheet, pretty easy to look at and see that A1 has nothing corresponding, A2 and 3 do, the rest don't, etc. Though the count if blank and count if not blank statements would come in helpful for getting overall numbers, but that goes back to why I'd rather not use a space.

  11. #11
    Registered User
    Join Date
    02-23-2012
    Location
    california
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Stop text in cell from overflowing.

    I know this post is old but I am trying to do the same thing. If there is something in the adjacent cell it works fine but if it is blank then it looks just like you described it. If you ever get the answer let me know.

    Thanks

  12. #12
    Registered User
    Join Date
    02-23-2012
    Location
    california
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Stop text in cell from overflowing.

    Type a "space" in the cell just to the right of the one containing the
    text..........then it will not overflow......

  13. #13
    Registered User
    Join Date
    08-30-2012
    Location
    UK
    MS-Off Ver
    Various
    Posts
    2

    Re: Excel 2007 : Stop text in cell from overflowing.

    I'm aware of three methods.

    The first two are in your original post, and I too found neither of these were suitable for a particular piece of work I was doing.

    A third option is to set the text to full "Justify" rather than left or centre justify or whatever it's on at the moment.

    The "Fill" option someone else suggested I think is similar, but that one didn't work if there was more than one column next to each other to which I wanted to apply this setting.

    Setting to Justify has the unhelpful side effect of centering the text, so although it stays neatly in the cell, you see the middle of the text rather than the beginning of it.

    If you want it to:
    - not overflow
    - be left-justified (so you can't use justify)
    - not have wrapped text (so you can't use wrap text)
    - not require extra columns (so you can't use column of spaces)
    - be next to another column (so you can't use fill justify)
    then I don't know of a solution. But I wish there was one!

    psy

  14. #14
    Registered User
    Join Date
    09-26-2012
    Location
    New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Excel 2007 : Stop text in cell from overflowing.

    If you

    (1) Select the whole sheet
    (2) Click on wrap text (cells will become huge and uneven)
    (3) Select the whole sheet again
    (4) Click and drag on edge of row number to set the row height back to the height you want the rows - they will all adjust together.

    All the long text will now run underneath the cell to the right
    You may have to select the sheet and hit the 'Top align' and 'Align Text left' buttons so that top of text is showing and see the beginning of the cell entry.

    C

+ 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