As you must have noticed, when you type a long Item Name (Text) or Number in to an Excel cell; only the part that fits the column width remains visible and the remaining part becomes hidden. While you can deal with this issue by manually dragging the column border to make the cell wider, you can also make use of the AutoFit Column Width feature as available in Microsoft Excel.
When the AutoFit Column Width Format is applied to any column or group of columns in an Excel Spreadsheet, it results in the column widths automatically adjusting or changing to match the width of the data or content that is being entered in to the cells. Similarly, you can make use of the AutoFit Row Height feature to automatically adjust the height of the cells to match the size of the content in the cells.
Related: How to Freeze Rows and Columns in Excel.
AutoFit Column Width and Row Height in Excel
Before going ahead with the steps to AutoFit Column width and Row height in Excel, you need to be aware of the following limitations of this feature.
- The default size of an Excel Column is 8.43 characters and it cannot be wider than 255 characters.
- The default size of an Excel Row is 15 (1/5th of an inch) and it cannot be higher than 409 points or 4.68 inches.
- Setting Column Width or Row Height to Zero makes them hidden.
Note: Font Size, italics, bolding and special characters can reduce the number of characters that an Excel column can hold.
1. AutoFit Column Width in Excel
You can follow the steps below to AutoFit Columns in Microsoft Excel.
1. Open the Microsoft Excel Worksheet in which you want to AutoFit Column Width.
2. Type something longer than 8 characters into Column A and you will see the input spilling over into the adjacent columns.

3. Now, select Column A > click on the Home tab in the top-menu bar and locate the Format option in “Cells” section of the menu.

4. Next, click on Format and select AutoFit Column Width option in the drop-down menu.

Once you click on AutoFit Column width, you will see Column A automatically adjusting its width to accommodate the size of the input Data.

In addition to AutoFit Column width option, the Format Drop-down menu also provides “Column Width” and “Default Width” options.
- Column Width: Selecting this option allows you to manually change the width of a column by typing its required size.
- Default Width: Selecting this option changes the default width of columns for the entire worksheet.
- AutoFit Column Width: Selecting this option automatically changes the size of column to match the length of the contents of the cell in the column that takes up the most space.
2. Quick Way to AutoFit Column Width in Excel
Instead of going through various menus, you can AutoFit any column in an Excel spreadsheet by selecting the column and double-clicking on the boundary of the selected column.
Simply, select the Column that you want to AutoFit and double-click on the right side boundary of the selected column.

You will immediately see the Column automatically adjusting its width to match the size of Data being input.
At any time, you can reset all the Column widths back to their default width (8.43) by selecting Format > Default Width and typing 8.43.
3. AutoFit Row Height in Excel
As mentioned above, Microsoft Excel also provides the option to automatically adjusts Row Heights to match the height of the data being input.
1. Open the Microsoft Excel Worksheet in which you want to AutoFit Row Heights.
2. Select the Row containing the oversized text > Go to Home > Format and select AutoFit Row Height option.

This will make Microsoft Excel to automatically change the Row height to match the height of the Data being input or pasted.