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

Notes:

  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

Calculate Years Between Dates In Ms Excel

If you are an avid Ms Excel user, then you might have come across a task in which you needed to calculate the years between the dates; you might take it easy and do this task manually, which is also ...

Calculate Number of Hours between Two Times

Calculating the difference between two times might be a valuable statistic for subsequent computations or averages, whether you're producing a time sheet for staff or recording personal exercises. While Excel has a plethora of complex functions, including date and time ...

Calculate Loan Interest in Given Year

When you borrow money, you are supposed to repay it gradually. Lenders, on the other hand, want to be compensated for their services and the risk they incur by lending you money. That is, you will not just repay the ...

Calculate Interest Rate for Loan

The interest rate is the fee charged by a lender to a borrower and is expressed as a percentage of the principal—the lent amount. The interest rate on a loan is often expressed as an annual percentage rate, abbreviated as ...

Calculate Interest for Given Period

Using the IPMT function in Excel, we can compute the interest payment on any loan. This step-by-step tutorial will guide Excel users of all skill levels through the process to calculate interest for given period. Finally, the formula: =IPMT(B3/12,1,B5,-B2) The ...

How To Use Excel GCD Function

This post will guide you how to use Excel GCD function with syntax and examples in Microsoft excel. Description The Excel GCD function Returns the greatest common divisor of two or more integers. So you can use the GCD function ...

Calculate A Ratio From Two Numbers In Excel

In elementary mathematics, a ratio is a connection or comparison between two or more integers. For example, ratios are often expressed as ":" to demonstrate the relationship between two numbers. You would think that manually calculating a ratio from two ...

How To Use Excel RRI Function

This post will guide you how to use Excel RRI function with syntax and examples in Microsoft excel. Description The Excel RRI function Returns an equivalent interest rate for the growth of an investment. So you can use the RRI ...

CAGR Formula Examples in Excel

CAGR in Excel is a formula that calculates the compound annual growth rate for any invested amount over the specified years or timeframe. Although there is no direct function in Excel that can help us identify the CAGR value, there ...

Build Hyperlink With VLOOKUP in Excel

You might have come across a task in which you were assigned to build hyperlinks, which seems very easy, and if you are new to excel or don't have enough experience with it, then you might wonder about doing this ...

Sidebar