How do you change the width of a column so that the widest entry will fit?

You can change row heights and column widths in Excel. By default, column widths and row heights are set to predefined measurements. If the data in a worksheet is larger than the column width or row height allows, Excel will alert you depending on the data type. If text is longer than the column width, Excel truncates the text if the cell to the immediate right contains data. Otherwise, the text continues to be displayed. If a numeric entry is longer than the current column width, Excel displays a series of number signs (########) in the cell. Row heights are set to adjust automatically when you change the size of your data.

Change the column width in Excel using specific measurements

Follow these steps show to change the width of a column in Excel:

  1. Click in cell L25.
  2. From the Cells group on the Home tab, choose Format.
  3. Select Column Width from the resulting menu to display the Column Width dialog box.
    How do you change the width of a column so that the widest entry will fit?

    Change the width of a column by typing an amount in the Column Width dialog box.
  4. Type 12 In the Column Width text box, and then click OK.

Changing the column width in excel visually

You can also change the width of columns in Excel using a mouse or trackpad if desired by following these steps:

  1. Click the border separating columns A and B.
  2. Click and drag the mouse to the right.
  3. Release when column A displays the label Contact Number in its entirety.
    How do you change the width of a column so that the widest entry will fit?

    Change the width of a column by clicking and dragging the column border.

Changing the column width in Excel automatically

You can quickly adjust the column width to accommodate the longest entry.

  1. Select any column from the worksheet.
  2. From the Cells group on the Home tab, choose Format.
  3. Select AutoFit Column Width to set that column to auto-fit the width depending on the contents.

How do you change the width of a column so that the widest entry will fit?

You can also double-click the border between the column headings to adjust the column width to the widest entry.

Changing the row height in excel

The next set of steps show an example of how to change the height of a row in Excel:

  1. Click the border separating rows 5 and 6.
  2. Click and drag the mouse down.
  3. Release when the row is the height you desire.

How do you change the width of a column so that the widest entry will fit?

Excel automatically adjusts the height of a row when you change the size of the data within the row.

Changing the row height automatically in Excel

You can quickly adjust the row height to accommodate the tallest entry automatically by following these steps:

  1. Select row 5 from the worksheet.
  2. Choose Format from the Cells group of the Home tab.
  3. Select AutoFit Row Height.

How do you change the width of a column so that the widest entry will fit?

Double-click the border between the row headings to automatically adjust the height of a row.

Take a class from the authors of this tutorial

See available Excel Classes and learn from the expert instructors at American Graphics Institute. In-person classes at our locations, online courses, or private training is available.

See Courses

Tutorials Category: Excel Tutorials

These tutorials are created by Jennifer Smith and the team of expert instructors at American Graphics Institute.

By default, every row and column of a new workbook is 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.

Optional: Download our practice workbook.

Watch the video below to learn more about modifying columns, rows, and cells.

To modify column width:

In our example below, column C is too narrow to display all of the content in these cells. We can make all of this content visible by changing the width of column C.

  1. Position the mouse over the column line in the column heading so the cursor becomes a double arrow.
    How do you change the width of a column so that the widest entry will fit?
  2. Click and drag the mouse to increase or decrease the column width.
    How do you change the width of a column so that the widest entry will fit?
  3. Release the mouse. The column width will be changed.
    How do you change the width of a column so that the widest entry will fit?

With numerical data, the cell will display pound signs (#######) if the column is too narrow. Simply increase the column width to make the data visible.

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 cursor becomes a double arrow.
    How do you change the width of a column so that the widest entry will fit?
  2. Double-click the mouse. The column width will be changed automatically to fit the content.
    How do you change the width of a column so that the widest entry will fit?

You can also AutoFit the width for several columns at the same time. Simply select the columns you want to AutoFit, 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 do you change the width of a column so that the widest entry will fit?

To modify row height:

  1. Position the cursor over the row line so the cursor becomes a double arrow.
    How do you change the width of a column so that the widest entry will fit?
  2. Click and drag the mouse to increase or decrease the row height.
    How do you change the width of a column so that the widest entry will fit?
  3. Release the mouse. The height of the selected row will be changed.
    How do you change the width of a column so that the widest entry will fit?

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.
    How do you change the width of a column so that the widest entry will fit?
  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.
    How do you change the width of a column so that the widest entry will fit?

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.
    How do you change the width of a column so that the widest entry will fit?
  2. Click the Insert command on the Home tab.
    How do you change the width of a column so that the widest entry will fit?
  3. The new row will appear above the selected row.
    How do you change the width of a column so that the widest entry will fit?

When inserting new rows, columns, or cells, you will see a paintbrush icon 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 icon, then click the drop-down arrow.

How do you change the width of a column so that the widest entry will fit?

To insert columns:

  1. Select the column heading 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.
    How do you change the width of a column so that the widest entry will fit?
  2. Click the Insert command on the Home tab.
    How do you change the width of a column so that the widest entry will fit?
  3. The new column will appear to the left of the selected column.
    How do you change the width of a column so that the widest entry will fit?

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 Insert command will only insert a new cell.

To delete a row or column:

It's easy to delete a row or column that you no longer need. In our example we'll delete a row, but you can delete a column the same way.

  1. Select the row you want to delete. In our example, we'll select row 9.
    How do you change the width of a column so that the widest entry will fit?
  2. Click the Delete command on the Home tab.
    How do you change the width of a column so that the widest entry will fit?
  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.
    How do you change the width of a column so that the widest entry will fit?

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 from a row or column without causing others to shift, right-click a heading, then select Clear Contents from the drop-down menu.

How do you change the width of a column so that the widest entry will fit?

To move a row or column:

Sometimes you may want to move a column or row to rearrange the content of your worksheet. In our example we'll move a column, but you can move a row in the same way.

  1. Select the desired column heading for the column you want to move.
    How do you change the width of a column so that the widest entry will fit?
  2. Click the Cut command on the Home tab, or press Ctrl+X on your keyboard.
    How do you change the width of a column so that the widest entry will fit?
  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.
    How do you change the width of a column so that the widest entry will fit?
  4. Click the Insert command on the Home tab, then select Insert Cut Cells from the drop-down menu.
    How do you change the width of a column so that the widest entry will fit?
  5. The column will be moved to the selected location, and the columns around it will shift.
    How do you change the width of a column so that the widest entry will fit?

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

How do you change the width of a column so that the widest entry will fit?

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. To do this, Excel allows you to hide rows and columns as needed. In our example we'll hide a few columns, but you can hide rows in the same way.

  1. Select the columns you want to hide, right-click the mouse, then select Hide from the formatting menu. In our example, we'll hide columns C, D, and E.
    How do you change the width of a column so that the widest entry will fit?
  2. The columns will be hidden. The green column line indicates the location of the hidden columns.
    How do you change the width of a column so that the widest entry will fit?
  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.
    How do you change the width of a column so that the widest entry will fit?
  4. The hidden columns will reappear.
    How do you change the width of a column so that the widest entry will fit?

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 resize 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.

To wrap text in cells:

  1. Select the cells you want to wrap. In this example, we'll select the cells in column C.
  2. Click the Wrap Text command on the Home tab.
    How do you change the width of a column so that the widest entry will fit?
  3. The text in the selected cells will be wrapped.
    How do you change the width of a column so that the widest entry will fit?

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. In our example, we'll select A1:F1.
  2. Click the Merge & Center command on the Home tab. In our example, we'll select the cell range A1:F1.
    How do you change the width of a column so that the widest entry will fit?
  3. The selected cells will be merged, and the text will be centered.
    How do you change the width of a column so that the widest entry will fit?

To access more 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.

How do you change the width of a column so that the widest entry will fit?

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

You'll want to be careful when using this feature. If you merge multiple cells that all contain data, Excel will keep only the contents of the upper-left cell and discard everything else.

To center across selection:

Merging can be useful 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 Center Across Selection, which creates a similar effect without actually combining cells.

What is the quick way to make a column as wide as it needs to be?

The easiest way to auto fit in Excel is by double-clicking the column or row border: To autofit one column, position the mouse pointer over the right border of the column heading until the double-headed arrow appears, and then double click the border.

What are some methods for changing column width?

Tip: A quick way to make the column width fit the size of the text is to double-click the boundary between column headers. To increase the width of multiple consecutive columns, select the columns you want to change. Click the header boundary of any selected column and drag to the right, like in the picture below.