One very useful and frequently used feature in Excel is autofit. Autofit is a feature that allows you to automatically adjust column width and row height according to the size of the content contained in it. By using autofit, you can make your table look neater and professional, without having to manually set column widths and row heights.
There are several ways to use autofit in Excel, either manually or automatically. In this article, I will explain those methods completely and in detail, and provide some tips and tricks that can help you optimize the use of autofit in Excel.
How to Use Autofit Manually
The simplest way to use autofit manually is to use a mouse. You can automatically adjust column width or row height in the following ways:
- Select the column or row for which you want to adjust the width or height.
- Hover your mouse cursor over the boundary between two selected columns or two rows.
- When the cursor changes to two arrows facing each other, double-click on the border.
Excel will automatically adjust the column width or row height according to the size of the longest or highest content contained in it.
You can also adjust the width of all columns or the height of all rows simultaneously in the following ways:
- Select all cells in the worksheet by pressing Ctrl + A or click the “Select All” button in the upper-left corner of the worksheet.
- Hover your mouse cursor over the boundary between any two columns or two rows.
- When the cursor changes to two arrows facing each other, double-click on the border.
Excel will automatically adjust the width of all columns or the height of all rows according to the size of the longest or highest content present in each column or row.
In addition to using the mouse, you can also use the ribbon menu to use autofit manually. The method is as follows:
- Select the column, row, or cell for which you want to adjust the width or height.
- Click the “Home” tab on the ribbon menu.
- In the “Cells” group, click “Format”.
- In the drop-down menu that appears, select “AutoFit Column Width” or “AutoFit Row Height” according to your needs.
Excel will automatically adjust the column width or row height according to the size of the content it contains.