Fix Excel Justified Text Causing Broken Underlining
Question details
Underlining disappears from spaces between words when multiple wrapped lines in an Excel cell are set to justified alignment.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Applying underline formatting to multiple lines of wrapped text within a single cell that uses justified horizontal alignment.
- Observed behavior
- The underline formatting breaks and does not render on the spaces between words, resulting in discontinuous underlining across the justified text.
Verify whether the issue occurs in a completely new, blank workbook to confirm it is an inherent rendering defect rather than a corrupted cell style in your current file.
Report the Formatting Defect to Microsoft
This behavior is a known rendering defect in Excel regarding justified text spaces. Submitting feedback directly to Microsoft helps prioritize a fix in future updates.
Because this is a defect within Excel's core rendering engine, there is no permanent configuration toggle to 'fix' it directly within the justified alignment setting. Reporting it ensures the product team is aware of the widespread impact.
Open Microsoft Excel and click 'File' > 'New' > 'Blank workbook' to ensure you are starting in a clean environment.
Type a sentence into a cell, click 'Wrap Text' on the Home tab, set the alignment to 'Justify', and apply an underline (Ctrl+U) to confirm the spaces are missing the underline.
Navigate to 'File' > 'Feedback' > 'Send a Frown' (or 'Report a Problem'). Clearly describe the justified-text underlining defect, attach a screenshot if prompted, and click submit.

Workaround: Use Distributed or Left Alignment
Until Microsoft releases a patch for the justified text bug, changing the cell alignment is the most effective way to maintain continuous underlining.
Experience Flawless Formatting with WPS Spreadsheet
If Microsoft Excel's formatting defects are slowing down your workflow, switch to WPS Office. It is a free, lightweight, and highly compatible alternative that accurately renders cell styles, wrapped text, and alignment without breaking your underlines.
- 1. Download and Install: Visit the official WPS Office website to download the free suite and install it on your computer in just a few minutes.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheet and open your existing Microsoft Excel workbook. Your data and previous formatting will remain perfectly intact.
- 3. Apply Complex Formatting: Select your cells and confidently apply justified alignment alongside underlines, without worrying about annoying visual rendering defects.

Frequently Asked Questions
Why does the underline only break on spaces when text is justified?
Justified alignment dynamically adjusts the spacing between words to ensure the text stretches evenly across the cell width. Excel's rendering engine struggles to apply continuous underline formatting across these dynamically generated spaces, causing them to appear blank.
Does this issue happen with single lines of text in Excel?
Generally, no. This specific defect usually manifests only when the cell has 'Wrap Text' enabled and contains multiple lines of text that are being forced into justified alignment.
Is there another way to underline text without using the text underline tool?
Yes. Instead of highlighting the text and pressing Ctrl+U, you can apply a bottom cell border. Right-click the cell, select 'Format Cells', go to the 'Border' tab, and add a bottom line. Note that this underlines the entire cell width rather than just the text itself.




