How to Prevent Texts from Spilling Over to Next Cell in Excel

Row and column have its own height and width by default when launching excel and open a worksheet. If we enter a long string into a single cell without adjust cell width, the string will spill over the width and occupy part position of next cell. See screenshot below.

Prevent Texts from Spilling Over 1

This behavior is very annoying, so we need to prevent strings from spilling over to the adjacent cell. This article will provide you some simple ways to stop strings spill over. You can do operations refer to below steps.

Method 1: Prevent Texts from Spilling Over by Wrap Text

This method is the simplest way, but the row height will be adjusted after executing Wrap Text in excel. See below steps and final behavior, then you can check if this method suits for you.

See below long texts saved in A1 and A2.

Prevent Texts from Spilling Over 2

Step 1: Select A1 and A2, then click Home->Wrap Text.

Prevent Texts from Spilling Over 3

Step 2: Verify that texts are split into multiple lines in single cell A1 or A2. The height of row1 and row2 are adjusted automatically due to last operation.

Prevent Texts from Spilling Over 4

Method 2: Prevent Texts from Spilling Over by Format Cells Settings

As above method adjusts the row height improperly, so we need another better way to prevent texts spilling over the default width and keep the height doesn’t change at the same time.

Step 1: Select A1 and A2, right click to load menu, select Format Cells from menu.

Prevent Texts from Spilling Over 5

Step 2: In Format Cells window, enter Alignment tab, then select Fill in Horizontal dropdown list under Text alignment. Then click OK.

Prevent Texts from Spilling Over 6

Step 3: Verify that texts are displayed properly in its own cell and will not spill over to next cell.

Prevent Texts from Spilling Over 8


  1. This operation is only applied to selected cells. If you enter long texts in A3, the texts will still spill over to next cell again.
  2. If you want to prevent texts in a column from spilling over to adjacent columns, you can select the whole column and set Fill in horizontal dropdown list.



Related Posts

Match Single Criteria in Excel

No repeat statistic based on a single condition is used wildly in daily work, for example, count type of products, the duplicate types are not encountered. This article describes the way of no repeats statistics for data in a single ...

Excel Array Construction

This article will talk about how to create one-dimensional array or two-dimensional array by using some functions in Excel. When using array formulas in Excel, we often use functions to construct arrays. Generate Array with ROW or COLUMN Functions Array ...

Excel Array Operation

We have all heard of arrays. Depending on the dimensionality, they are divided into one-dimensional arrays and two-dimensional arrays. Depending on the data type, they can also be divided into numeric arrays, logical arrays, and so on. The concatenation and ...

Excel Array Matrix Operation

In Excel, we have a built-in function used to perform matrix operations. It is the MMULT function. This function accepts two arrays as parameters and returns the product of the two arrays. However, this function has a prerequisite that the ...

A1 Reference Style and R1C2 Reference in Excel

In Excel, there are two reference styles. A1 reference style and R1C2 reference style. These two reference styles can help us find the cell by the cell address. Some functions return these two addresses through the argument settings. A1 Reference ...