by Svetlana Cheusheva, updated on
In this short tutorial, you will learn a few efficient ways to change the column width manually and have it adjusted automatically to fit the contents (AutoFit).
Changing the width of a column in Excel is one of the most common tasks that you perform daily when designing your reports, summary tables or dashboards, and even when using worksheets only to store or calculate data.
Microsoft Excel provides a variety of ways to manipulate the column width - you can resize columns using the mouse, set the width to a specific number or have it adjusted automatically to accommodate the data. Further on in this tutorial, you will find the detailed information about all these methods.
On an Excel spreadsheet, you can set a column width of 0 to 255, with one unit equal to the width of one character that can be displayed in a cell formatted with the standard font. On a new worksheet, the default width of all columns is 8.43 characters, which corresponds to 64 pixels. If a column's width is set to zero (0), the column is hidden.
To view the current width of a column, click on the right boundary of the column header, and Excel will display the width for you:
Also, you can get the width of a column by using a CELL formula with "width" as the first argument. For example, to return the width of column A, the formula is:
=CELL("width", A1)
Columns in Excel do not resize automatically as you input data in them. If the value in a certain cell is too large to fit in the column, it extends over the column's border and overlaps the next cell. If the column to the right contains data, then a text string is cut off at the cell border and a numerical value (number or date) is replaced with a sequence of hash symbols (######) like shown in the screenshot below:
If you want the information in all cells to be readable, you can either wrap text or adjust column width.
I believe everyone knows the most common way to make a column wider or narrower by dragging the border of the column header to the right or to the left. What you might not know is that using this method you can adjust the width of several columns or all columns on the sheet at a time. Here's how:
As explained at the beginning of this tutorial, the Excel column width value represents the number of characters that can be accommodated in a cell formatted with the standard font. To resize columns numerically, i.e. specify an average number of characters to be displayed in a cell, do the following:
Tip. You can get to the same dialog by right-clicking the selected column(s) and choosing Column Width… from the context menu.
In your Excel worksheets, you can also auto fit columns so that they get wider or narrower to fit the largest value in the column.
Another way to autofit columns in Excel is by using the ribbon: select one or more columns, go to the Home tab > Cells group, and click Format > AutoFit Column Width.
When preparing a worksheet for printing, you may want to fix the column width in inches, centimeters or millimeters.
To have it done, switch to the Page Layout view by going to the View tab > Workbook Views group and clicking the Page Layout button:
Select one, several or all columns on the sheet, and drag the right boundary of any of the selected column headings until you set the required width. As you drag the boundary, Excel will display the column width in inches like shown in the screenshot below:
With the width fixed, you can exit the Page Layout view by clicking the Normal button on the View tab, in the Workbook Views group.
Tip. In the English localization of Excel, inches is the default ruler unit. To change the measurement unit to centimeters or millimeters, click File > Options > Advanced, scroll down to the Display section, select the desired unit from the Ruler Units drop-down list, and click OK to save the change.
You already know how to make several or all columns on the sheet the same width by dragging the column border. If you have already resized one column the way you want, then you can simply copy that width to other columns. To have it done, please follow the steps outlined below.
Alternatively, you can select some cells in the target columns, press the Paste Special shortcut Ctrl + Alt + V, and then press W.
The same technique can be used when you create a new sheet and want to make its column widths the same as those in an existing worksheet.
To change the default width for all columns on a worksheet or the entire workbook, just do the following:
Tip. If you would like to change the default column width for all new Excel files that you create, save an empty workbook with your custom column width as an Excel template, and then create new workbooks based on that template.
As you see, there exist a handful of different ways to change column width in Excel. Which one to use depends on your preferred work style and situation. I thank you for reading and hope to see you on our blog next week!
Table of contents