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.
| Problem | Useful command |
|---|---|
| Column is too narrow | AutoFit Column Width |
| Long text should stay in one cell | Wrap Text |
| Temporarily remove rows or columns from view | Hide |
| Center a title without merging cells | Center 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.
2. Click and drag the mouse to increase or decrease the column width.
3. Release the mouse button. The column width will change.
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.
2. Double-click. The column width will automatically adjust to fit the content.
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.
How to modify row height
1. Place the cursor on the line so that the cursor becomes a double arrow.
2. Click and drag the mouse to increase or decrease the height of the row.
3. Release the mouse button. The height of the selected row will be changed.
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.
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.
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.
2. Click the Insert command on the Home tab.
3. A new row will appear above the selected row.
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.
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.
2. Click the Insert command on the Home tab.
3. A new column will appear to the left of the selected column.
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.
2. Click the Delete command on the Home tab.
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.
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.
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.
2. Click the Cut command on the Home tab or press Ctrl + X on your keyboard.
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.
4. Click the Insert command on the Home tab, then select Insert Cut Cells from the drop-down menu.
5. The column will be moved to the selected position, and the surrounding columns will shift.
You can also access the Cut and Insert commands by right-clicking and selecting the desired commands from the drop-down menu.
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.
2. The columns will be hidden. A gap in the column letters and a double boundary line indicate where columns are hidden.
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.
4. The hidden columns will reappear.
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.
3. The text will wrap onto multiple lines within each selected cell.
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.
3. The selected cells will be merged and the text will be centered.
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.
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.
3. A dialog box will appear. Locate and select the Horizontal drop-down menu, choose Center Across Selection, and then click OK.
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.
Reader Comments 0
Sign in with email or Google to join the discussion.