There are several ways to change cell size. Find out how they work to decide which one best suits your needs.

How to Autofit in Excel

Format one or more columns to automatically resize to fit the data entered. Once formatted, columns and cells will automatically expand to accommodate the longest string of data entered.

Select the column or columns that you want to autofit. Select the letter at the top of the column to select that column. Alternatively, to select the entire worksheet choose Select All, which is the grey rectangle with a small triangle in it between A and 1 in an Excel worksheet. Select Format in the Cells group on the Home tab. Select AutoFit Column Width under Cell Size.

How to Change the Row Height to Autofit the Contents

If you have wrapped data, a very large font, or an object in one or more cells, format the rows to automatically change height in order to autofit the cell contents.

Select the row or rows that you want to autofit. Select the letter at the top of the column to select that column. Alternatively, select the entire worksheet using the Select All button, which is the grey rectangle with a small triangle in it between A and 1 in an Excel worksheet. Select Format in the Cells group on the Home tab. Select AutoFit Row Height under Cell Size.

How to Match the Width of Another Column

If you want one column to precisely match the size of another existing column, you can copy and paste the width.

Select a cell in the column that has the width that you want to use. Select Copy in the Clipboard group of the Home tab or right-click the selected column and choose Copy. Select the target column. Select the arrow below Paste in the Clipboard group on the Home tab. Select Paste Special. The Paste Special dialog box will open. Select Column Widths in the Paste section. Select OK to apply the column size and close the Paste Special dialog box.

How to Resize Columns or Rows Using the Mouse

Although it is not a way to autofit in Excel, you can drag a column or row to a more appropriate size for your needs. If autofit isn’t enabled, when you drag the size of a column or row, it will then remain stationery; if the data extends beyond the expanded size, it will automatically be hidden behind the next cell.

You can also use this method to change the default cell size in a worksheet. Select the column or rows you want to change, then drag the boundary to change the column width or the row height.