Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Resize, Insert, Move, Hide, and Merge Cells in Excel

Manage Excel rows, columns, and cells with AutoFit, insert and delete controls, hiding, text wrapping, merging, and the safer Center Across Selection option.

Table of Contents

Excel lets you resize, insert, delete, move, hide, and format rows, columns, and cells without rebuilding a worksheet. Use AutoFit or Wrap Text when content is clipped, and be cautious with deletion and merged cells because those actions can affect formulas, sorting, copying, and data.

ProblemUseful command
Column is too narrowAutoFit Column Width
Long text should stay in one cellWrap Text
Temporarily remove rows or columns from viewHide
Center a title without merging cellsCenter Across Selection

How to modify column width

In the example below, column C is too narrow to display all the content in these cells. It's possible to display all of this content by changing the width of column C.

1. Place the pointer over the right boundary of the column header so that the cursor changes to a double arrow.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 1

2. Click and drag the mouse to increase or decrease the column width.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 2

3. Release the mouse button. The column width will change.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 3

With numerical data, the cell will display a hash symbol (#######) if the column is too narrow. Simply increase the column width to display the data.

AutoFit feature

AutoFit adjusts a column or row to fit the longest visible entry. It is faster than guessing a width, but you may still prefer Wrap Text when one unusually long value would make the column excessively wide.

1. Place the pointer over the right boundary of the column header so that the cursor changes to a double arrow.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 4

2. Double-click. The column width will automatically adjust to fit the content.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 5

You can also apply AutoFit to the width of several columns at once. Simply select the columns you want to apply AutoFit to, then select the AutoFit Column Width command from the Format drop-down menu on the Home tab. This method can also be used for row height.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 6

How to modify row height

1. Place the cursor on the line so that the cursor becomes a double arrow.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 7

2. Click and drag the mouse to increase or decrease the height of the row.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 8

3. Release the mouse button. The height of the selected row will be changed.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 9

How to modify all rows or columns

Instead of resizing individual rows and columns, you can modify the height and width of every row and column at once. This method allows you to set a uniform size for all rows and columns in your spreadsheet. The example will set a uniform row height.

1. Locate and click the Select All button just below the name box to select all cells in the worksheet.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 10

2. Place your mouse cursor over a line so that the cursor becomes a double arrow.

3. Click and drag the mouse to increase or decrease the row height, then release the mouse when you are satisfied. The row height will be changed for the entire worksheet.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 11

Insert, delete, move, and hide rows or columns

After working with workbooks for a while, you might find that you want to insert new columns or rows, delete certain rows or columns, move them to a different location in the worksheet, or even hide them.

How to insert rows

1. Select the row header below where you want the new row to appear. For example, if you want to insert a row between rows 4 and 5, then row 5 will be selected.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 12

2. Click the Insert command on the Home tab.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 13

3. A new row will appear above the selected row.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 14

When inserting new rows, columns, or cells, you'll see a paintbrush icon next to the inserted cells. This button lets you choose how Excel formats these cells. By default, Excel formats inserted rows to have the same formatting as the cells in the row above. To access additional options, hover over the icon, then click the drop-down arrow.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 15

How to insert columns

1. Select the column header to the right of where you want the new column to appear. For example, if you want to insert a column between columns D and E, select column E.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 16

2. Click the Insert command on the Home tab.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 17

3. A new column will appear to the left of the selected column.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 18

When inserting rows and columns, make sure to select the entire row or column by clicking on the header. If you only select a cell in the row or column, the Insert command will only insert a new cell.

How to delete a row or column

Deleting an entire row removes its cells and shifts the rows below upward; deleting a column removes its cells and shifts the columns to the right leftward. Check formulas, named ranges, charts, and tables that may depend on the selected row or column before deleting it.

1. Select the row you want to delete. For example, we would select row 9.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 19

2. Click the Delete command on the Home tab.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 20

3. The selected row will be deleted and the surrounding rows will change. In the example, row 10 has been moved up, so it is now row 9.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 21

Deleting a row or column changes the worksheet structure. To keep the row or column in place while removing only its values and formulas, select the cells and use Clear Contents or press Delete. Formatting may remain unless you choose a broader Clear option.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 22

How to move a row or column

Sometimes you might want to move a column or row to rearrange the contents of your spreadsheet. For example, this would move a column, but you can move a row in a similar way.

1. Select a header for the column you want to move.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 23

2. Click the Cut command on the Home tab or press Ctrl + X on your keyboard.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 24

3. Select the column header to the right of where you want to move the column. For example, if you want to move a column between columns E and F, select column F.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 25

4. Click the Insert command on the Home tab, then select Insert Cut Cells from the drop-down menu.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 26

5. The column will be moved to the selected position, and the surrounding columns will shift.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 27

You can also access the Cut and Insert commands by right-clicking and selecting the desired commands from the drop-down menu.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 28

How to hide/show a row or column

Sometimes, you might want to compare certain rows or columns without changing the spreadsheet's organization. To do this, Excel allows you to hide rows and columns as needed. The example will hide a few columns, but you can hide rows in a similar way.

1. Select the columns you want to hide, right-click, and then select Hide from the Format menu. For example, this will hide columns C, D, and E.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 29

2. The columns will be hidden. A gap in the column letters and a double boundary line indicate where columns are hidden.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 30

3. To show the columns, select the columns on both sides of the hidden column. For example, we would select columns B and F. Then, right-click and select Unhide from the formatting menu.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 31

4. The hidden columns will reappear.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 32

Wrap text and merge cells

Wrap Text displays a long value on multiple lines within the same cell and can increase the row height automatically. Merging combines adjacent cells into one larger cell. Prefer wrapping for ordinary data, and reserve merging for limited presentation uses such as a standalone title.

How to apply Text Wrap in cells

1. Select the cells you want. For example, we will select the cells in column C.

2. Click the Wrap Text command on the Home tab.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 33

3. The text will wrap onto multiple lines within each selected cell.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 34

Click the Wrap Text command again to return the text to its original state.

How to merge cells using the Merge & Center command.

1. Select the range of cells you want to merge. For example, we would select A1:F1.

2. Click on the Merge & Center command on the Home tab.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 35

3. The selected cells will be merged and the text will be centered.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 36

How to access additional merge options

If you click the drop-down arrow next to the Merge & Center command on the Home tab, the Merge drop-down menu will appear.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 37

From here, you can choose:

  • Merge & Center : This action merges the selected cells into one and centers the text.
  • Merge Across : This option merges the selected cells into larger cells while keeping each row separate.
  • Merge Cells : This option merges the selected cells into one, but does not center the text.
  • Unmerge Cells : This operation cancels the merging of the selected cells.

Check every selected cell before merging. If more than one selected cell contains data, Excel keeps the upper-left value and warns that the other values will be discarded. Merged cells can also complicate sorting, filtering, copying, and accessibility.

Center Across Selection feature

Merging cells can be helpful for organizing your data, but it can also create problems later on. For example, it can be difficult to move, copy, and paste content from merged cells. A good alternative to merging is the Center Across Selection feature, which creates a similar effect without actually merging cells.

How to use Center Across Selection

1. Select the desired range of cells. For example, we would select A1:F1. Note: If you have merged these cells, you should unmerge them before proceeding to step 2.

2. Click the small arrow in the lower right corner of the Alignment group on the Home tab.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 38

3. A dialog box will appear. Locate and select the Horizontal drop-down menu, choose Center Across Selection, and then click OK.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 39

4. The content will appear centered across the selected range while the individual cells remain separate. This produces a title effect without the structural problems caused by merged cells.

Worksheet structure checklist

  • Check formulas before inserting, deleting, or moving full rows and columns.
  • Use AutoFit for ordinary width problems and Wrap Text for long descriptions.
  • Remember that hidden data still exists and can still affect formulas.
  • Prefer Center Across Selection when you only need a centered heading.

For more presentation help, see how to format data in Excel and how to fit an Excel worksheet on an A4 page.

Excel 2019 (Part 5): Modifying Columns, Rows, and Cells Picture 40

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.