How to Fix Right-Aligned Excel Text Spilling Into the Next Cell
Question details
The user is experiencing an issue where right-aligned numbers or text visually overflow into an adjacent cell, despite the column seemingly being wide enough and text wrapping being disabled.

- Product
- Microsoft 365 Excel
- Device & OS
- not provided
- Scenario
- Formatting numbers or text with right-alignment in a Microsoft 365 spreadsheet.
- Observed behavior
- A number in the far-right of a cell spills over into the adjacent cell visually, even though there appears to be sufficient space within the original cell.
Before proceeding with advanced troubleshooting, try double-clicking the boundary of the column header to AutoFit the column width, as this often resolves minor visual rendering glitches instantly.
Check and Adjust Cell Indentation Settings
Excessive right indentations or custom alignments can sometimes push text outside the normal cell boundaries visually.
Even when text is right-aligned, a high indentation value or a specific custom number format might force the text to render outside the cell's standard padding zone.
Click on the cell or highlight the entire column where the text is spilling over.
Right-click the selection and choose 'Format Cells', or press 'Ctrl + 1' on your keyboard.
Navigate to the 'Alignment' tab. Under the Horizontal alignment dropdown, ensure it is set to 'Right (Indent)' and check that the 'Indent' value is set to 0.
Click 'OK' to save the settings and see if the text now aligns properly within the cell boundaries.

Clear All Formatting and Reapply
Invisible formatting rules applied from copying and pasting data can cause erratic text rendering in Microsoft 365.
Create a Sanitized Copy for Community Troubleshooting
If the issue is a specific Microsoft 365 version bug, sharing a simplified, anonymized version of your workbook with support forums can help identify the root cause.
Easily Manage Cell Formatting and Alignment in WPS Spreadsheet
If you are experiencing frustrating formatting glitches or unpredictable text overflow in your current software, WPS Spreadsheet offers precise control over cell alignment, indentation, and text wrapping. Here is how easily you can format cells using WPS Office.
- 1. Open Your Spreadsheet in WPS Office: Launch WPS Office and open your .xlsx file to begin editing.
- 2. Access Formatting Options: Select the cells containing the spilling text, right-click, and choose 'Format Cells' from the menu.
- 3. Adjust Alignment: Navigate to the 'Alignment' tab. Set the Horizontal alignment to 'Right' and verify that the 'Indent' field is set to 0.
- 4. Apply and Review: Click 'OK'. WPS Spreadsheet will cleanly snap your text to the right border of the cell without overflowing into adjacent columns.

Frequently Asked Questions
Why does my text spill into the next cell even if there appears to be enough space?
This can happen due to custom cell padding, excessive indentation settings, or slight font rendering differences between your screen and the application. It can also occur if the adjacent cell is completely empty, prompting the software to visually extend the text.
How can I block text from overflowing into adjacent blank cells?
The simplest workaround is to type a single space character in the adjacent blank cell. The application will detect content in that cell and immediately truncate the visual overflow of the neighboring cell.
Does enabling 'Wrap Text' fix cell spilling issues?
Yes. When you enable 'Wrap Text' in the Home tab, the application is forced to contain the text within the exact boundaries of the column width by expanding the row height, preventing any visual spillover.




