How to Fix Blank Rows When Printing Excel Cells with Line Breaks
Question details
The user is experiencing a mismatch between the screen display and the printed output in Excel, where multi-line text is cut off and replaced by an unexpected blank row.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Printing a spreadsheet containing cells with multiple line breaks (created using Alt+Enter) and wrapped text.
- Observed behavior
- A cell displays five lines of text on the screen, but when printed, it only shows four lines and adds an unexpected blank row at the bottom.
Before adjusting row heights and formatting, verify your printer drivers are up to date and check the document in Print Preview, as Excel's screen rendering can sometimes differ slightly from the printer's output.
AutoFit Row Height and Remove Hidden Characters
The most common reason for cut-off text and blank rows in printouts is manual row height limits or hidden characters at the end of the text.
When you manually adjust a row's height, Excel stops automatically expanding it to fit text. If a cell contains trailing spaces or hidden line breaks, the printer might try to render them, pushing visible text out of the printing frame.
Use the LEN() function in an adjacent cell to check the character count. If it is higher than expected, you may have trailing spaces or invisible line breaks. Delete any extra spaces at the end of your text.
Select the problematic cell or row. Go to the Home tab and ensure 'Wrap Text' in the Alignment group is highlighted.
With the row selected, stay on the Home tab, click on 'Format' in the Cells group, and select 'AutoFit Row Height' from the dropdown menu. Alternatively, double-click the bottom boundary of the row header.

Adjust Page Scaling and Print Margins
Improper page scaling or margin settings can compress text during printing, causing the bottom lines of wrapped text to disappear.
Unmerge Cells and Clear Formatting
Excel's AutoFit feature often fails when applied to merged cells, leading to unpredictable print behavior for multi-line text.
Print Multi-line Cells Perfectly with WPS Spreadsheet
WPS Spreadsheet offers highly accurate WYSIWYG (What You See Is What You Get) print rendering. You can easily manage line breaks, auto-fit row heights, and preview your layout without text getting cut off or unexpected blank rows appearing on paper.
- 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your existing Excel workbook containing the multi-line cells.
- 2. Select the affected rows: Highlight the rows where the text is cutting off or creating blank lines.
- 3. AutoFit the row height: Right-click the row numbers on the left, select 'AutoFit Row Height', and ensure 'Wrap Text' is toggled on from the Home tab.
- 4. Preview and print: Click 'Print Preview' in the top toolbar to confirm all text lines display correctly, then proceed to print.

Frequently Asked Questions
Why does Excel display text differently on the screen compared to the printed page?
Excel optimizes the screen display for rendering speed using your monitor's resolution, while printing relies on the specific printer driver's resolution and font metrics. This discrepancy can cause text wrapping to shift and bottom lines to be cut off when printed.
Does the Wrap Text feature automatically adjust row height in Excel?
Yes, applying Wrap Text normally auto-fits the row. However, if you or someone else has manually adjusted the row height previously, Excel locks that custom height. You must double-click the row boundary or select AutoFit Row Height to restore automatic adjustments.
Can merged cells cause text to cut off when printing?
Yes. Excel's AutoFit Row Height functionality does not work automatically on merged cells. If a merged cell contains multiple line breaks, you usually have to manually drag the row boundary to increase the height so it prints correctly.
How do I remove invisible line breaks or trailing spaces in Excel cells?
You can use the CLEAN() function to remove non-printable characters and the TRIM() function to remove extra spaces. Creating a new column with the formula =TRIM(CLEAN(A1)) can quickly sanitize the data causing layout issues.




