Modifying Columns, Rows, and Cells: To Modify Column Width
Modifying Columns, Rows, and Cells: To Modify Column Width
Modifying Columns, Rows, and Cells: To Modify Column Width
Introduction
By default, every row and column of a new workbook is set to the
same height andwidth. Excel allows you to modify column width and
row height in different ways, including wrapping text and merging
cells.
2. Click 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:
Instead of 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. In our
example, we will set a uniform row height.
1. Locate and click the Select All button just below the name box to
select every cell in the worksheet.
2. Position the mouse over a row line so 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.
Inserting, deleting, moving, and
hiding
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. In this example, we want to insert a row between rows 4
and 5, so we'll select row 5.
3. The new column will appear to the left of the selected column.
When inserting rows and columns, make sure you select
the entire row or column by clicking the heading. If you
select only a cell in the row or column, the Insertcommand
will only insert a new cell.
1. Select the row you want to delete. In our example, we'll select row
9.
2. Click the Delete command on the Home tab.
3. The selected row will be deleted, and those around it will shift. In
our example, row 10 has moved up, so it's now row 9.
1. Select the desired column heading 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 heading 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.
1. Select the columns you want to hide, right-click the mouse, then
select Hidefrom the formatting menu. In our example, we'll hide
columns C, D, and E.
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 on both sides of the
hidden columns. In our example, we'll select columns B and F.
Then right-click the mouse and select Unhide from
the formatting menu.
3. A dialog box will appear. Locate and select the Horizontal drop-
down menu, select Center Across Selection, then click OK.
4. The content will be centered across the selected cell range. As you
can see, this creates the same visual result as merging and
centering, but it preserves each cell within A1:F1.
Challenge!
1. Open our practice workbook.
2. Autofit Column Width for the entire workbook.
3. Modify the row height for rows 3 to 14 to 22.5 (30 pixels).
4. Delete row 10.
5. Insert a column to the left of column C. Type SECONDARY
CONTACT in cell C2.
6. Make sure cell C2 is still selected and choose Wrap Text.
7. Merge and Center cells A1:F1.
8. Hide the Billing Address and Phone columns.
9. When you're finished, your workbook should look something like
this: