Get rid of extra space in cell when using Text Wrap












14















When I type a long sentence (or more than one sentence) into more than one cell in a row and apply the Text Wrap option to these cells, the cells have an extra blank line on the bottom of them. There are no extra spaces after my text. I have put the cursor at the end of the text and used the Delete key.



My text is formatted to be aligned to the Top and Left.




  • The Auto Format Height option does not get rid of the extra blank line.

  • Adjusting the width of the cell doesn't help.

  • I tried copying/pasting the text into Notepad and then back into Excel to try to get rid of any formatting. That did not work.

  • I am not using Bold, Italic or any other font setting. I am using the default font when I am entering the text.

  • I have searched the Format Cells window. Nothing there gets rid of this extra blank line.


Is there some other setting I can use to get rid of this extra blank line? I realize that Excel isn't really made for word processing. But, I need to enter in comments on this sheet and use the Text Wrap feature.



I am using Office/Excel 2007 for Windows.










share|improve this question

























  • Clarification: does this happen when your zoom is at 100%? Or only when you're zoomed in/out?

    – Dane
    Mar 10 '14 at 19:59











  • The zoom does not have any affect on this. I am at 100% zoom.

    – Junco
    Mar 11 '14 at 15:13






  • 2





    Excel has had this bug since the nineties, possibly since the eighties! They must have convinced themselves that they need to retain it for compatibility. Very infuriating.

    – Paul Kienitz
    Aug 11 '16 at 18:08
















14















When I type a long sentence (or more than one sentence) into more than one cell in a row and apply the Text Wrap option to these cells, the cells have an extra blank line on the bottom of them. There are no extra spaces after my text. I have put the cursor at the end of the text and used the Delete key.



My text is formatted to be aligned to the Top and Left.




  • The Auto Format Height option does not get rid of the extra blank line.

  • Adjusting the width of the cell doesn't help.

  • I tried copying/pasting the text into Notepad and then back into Excel to try to get rid of any formatting. That did not work.

  • I am not using Bold, Italic or any other font setting. I am using the default font when I am entering the text.

  • I have searched the Format Cells window. Nothing there gets rid of this extra blank line.


Is there some other setting I can use to get rid of this extra blank line? I realize that Excel isn't really made for word processing. But, I need to enter in comments on this sheet and use the Text Wrap feature.



I am using Office/Excel 2007 for Windows.










share|improve this question

























  • Clarification: does this happen when your zoom is at 100%? Or only when you're zoomed in/out?

    – Dane
    Mar 10 '14 at 19:59











  • The zoom does not have any affect on this. I am at 100% zoom.

    – Junco
    Mar 11 '14 at 15:13






  • 2





    Excel has had this bug since the nineties, possibly since the eighties! They must have convinced themselves that they need to retain it for compatibility. Very infuriating.

    – Paul Kienitz
    Aug 11 '16 at 18:08














14












14








14


2






When I type a long sentence (or more than one sentence) into more than one cell in a row and apply the Text Wrap option to these cells, the cells have an extra blank line on the bottom of them. There are no extra spaces after my text. I have put the cursor at the end of the text and used the Delete key.



My text is formatted to be aligned to the Top and Left.




  • The Auto Format Height option does not get rid of the extra blank line.

  • Adjusting the width of the cell doesn't help.

  • I tried copying/pasting the text into Notepad and then back into Excel to try to get rid of any formatting. That did not work.

  • I am not using Bold, Italic or any other font setting. I am using the default font when I am entering the text.

  • I have searched the Format Cells window. Nothing there gets rid of this extra blank line.


Is there some other setting I can use to get rid of this extra blank line? I realize that Excel isn't really made for word processing. But, I need to enter in comments on this sheet and use the Text Wrap feature.



I am using Office/Excel 2007 for Windows.










share|improve this question
















When I type a long sentence (or more than one sentence) into more than one cell in a row and apply the Text Wrap option to these cells, the cells have an extra blank line on the bottom of them. There are no extra spaces after my text. I have put the cursor at the end of the text and used the Delete key.



My text is formatted to be aligned to the Top and Left.




  • The Auto Format Height option does not get rid of the extra blank line.

  • Adjusting the width of the cell doesn't help.

  • I tried copying/pasting the text into Notepad and then back into Excel to try to get rid of any formatting. That did not work.

  • I am not using Bold, Italic or any other font setting. I am using the default font when I am entering the text.

  • I have searched the Format Cells window. Nothing there gets rid of this extra blank line.


Is there some other setting I can use to get rid of this extra blank line? I realize that Excel isn't really made for word processing. But, I need to enter in comments on this sheet and use the Text Wrap feature.



I am using Office/Excel 2007 for Windows.







microsoft-excel microsoft-excel-2007






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 22 '18 at 14:18









kenorb

11.4k1579116




11.4k1579116










asked Mar 10 '14 at 14:46









JuncoJunco

203129




203129













  • Clarification: does this happen when your zoom is at 100%? Or only when you're zoomed in/out?

    – Dane
    Mar 10 '14 at 19:59











  • The zoom does not have any affect on this. I am at 100% zoom.

    – Junco
    Mar 11 '14 at 15:13






  • 2





    Excel has had this bug since the nineties, possibly since the eighties! They must have convinced themselves that they need to retain it for compatibility. Very infuriating.

    – Paul Kienitz
    Aug 11 '16 at 18:08



















  • Clarification: does this happen when your zoom is at 100%? Or only when you're zoomed in/out?

    – Dane
    Mar 10 '14 at 19:59











  • The zoom does not have any affect on this. I am at 100% zoom.

    – Junco
    Mar 11 '14 at 15:13






  • 2





    Excel has had this bug since the nineties, possibly since the eighties! They must have convinced themselves that they need to retain it for compatibility. Very infuriating.

    – Paul Kienitz
    Aug 11 '16 at 18:08

















Clarification: does this happen when your zoom is at 100%? Or only when you're zoomed in/out?

– Dane
Mar 10 '14 at 19:59





Clarification: does this happen when your zoom is at 100%? Or only when you're zoomed in/out?

– Dane
Mar 10 '14 at 19:59













The zoom does not have any affect on this. I am at 100% zoom.

– Junco
Mar 11 '14 at 15:13





The zoom does not have any affect on this. I am at 100% zoom.

– Junco
Mar 11 '14 at 15:13




2




2





Excel has had this bug since the nineties, possibly since the eighties! They must have convinced themselves that they need to retain it for compatibility. Very infuriating.

– Paul Kienitz
Aug 11 '16 at 18:08





Excel has had this bug since the nineties, possibly since the eighties! They must have convinced themselves that they need to retain it for compatibility. Very infuriating.

– Paul Kienitz
Aug 11 '16 at 18:08










12 Answers
12






active

oldest

votes


















5














I was able to reproduce the behavior you are seeing (also in Excel 2007). I can't find a way to get rid of the extra space once it's there, but I found that if you reverse your steps and apply the Text Wrap in a cell prior to entering your text, you will not get the extra blank line.






share|improve this answer



















  • 1





    I've encountered the same thing in 2010. No sure fire solution yet, but zoom levels have sometimes made it look worse.

    – Dane
    Mar 16 '14 at 0:47



















7














I had the same problem just before I've typed this. And here is what I've found.



When you press wrap text the cells height is automatically adjusted. Also its height is not calculated as we expected. If there is very little space left on the last row of the text, Excel decides that the cell needs one more row... even if there is not a single letter on it.



If you get the cell's width a little wider, the automatic cell height adjustment removes the extra line.






share|improve this answer





















  • 6





    This is because of printer fonts. Excel actually checks how it fits when printed, and if it doesn't fit in a line on the printer, it will make an extra line (which seems superfluous on the screen). You can verify that by changing your default printer.

    – Aganju
    Jul 20 '16 at 13:20



















2














I found that if you change the width of the column that contains the cell with the extra blank line, then auto sizing the height of the row will usually get rid of the extra blank line. Apparently word wrap messes up with particular cell values and particular widths. Try different widths until auto-sizing the height gets rid of the blank line.



You can widen the column by clicking and dragging the divider between the two column headers at the top of the worksheet. Once the column is wider, auto size the row by double-clicking the divider between the row headers on the left side of the worksheet.



Of course, if your worksheet has hundreds of rows, then each cell in that column has a certain chance of hitting the magic spot, and adding the extra line. Changing the width will clean up some cells, and add unnecessary blanks to others. In this case, the only solution that I have found is to manually wrap the text to my chosen width by inserting extra carriage returns in the middle of the text at the position that I'd like the text to wrap using alt+enter. I then make sure the column is a little wider than my chosen text width, and I won't get any extra blank lines. A terrible and labor intensive solution, but it does work.






share|improve this answer


























  • Column width adjustment + auto-height worked perfectly in Excel 2013 Windows.

    – TaeKwonJoe
    Mar 18 '16 at 23:04



















1














Excel lays out text differently in wrapped cells to the way it lays it out in text boxes.



(Try it: create a text box the same width as your wrapped cell, with zero margins, check Resize shape to fit text and Wrap text in shape, and paste in a copy of the text from your wrapped cell).



Knowing this, it seems that the problem occurs because the Autofit Row Height command adjusts the height of the row as if every cell of the row is laid out using the algorithm used for text boxes rather than the algorithm for wrapped cells. Autofit Row Height also ignores merged cells, so it really isn't very usable in many situations.



Solution: put your text into text boxes rather than wrapped cells. Of course, this introduces its own world of pain, but if you generate and populate the text boxes using VBA it isn't too difficult.






share|improve this answer































    0














    I tried 6 of the 7 answers that were here (excepted the text boxing) and with a bit of fiddling the ideas all worked but, on some rows only. I'm working on an Excel 97-2003 (.xls) workbook using compatibility mode from Excel 2016 but I see 2007 has the same commands I used below...

    Another thing that worked on some was to type a blank into the empty cells between the other data. Some rows were corrected by copying the formatting from a good example row, onto the problem row. Using the formatting dialog box to change all the formatting on all the data at once and reapply it also worked on a few rows. What I found that worked on all the many misbehaving rows I had left at once was to select all the data area (CTRL+HOME then CTRL+SHIFT+END will select cells that surprisingly contain invisible data too), go to the HOME tab, EDITING section, select the arrow beside CLEAR, choose CLEAR FORMATS. Then select all the data you want text wrapped and either right click or use CTRL1 to open the Formatting dialog box, alignment tab, and checkmark beside WRAP TEXT, ENTER, check the data all over for wasted lines (are there blank spaces leading or following your text?), then reapply any other formatting you were using. Voila! The end of many hours of frustration.
    (






    share|improve this answer































      0














      Please do the following:
      1. Highlight the column, control+h (to find and replace) put a space in find and put any special character to '-' to replace.
      2. Convert "text to colomn", delimit with the special character replaced.



      Enjoy...






      share|improve this answer































        0














        I read in diagonal some answers and some are useful. Eventually after fidling with the issue I found:




        • Adding text to adjacent cells also causes same symptom.


        So I messed a bit more and here's the (eventual) solution - in Excel 2013:




        1. Click on Column header of the "wrapped cells" to select whole column.

        2. Widen the column by dragging the right divider.

        3. Remove and re-add the "Wrap text" setting.


        Issue should disappear. Let me know if this fixes the issue.






        share|improve this answer



















        • 1





          This very same solution has already been proposed twice in two different answers, plus discussed in multiple comments (and doesn't always work). We don't need another past saying the same thing. Please read all the previous answers thoroughly before posting a new one, especially on old questions with lots of answers.

          – robinCTS
          Jul 18 '18 at 11:02





















        0














        The only solution for this problem seems to be complete reinstalation of the MS Office. I searched all over the internet forums and nobody knows how to solve it. For me, the reinstalation worked, so give it a try. :)






        share|improve this answer
























        • Well, there are several solutions on this page.  Since this is a “feature” of Excel, it seems unlikely that reinstalling the same software would result in different behavior.

          – Scott
          Jan 22 at 9:30



















        -1














        This problem was bothering me for a very long time too.



        My only solution to get rid of the extra space /enter was to finish the sentence with a dot / full stop / the key '.' This works 100% for me, where all other solutions failed (including copy pasting in notepad (back and forth), tinkering with layout, cell width, etc)



        Yes, turns out it was that simple. Just finish the line with a hard break / dot.



        Good luck!






        share|improve this answer



















        • 1





          When this happens to me, ending the sentence with a period makes no difference.

          – Blackwood
          Jan 1 '18 at 19:10



















        -1














        i faced same problem & now solved it. Pls select the cell, click F2, bring mouse pointer at end of the text (press end button), click delete button couple times till u feel that some unwanted blank space is removed, then press enter button.... here u go. Thanks.






        share|improve this answer

































          -1














          I highlighted the entire row. Then clicked on "Home" at the top left. Then a "Format" drop-down menu appeared on the upper right. With the row still highlighted, select "AutoFit Row Height" from the "Format" drop-down. Magic!






          share|improve this answer































            -2














            When you are on a cell, if you click the "normal style" it should get rid of any extra space in the cell.






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f727108%2fget-rid-of-extra-space-in-cell-when-using-text-wrap%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              12 Answers
              12






              active

              oldest

              votes








              12 Answers
              12






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              5














              I was able to reproduce the behavior you are seeing (also in Excel 2007). I can't find a way to get rid of the extra space once it's there, but I found that if you reverse your steps and apply the Text Wrap in a cell prior to entering your text, you will not get the extra blank line.






              share|improve this answer



















              • 1





                I've encountered the same thing in 2010. No sure fire solution yet, but zoom levels have sometimes made it look worse.

                – Dane
                Mar 16 '14 at 0:47
















              5














              I was able to reproduce the behavior you are seeing (also in Excel 2007). I can't find a way to get rid of the extra space once it's there, but I found that if you reverse your steps and apply the Text Wrap in a cell prior to entering your text, you will not get the extra blank line.






              share|improve this answer



















              • 1





                I've encountered the same thing in 2010. No sure fire solution yet, but zoom levels have sometimes made it look worse.

                – Dane
                Mar 16 '14 at 0:47














              5












              5








              5







              I was able to reproduce the behavior you are seeing (also in Excel 2007). I can't find a way to get rid of the extra space once it's there, but I found that if you reverse your steps and apply the Text Wrap in a cell prior to entering your text, you will not get the extra blank line.






              share|improve this answer













              I was able to reproduce the behavior you are seeing (also in Excel 2007). I can't find a way to get rid of the extra space once it's there, but I found that if you reverse your steps and apply the Text Wrap in a cell prior to entering your text, you will not get the extra blank line.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Mar 10 '14 at 21:42









              bmshortbmshort

              1014




              1014








              • 1





                I've encountered the same thing in 2010. No sure fire solution yet, but zoom levels have sometimes made it look worse.

                – Dane
                Mar 16 '14 at 0:47














              • 1





                I've encountered the same thing in 2010. No sure fire solution yet, but zoom levels have sometimes made it look worse.

                – Dane
                Mar 16 '14 at 0:47








              1




              1





              I've encountered the same thing in 2010. No sure fire solution yet, but zoom levels have sometimes made it look worse.

              – Dane
              Mar 16 '14 at 0:47





              I've encountered the same thing in 2010. No sure fire solution yet, but zoom levels have sometimes made it look worse.

              – Dane
              Mar 16 '14 at 0:47













              7














              I had the same problem just before I've typed this. And here is what I've found.



              When you press wrap text the cells height is automatically adjusted. Also its height is not calculated as we expected. If there is very little space left on the last row of the text, Excel decides that the cell needs one more row... even if there is not a single letter on it.



              If you get the cell's width a little wider, the automatic cell height adjustment removes the extra line.






              share|improve this answer





















              • 6





                This is because of printer fonts. Excel actually checks how it fits when printed, and if it doesn't fit in a line on the printer, it will make an extra line (which seems superfluous on the screen). You can verify that by changing your default printer.

                – Aganju
                Jul 20 '16 at 13:20
















              7














              I had the same problem just before I've typed this. And here is what I've found.



              When you press wrap text the cells height is automatically adjusted. Also its height is not calculated as we expected. If there is very little space left on the last row of the text, Excel decides that the cell needs one more row... even if there is not a single letter on it.



              If you get the cell's width a little wider, the automatic cell height adjustment removes the extra line.






              share|improve this answer





















              • 6





                This is because of printer fonts. Excel actually checks how it fits when printed, and if it doesn't fit in a line on the printer, it will make an extra line (which seems superfluous on the screen). You can verify that by changing your default printer.

                – Aganju
                Jul 20 '16 at 13:20














              7












              7








              7







              I had the same problem just before I've typed this. And here is what I've found.



              When you press wrap text the cells height is automatically adjusted. Also its height is not calculated as we expected. If there is very little space left on the last row of the text, Excel decides that the cell needs one more row... even if there is not a single letter on it.



              If you get the cell's width a little wider, the automatic cell height adjustment removes the extra line.






              share|improve this answer















              I had the same problem just before I've typed this. And here is what I've found.



              When you press wrap text the cells height is automatically adjusted. Also its height is not calculated as we expected. If there is very little space left on the last row of the text, Excel decides that the cell needs one more row... even if there is not a single letter on it.



              If you get the cell's width a little wider, the automatic cell height adjustment removes the extra line.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Jul 20 '16 at 13:18









              Nathan.Eilisha Shiraini

              2,4331923




              2,4331923










              answered Jul 20 '16 at 11:55









              Rumen DimitrovRumen Dimitrov

              7111




              7111








              • 6





                This is because of printer fonts. Excel actually checks how it fits when printed, and if it doesn't fit in a line on the printer, it will make an extra line (which seems superfluous on the screen). You can verify that by changing your default printer.

                – Aganju
                Jul 20 '16 at 13:20














              • 6





                This is because of printer fonts. Excel actually checks how it fits when printed, and if it doesn't fit in a line on the printer, it will make an extra line (which seems superfluous on the screen). You can verify that by changing your default printer.

                – Aganju
                Jul 20 '16 at 13:20








              6




              6





              This is because of printer fonts. Excel actually checks how it fits when printed, and if it doesn't fit in a line on the printer, it will make an extra line (which seems superfluous on the screen). You can verify that by changing your default printer.

              – Aganju
              Jul 20 '16 at 13:20





              This is because of printer fonts. Excel actually checks how it fits when printed, and if it doesn't fit in a line on the printer, it will make an extra line (which seems superfluous on the screen). You can verify that by changing your default printer.

              – Aganju
              Jul 20 '16 at 13:20











              2














              I found that if you change the width of the column that contains the cell with the extra blank line, then auto sizing the height of the row will usually get rid of the extra blank line. Apparently word wrap messes up with particular cell values and particular widths. Try different widths until auto-sizing the height gets rid of the blank line.



              You can widen the column by clicking and dragging the divider between the two column headers at the top of the worksheet. Once the column is wider, auto size the row by double-clicking the divider between the row headers on the left side of the worksheet.



              Of course, if your worksheet has hundreds of rows, then each cell in that column has a certain chance of hitting the magic spot, and adding the extra line. Changing the width will clean up some cells, and add unnecessary blanks to others. In this case, the only solution that I have found is to manually wrap the text to my chosen width by inserting extra carriage returns in the middle of the text at the position that I'd like the text to wrap using alt+enter. I then make sure the column is a little wider than my chosen text width, and I won't get any extra blank lines. A terrible and labor intensive solution, but it does work.






              share|improve this answer


























              • Column width adjustment + auto-height worked perfectly in Excel 2013 Windows.

                – TaeKwonJoe
                Mar 18 '16 at 23:04
















              2














              I found that if you change the width of the column that contains the cell with the extra blank line, then auto sizing the height of the row will usually get rid of the extra blank line. Apparently word wrap messes up with particular cell values and particular widths. Try different widths until auto-sizing the height gets rid of the blank line.



              You can widen the column by clicking and dragging the divider between the two column headers at the top of the worksheet. Once the column is wider, auto size the row by double-clicking the divider between the row headers on the left side of the worksheet.



              Of course, if your worksheet has hundreds of rows, then each cell in that column has a certain chance of hitting the magic spot, and adding the extra line. Changing the width will clean up some cells, and add unnecessary blanks to others. In this case, the only solution that I have found is to manually wrap the text to my chosen width by inserting extra carriage returns in the middle of the text at the position that I'd like the text to wrap using alt+enter. I then make sure the column is a little wider than my chosen text width, and I won't get any extra blank lines. A terrible and labor intensive solution, but it does work.






              share|improve this answer


























              • Column width adjustment + auto-height worked perfectly in Excel 2013 Windows.

                – TaeKwonJoe
                Mar 18 '16 at 23:04














              2












              2








              2







              I found that if you change the width of the column that contains the cell with the extra blank line, then auto sizing the height of the row will usually get rid of the extra blank line. Apparently word wrap messes up with particular cell values and particular widths. Try different widths until auto-sizing the height gets rid of the blank line.



              You can widen the column by clicking and dragging the divider between the two column headers at the top of the worksheet. Once the column is wider, auto size the row by double-clicking the divider between the row headers on the left side of the worksheet.



              Of course, if your worksheet has hundreds of rows, then each cell in that column has a certain chance of hitting the magic spot, and adding the extra line. Changing the width will clean up some cells, and add unnecessary blanks to others. In this case, the only solution that I have found is to manually wrap the text to my chosen width by inserting extra carriage returns in the middle of the text at the position that I'd like the text to wrap using alt+enter. I then make sure the column is a little wider than my chosen text width, and I won't get any extra blank lines. A terrible and labor intensive solution, but it does work.






              share|improve this answer















              I found that if you change the width of the column that contains the cell with the extra blank line, then auto sizing the height of the row will usually get rid of the extra blank line. Apparently word wrap messes up with particular cell values and particular widths. Try different widths until auto-sizing the height gets rid of the blank line.



              You can widen the column by clicking and dragging the divider between the two column headers at the top of the worksheet. Once the column is wider, auto size the row by double-clicking the divider between the row headers on the left side of the worksheet.



              Of course, if your worksheet has hundreds of rows, then each cell in that column has a certain chance of hitting the magic spot, and adding the extra line. Changing the width will clean up some cells, and add unnecessary blanks to others. In this case, the only solution that I have found is to manually wrap the text to my chosen width by inserting extra carriage returns in the middle of the text at the position that I'd like the text to wrap using alt+enter. I then make sure the column is a little wider than my chosen text width, and I won't get any extra blank lines. A terrible and labor intensive solution, but it does work.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Aug 14 '14 at 17:57

























              answered Aug 14 '14 at 15:39









              Michael KrebsMichael Krebs

              15217




              15217













              • Column width adjustment + auto-height worked perfectly in Excel 2013 Windows.

                – TaeKwonJoe
                Mar 18 '16 at 23:04



















              • Column width adjustment + auto-height worked perfectly in Excel 2013 Windows.

                – TaeKwonJoe
                Mar 18 '16 at 23:04

















              Column width adjustment + auto-height worked perfectly in Excel 2013 Windows.

              – TaeKwonJoe
              Mar 18 '16 at 23:04





              Column width adjustment + auto-height worked perfectly in Excel 2013 Windows.

              – TaeKwonJoe
              Mar 18 '16 at 23:04











              1














              Excel lays out text differently in wrapped cells to the way it lays it out in text boxes.



              (Try it: create a text box the same width as your wrapped cell, with zero margins, check Resize shape to fit text and Wrap text in shape, and paste in a copy of the text from your wrapped cell).



              Knowing this, it seems that the problem occurs because the Autofit Row Height command adjusts the height of the row as if every cell of the row is laid out using the algorithm used for text boxes rather than the algorithm for wrapped cells. Autofit Row Height also ignores merged cells, so it really isn't very usable in many situations.



              Solution: put your text into text boxes rather than wrapped cells. Of course, this introduces its own world of pain, but if you generate and populate the text boxes using VBA it isn't too difficult.






              share|improve this answer




























                1














                Excel lays out text differently in wrapped cells to the way it lays it out in text boxes.



                (Try it: create a text box the same width as your wrapped cell, with zero margins, check Resize shape to fit text and Wrap text in shape, and paste in a copy of the text from your wrapped cell).



                Knowing this, it seems that the problem occurs because the Autofit Row Height command adjusts the height of the row as if every cell of the row is laid out using the algorithm used for text boxes rather than the algorithm for wrapped cells. Autofit Row Height also ignores merged cells, so it really isn't very usable in many situations.



                Solution: put your text into text boxes rather than wrapped cells. Of course, this introduces its own world of pain, but if you generate and populate the text boxes using VBA it isn't too difficult.






                share|improve this answer


























                  1












                  1








                  1







                  Excel lays out text differently in wrapped cells to the way it lays it out in text boxes.



                  (Try it: create a text box the same width as your wrapped cell, with zero margins, check Resize shape to fit text and Wrap text in shape, and paste in a copy of the text from your wrapped cell).



                  Knowing this, it seems that the problem occurs because the Autofit Row Height command adjusts the height of the row as if every cell of the row is laid out using the algorithm used for text boxes rather than the algorithm for wrapped cells. Autofit Row Height also ignores merged cells, so it really isn't very usable in many situations.



                  Solution: put your text into text boxes rather than wrapped cells. Of course, this introduces its own world of pain, but if you generate and populate the text boxes using VBA it isn't too difficult.






                  share|improve this answer













                  Excel lays out text differently in wrapped cells to the way it lays it out in text boxes.



                  (Try it: create a text box the same width as your wrapped cell, with zero margins, check Resize shape to fit text and Wrap text in shape, and paste in a copy of the text from your wrapped cell).



                  Knowing this, it seems that the problem occurs because the Autofit Row Height command adjusts the height of the row as if every cell of the row is laid out using the algorithm used for text boxes rather than the algorithm for wrapped cells. Autofit Row Height also ignores merged cells, so it really isn't very usable in many situations.



                  Solution: put your text into text boxes rather than wrapped cells. Of course, this introduces its own world of pain, but if you generate and populate the text boxes using VBA it isn't too difficult.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 6 '16 at 23:16









                  Andrew PartridgeAndrew Partridge

                  192




                  192























                      0














                      I tried 6 of the 7 answers that were here (excepted the text boxing) and with a bit of fiddling the ideas all worked but, on some rows only. I'm working on an Excel 97-2003 (.xls) workbook using compatibility mode from Excel 2016 but I see 2007 has the same commands I used below...

                      Another thing that worked on some was to type a blank into the empty cells between the other data. Some rows were corrected by copying the formatting from a good example row, onto the problem row. Using the formatting dialog box to change all the formatting on all the data at once and reapply it also worked on a few rows. What I found that worked on all the many misbehaving rows I had left at once was to select all the data area (CTRL+HOME then CTRL+SHIFT+END will select cells that surprisingly contain invisible data too), go to the HOME tab, EDITING section, select the arrow beside CLEAR, choose CLEAR FORMATS. Then select all the data you want text wrapped and either right click or use CTRL1 to open the Formatting dialog box, alignment tab, and checkmark beside WRAP TEXT, ENTER, check the data all over for wasted lines (are there blank spaces leading or following your text?), then reapply any other formatting you were using. Voila! The end of many hours of frustration.
                      (






                      share|improve this answer




























                        0














                        I tried 6 of the 7 answers that were here (excepted the text boxing) and with a bit of fiddling the ideas all worked but, on some rows only. I'm working on an Excel 97-2003 (.xls) workbook using compatibility mode from Excel 2016 but I see 2007 has the same commands I used below...

                        Another thing that worked on some was to type a blank into the empty cells between the other data. Some rows were corrected by copying the formatting from a good example row, onto the problem row. Using the formatting dialog box to change all the formatting on all the data at once and reapply it also worked on a few rows. What I found that worked on all the many misbehaving rows I had left at once was to select all the data area (CTRL+HOME then CTRL+SHIFT+END will select cells that surprisingly contain invisible data too), go to the HOME tab, EDITING section, select the arrow beside CLEAR, choose CLEAR FORMATS. Then select all the data you want text wrapped and either right click or use CTRL1 to open the Formatting dialog box, alignment tab, and checkmark beside WRAP TEXT, ENTER, check the data all over for wasted lines (are there blank spaces leading or following your text?), then reapply any other formatting you were using. Voila! The end of many hours of frustration.
                        (






                        share|improve this answer


























                          0












                          0








                          0







                          I tried 6 of the 7 answers that were here (excepted the text boxing) and with a bit of fiddling the ideas all worked but, on some rows only. I'm working on an Excel 97-2003 (.xls) workbook using compatibility mode from Excel 2016 but I see 2007 has the same commands I used below...

                          Another thing that worked on some was to type a blank into the empty cells between the other data. Some rows were corrected by copying the formatting from a good example row, onto the problem row. Using the formatting dialog box to change all the formatting on all the data at once and reapply it also worked on a few rows. What I found that worked on all the many misbehaving rows I had left at once was to select all the data area (CTRL+HOME then CTRL+SHIFT+END will select cells that surprisingly contain invisible data too), go to the HOME tab, EDITING section, select the arrow beside CLEAR, choose CLEAR FORMATS. Then select all the data you want text wrapped and either right click or use CTRL1 to open the Formatting dialog box, alignment tab, and checkmark beside WRAP TEXT, ENTER, check the data all over for wasted lines (are there blank spaces leading or following your text?), then reapply any other formatting you were using. Voila! The end of many hours of frustration.
                          (






                          share|improve this answer













                          I tried 6 of the 7 answers that were here (excepted the text boxing) and with a bit of fiddling the ideas all worked but, on some rows only. I'm working on an Excel 97-2003 (.xls) workbook using compatibility mode from Excel 2016 but I see 2007 has the same commands I used below...

                          Another thing that worked on some was to type a blank into the empty cells between the other data. Some rows were corrected by copying the formatting from a good example row, onto the problem row. Using the formatting dialog box to change all the formatting on all the data at once and reapply it also worked on a few rows. What I found that worked on all the many misbehaving rows I had left at once was to select all the data area (CTRL+HOME then CTRL+SHIFT+END will select cells that surprisingly contain invisible data too), go to the HOME tab, EDITING section, select the arrow beside CLEAR, choose CLEAR FORMATS. Then select all the data you want text wrapped and either right click or use CTRL1 to open the Formatting dialog box, alignment tab, and checkmark beside WRAP TEXT, ENTER, check the data all over for wasted lines (are there blank spaces leading or following your text?), then reapply any other formatting you were using. Voila! The end of many hours of frustration.
                          (







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Mar 22 '18 at 10:41









                          RickRick

                          32




                          32























                              0














                              Please do the following:
                              1. Highlight the column, control+h (to find and replace) put a space in find and put any special character to '-' to replace.
                              2. Convert "text to colomn", delimit with the special character replaced.



                              Enjoy...






                              share|improve this answer




























                                0














                                Please do the following:
                                1. Highlight the column, control+h (to find and replace) put a space in find and put any special character to '-' to replace.
                                2. Convert "text to colomn", delimit with the special character replaced.



                                Enjoy...






                                share|improve this answer


























                                  0












                                  0








                                  0







                                  Please do the following:
                                  1. Highlight the column, control+h (to find and replace) put a space in find and put any special character to '-' to replace.
                                  2. Convert "text to colomn", delimit with the special character replaced.



                                  Enjoy...






                                  share|improve this answer













                                  Please do the following:
                                  1. Highlight the column, control+h (to find and replace) put a space in find and put any special character to '-' to replace.
                                  2. Convert "text to colomn", delimit with the special character replaced.



                                  Enjoy...







                                  share|improve this answer












                                  share|improve this answer



                                  share|improve this answer










                                  answered Apr 21 '18 at 8:03









                                  SmruthySmruthy

                                  1




                                  1























                                      0














                                      I read in diagonal some answers and some are useful. Eventually after fidling with the issue I found:




                                      • Adding text to adjacent cells also causes same symptom.


                                      So I messed a bit more and here's the (eventual) solution - in Excel 2013:




                                      1. Click on Column header of the "wrapped cells" to select whole column.

                                      2. Widen the column by dragging the right divider.

                                      3. Remove and re-add the "Wrap text" setting.


                                      Issue should disappear. Let me know if this fixes the issue.






                                      share|improve this answer



















                                      • 1





                                        This very same solution has already been proposed twice in two different answers, plus discussed in multiple comments (and doesn't always work). We don't need another past saying the same thing. Please read all the previous answers thoroughly before posting a new one, especially on old questions with lots of answers.

                                        – robinCTS
                                        Jul 18 '18 at 11:02


















                                      0














                                      I read in diagonal some answers and some are useful. Eventually after fidling with the issue I found:




                                      • Adding text to adjacent cells also causes same symptom.


                                      So I messed a bit more and here's the (eventual) solution - in Excel 2013:




                                      1. Click on Column header of the "wrapped cells" to select whole column.

                                      2. Widen the column by dragging the right divider.

                                      3. Remove and re-add the "Wrap text" setting.


                                      Issue should disappear. Let me know if this fixes the issue.






                                      share|improve this answer



















                                      • 1





                                        This very same solution has already been proposed twice in two different answers, plus discussed in multiple comments (and doesn't always work). We don't need another past saying the same thing. Please read all the previous answers thoroughly before posting a new one, especially on old questions with lots of answers.

                                        – robinCTS
                                        Jul 18 '18 at 11:02
















                                      0












                                      0








                                      0







                                      I read in diagonal some answers and some are useful. Eventually after fidling with the issue I found:




                                      • Adding text to adjacent cells also causes same symptom.


                                      So I messed a bit more and here's the (eventual) solution - in Excel 2013:




                                      1. Click on Column header of the "wrapped cells" to select whole column.

                                      2. Widen the column by dragging the right divider.

                                      3. Remove and re-add the "Wrap text" setting.


                                      Issue should disappear. Let me know if this fixes the issue.






                                      share|improve this answer













                                      I read in diagonal some answers and some are useful. Eventually after fidling with the issue I found:




                                      • Adding text to adjacent cells also causes same symptom.


                                      So I messed a bit more and here's the (eventual) solution - in Excel 2013:




                                      1. Click on Column header of the "wrapped cells" to select whole column.

                                      2. Widen the column by dragging the right divider.

                                      3. Remove and re-add the "Wrap text" setting.


                                      Issue should disappear. Let me know if this fixes the issue.







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Jul 18 '18 at 10:41









                                      Ontanoi SavelOntanoi Savel

                                      12




                                      12








                                      • 1





                                        This very same solution has already been proposed twice in two different answers, plus discussed in multiple comments (and doesn't always work). We don't need another past saying the same thing. Please read all the previous answers thoroughly before posting a new one, especially on old questions with lots of answers.

                                        – robinCTS
                                        Jul 18 '18 at 11:02
















                                      • 1





                                        This very same solution has already been proposed twice in two different answers, plus discussed in multiple comments (and doesn't always work). We don't need another past saying the same thing. Please read all the previous answers thoroughly before posting a new one, especially on old questions with lots of answers.

                                        – robinCTS
                                        Jul 18 '18 at 11:02










                                      1




                                      1





                                      This very same solution has already been proposed twice in two different answers, plus discussed in multiple comments (and doesn't always work). We don't need another past saying the same thing. Please read all the previous answers thoroughly before posting a new one, especially on old questions with lots of answers.

                                      – robinCTS
                                      Jul 18 '18 at 11:02







                                      This very same solution has already been proposed twice in two different answers, plus discussed in multiple comments (and doesn't always work). We don't need another past saying the same thing. Please read all the previous answers thoroughly before posting a new one, especially on old questions with lots of answers.

                                      – robinCTS
                                      Jul 18 '18 at 11:02













                                      0














                                      The only solution for this problem seems to be complete reinstalation of the MS Office. I searched all over the internet forums and nobody knows how to solve it. For me, the reinstalation worked, so give it a try. :)






                                      share|improve this answer
























                                      • Well, there are several solutions on this page.  Since this is a “feature” of Excel, it seems unlikely that reinstalling the same software would result in different behavior.

                                        – Scott
                                        Jan 22 at 9:30
















                                      0














                                      The only solution for this problem seems to be complete reinstalation of the MS Office. I searched all over the internet forums and nobody knows how to solve it. For me, the reinstalation worked, so give it a try. :)






                                      share|improve this answer
























                                      • Well, there are several solutions on this page.  Since this is a “feature” of Excel, it seems unlikely that reinstalling the same software would result in different behavior.

                                        – Scott
                                        Jan 22 at 9:30














                                      0












                                      0








                                      0







                                      The only solution for this problem seems to be complete reinstalation of the MS Office. I searched all over the internet forums and nobody knows how to solve it. For me, the reinstalation worked, so give it a try. :)






                                      share|improve this answer













                                      The only solution for this problem seems to be complete reinstalation of the MS Office. I searched all over the internet forums and nobody knows how to solve it. For me, the reinstalation worked, so give it a try. :)







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Jan 22 at 6:59









                                      Vítězslav ČástkaVítězslav Částka

                                      1




                                      1













                                      • Well, there are several solutions on this page.  Since this is a “feature” of Excel, it seems unlikely that reinstalling the same software would result in different behavior.

                                        – Scott
                                        Jan 22 at 9:30



















                                      • Well, there are several solutions on this page.  Since this is a “feature” of Excel, it seems unlikely that reinstalling the same software would result in different behavior.

                                        – Scott
                                        Jan 22 at 9:30

















                                      Well, there are several solutions on this page.  Since this is a “feature” of Excel, it seems unlikely that reinstalling the same software would result in different behavior.

                                      – Scott
                                      Jan 22 at 9:30





                                      Well, there are several solutions on this page.  Since this is a “feature” of Excel, it seems unlikely that reinstalling the same software would result in different behavior.

                                      – Scott
                                      Jan 22 at 9:30











                                      -1














                                      This problem was bothering me for a very long time too.



                                      My only solution to get rid of the extra space /enter was to finish the sentence with a dot / full stop / the key '.' This works 100% for me, where all other solutions failed (including copy pasting in notepad (back and forth), tinkering with layout, cell width, etc)



                                      Yes, turns out it was that simple. Just finish the line with a hard break / dot.



                                      Good luck!






                                      share|improve this answer



















                                      • 1





                                        When this happens to me, ending the sentence with a period makes no difference.

                                        – Blackwood
                                        Jan 1 '18 at 19:10
















                                      -1














                                      This problem was bothering me for a very long time too.



                                      My only solution to get rid of the extra space /enter was to finish the sentence with a dot / full stop / the key '.' This works 100% for me, where all other solutions failed (including copy pasting in notepad (back and forth), tinkering with layout, cell width, etc)



                                      Yes, turns out it was that simple. Just finish the line with a hard break / dot.



                                      Good luck!






                                      share|improve this answer



















                                      • 1





                                        When this happens to me, ending the sentence with a period makes no difference.

                                        – Blackwood
                                        Jan 1 '18 at 19:10














                                      -1












                                      -1








                                      -1







                                      This problem was bothering me for a very long time too.



                                      My only solution to get rid of the extra space /enter was to finish the sentence with a dot / full stop / the key '.' This works 100% for me, where all other solutions failed (including copy pasting in notepad (back and forth), tinkering with layout, cell width, etc)



                                      Yes, turns out it was that simple. Just finish the line with a hard break / dot.



                                      Good luck!






                                      share|improve this answer













                                      This problem was bothering me for a very long time too.



                                      My only solution to get rid of the extra space /enter was to finish the sentence with a dot / full stop / the key '.' This works 100% for me, where all other solutions failed (including copy pasting in notepad (back and forth), tinkering with layout, cell width, etc)



                                      Yes, turns out it was that simple. Just finish the line with a hard break / dot.



                                      Good luck!







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Jan 1 '18 at 16:55









                                      RonnieNRonnieN

                                      1




                                      1








                                      • 1





                                        When this happens to me, ending the sentence with a period makes no difference.

                                        – Blackwood
                                        Jan 1 '18 at 19:10














                                      • 1





                                        When this happens to me, ending the sentence with a period makes no difference.

                                        – Blackwood
                                        Jan 1 '18 at 19:10








                                      1




                                      1





                                      When this happens to me, ending the sentence with a period makes no difference.

                                      – Blackwood
                                      Jan 1 '18 at 19:10





                                      When this happens to me, ending the sentence with a period makes no difference.

                                      – Blackwood
                                      Jan 1 '18 at 19:10











                                      -1














                                      i faced same problem & now solved it. Pls select the cell, click F2, bring mouse pointer at end of the text (press end button), click delete button couple times till u feel that some unwanted blank space is removed, then press enter button.... here u go. Thanks.






                                      share|improve this answer






























                                        -1














                                        i faced same problem & now solved it. Pls select the cell, click F2, bring mouse pointer at end of the text (press end button), click delete button couple times till u feel that some unwanted blank space is removed, then press enter button.... here u go. Thanks.






                                        share|improve this answer




























                                          -1












                                          -1








                                          -1







                                          i faced same problem & now solved it. Pls select the cell, click F2, bring mouse pointer at end of the text (press end button), click delete button couple times till u feel that some unwanted blank space is removed, then press enter button.... here u go. Thanks.






                                          share|improve this answer















                                          i faced same problem & now solved it. Pls select the cell, click F2, bring mouse pointer at end of the text (press end button), click delete button couple times till u feel that some unwanted blank space is removed, then press enter button.... here u go. Thanks.







                                          share|improve this answer














                                          share|improve this answer



                                          share|improve this answer








                                          edited Mar 22 '18 at 12:10









                                          Rick

                                          32




                                          32










                                          answered Feb 3 '18 at 18:21









                                          HoqueHoque

                                          1




                                          1























                                              -1














                                              I highlighted the entire row. Then clicked on "Home" at the top left. Then a "Format" drop-down menu appeared on the upper right. With the row still highlighted, select "AutoFit Row Height" from the "Format" drop-down. Magic!






                                              share|improve this answer




























                                                -1














                                                I highlighted the entire row. Then clicked on "Home" at the top left. Then a "Format" drop-down menu appeared on the upper right. With the row still highlighted, select "AutoFit Row Height" from the "Format" drop-down. Magic!






                                                share|improve this answer


























                                                  -1












                                                  -1








                                                  -1







                                                  I highlighted the entire row. Then clicked on "Home" at the top left. Then a "Format" drop-down menu appeared on the upper right. With the row still highlighted, select "AutoFit Row Height" from the "Format" drop-down. Magic!






                                                  share|improve this answer













                                                  I highlighted the entire row. Then clicked on "Home" at the top left. Then a "Format" drop-down menu appeared on the upper right. With the row still highlighted, select "AutoFit Row Height" from the "Format" drop-down. Magic!







                                                  share|improve this answer












                                                  share|improve this answer



                                                  share|improve this answer










                                                  answered Feb 2 at 17:30









                                                  Joseph A SilvaJoseph A Silva

                                                  1




                                                  1























                                                      -2














                                                      When you are on a cell, if you click the "normal style" it should get rid of any extra space in the cell.






                                                      share|improve this answer




























                                                        -2














                                                        When you are on a cell, if you click the "normal style" it should get rid of any extra space in the cell.






                                                        share|improve this answer


























                                                          -2












                                                          -2








                                                          -2







                                                          When you are on a cell, if you click the "normal style" it should get rid of any extra space in the cell.






                                                          share|improve this answer













                                                          When you are on a cell, if you click the "normal style" it should get rid of any extra space in the cell.







                                                          share|improve this answer












                                                          share|improve this answer



                                                          share|improve this answer










                                                          answered Jan 12 '17 at 22:00









                                                          user685183user685183

                                                          1




                                                          1






























                                                              draft saved

                                                              draft discarded




















































                                                              Thanks for contributing an answer to Super User!


                                                              • Please be sure to answer the question. Provide details and share your research!

                                                              But avoid



                                                              • Asking for help, clarification, or responding to other answers.

                                                              • Making statements based on opinion; back them up with references or personal experience.


                                                              To learn more, see our tips on writing great answers.




                                                              draft saved


                                                              draft discarded














                                                              StackExchange.ready(
                                                              function () {
                                                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f727108%2fget-rid-of-extra-space-in-cell-when-using-text-wrap%23new-answer', 'question_page');
                                                              }
                                                              );

                                                              Post as a guest















                                                              Required, but never shown





















































                                                              Required, but never shown














                                                              Required, but never shown












                                                              Required, but never shown







                                                              Required, but never shown

































                                                              Required, but never shown














                                                              Required, but never shown












                                                              Required, but never shown







                                                              Required, but never shown







                                                              Popular posts from this blog

                                                              If I really need a card on my start hand, how many mulligans make sense? [duplicate]

                                                              Alcedinidae

                                                              Can an atomic nucleus contain both particles and antiparticles? [duplicate]