Modifying Columns, Rows and Cells


By default, every row and column of a new workbook is always set to the same height and width. Excel allows you to modify column width and row height in different ways, including wrapping text and merging cells.

To modify column width

  1. Position the mouse over the column line in the column heading so the white cross becomes a double arrow 
    .  
  2. Click, hold, and drag the mouse to increase or decrease the column width.
  3. Release the mouse. The column width will be changed.

  • TIP: If you see pound signs (#######) in a cell, it means that the column is not wide enough to display the cell content. Simply increase the column width to show the cell content.

To AutoFit column width

The AutoFit feature will allow you to set a column's width to fit its content automatically.
  1. Position the mouse over the column line in the column heading so the white cross becomes a double arrow
    .
    .
  2. Double-click the mouse. The column width will be changed automatically to fit the content.

  • TIP: You can also AutoFit the width for several columns at the same time. Simply select the columns you would like to AutoFit, then select the AutoFit Column Width command from the Format drop-down menu on the Home This method can also be used for Row height

To modify row height

  1. Position the cursor over the row line so the white cross becomes a double arrow .
  2. Click, hold, and drag the mouse to increase or decrease the row height.
  3. Release the mouse. The height of the selected row will be changed.

To modify all rows or columns

Rather than resizing rows and columns individually, you can modify the height and width of every row and column at the same time. This method allows you to set a uniform size for every row and column in your worksheet.
  1. Locate and click the Select All button just below the formula bar to select every cell in the worksheet. 
  2. Position the mouse over a row line so the white cross becomes a double arrow .
  3. Click, hold, and drag the mouse to increase or decrease the row height.
  4. Release the mouse when you are satisfied with the new row height for the worksheet.
5.1. Inserting, deleting, moving, and hiding rows and columns

After you've been working with a workbook for a while, you may 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.

To insert rows
  1. Select the row heading below where you want the new row to appear.
  2. Click the Insert command on the Home tab. 
  3. The new row will appear above the selected row.

  • TIP: When inserting new rows, columns, or cells, you will see the Insert Options button next to the inserted cells. This button allows you to choose how Excel formats these cells. By default, Excel formats inserted rows with the same formatting as the cells in the row above. To access more options, hover your mouse over the Insert Options button, then click the drop-down arrow.  


To insert columns

  1. Select the column heading to the right of where you want the new column to appear.
  2. Click the Insert command on the Home tab.  
  3. The new column will appear to the left of the selected column.

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

To delete rows

It's easy to delete any row that you no longer need in your workbook.
  1. Select the row(s) you want to delete.
  2. Click the Delete command on the Home tab.  
  3. The selected row(s) will be deleted, and the rows below will shift up.

To delete columns

  1. Select the columns(s) you want to delete.
  2. Click the Delete command on the Home tab.  
  3. The selected columns(s) will be deleted, and the columns to the right will shift left.

  • TIP: It's important to understand the difference between deleting a row or column and simply clearing its contents. If you want to remove the content of a row or column without causing others to shift, right-click a heading, then select Clear Contents from the drop-down menu.  

To move a row or column

Sometimes you may want to move a column or row to rearrange the content of your worksheet.
  1. Select the desired column heading for the column you wish to move, then click the Cut command on the Home tab or press Ctrl+X on your keyboard.
  2. Select the column heading to the right of where you want to move the column. For example, if you want to move a column between columns B and C, select column C.
  3. Click the Insert command on the Home tab, then select Insert Cut Cells from the drop-down menu. 
  4. The column will be moved to the selected location, and the columns to the right will shift right.

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

To hide and unhide a row or column

At times, you may want to compare certain rows or columns without changing the organization of your worksheet. Excel allows you to hide rows and columns as needed.
  1. Select the column(s) you wish to hide, right-click the mouse, then select Hide from the formatting menu. 
  2. The columns will be hidden. The green column line indicates the location of the hidden columns. 
  3. To unhide the columns, select the columns to the left and right of the hidden columns (in other words, the columns on both sides of the hidden columns).
  4. Right-click the mouse, then select Unhide from the formatting The hidden columns will reappear.

5.2. Wrapping text and merging cells

Whenever you have too much cell content to be displayed in a single cell, you may decide to wrap the text or merge the cell rather than resizing a column. Wrapping the text will automatically modify a cell's row height, allowing cell contents to be displayed on multiple lines. Merging allows you to combine a cell with adjacent, empty cells to create one large cell.
  1. Select the cells you wish to wrap.
  2. Select the Wrap Text command on the Home tab. 
  3. The text in the selected cells will be wrapped.

  • TIP: Click the Wrap Text command again to unwrap the text.
To merge cells using the Merge & Center command
  1. Select the cell range you want to merge together.
  2. Select the Merge & Center command on the Home
  3. The selected cells will be merged, and the text will be cantered.

To access more merge options

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 to:
  • Merge & Center: Merges the selected cells into one cell and centers the text
  • Merge Across: Merges the selected cells into larger cells while keeping each row separate
  • Merge Cells: Merges the selected cells into one cell, but does not center the text
  • Unmerge Cells: Unmerges selected cells.  

Challenge!
  1. Open an existing Excel 2013 workbook.
  2. Modify the width of a column.
  3. Insert a column between column A and column B, then insert a row between row 3 and row 4.
  4. Delete a column or a row.
  5. Move a column or row.
  6. Try using the Text Wrap command on a cell range.
  7. Try merging some cells together.