Excel Column Auto Width

Last Updated :

-

Edited by :

Reviewed by :

Table Of Contents

arrow

What Is The Autofit Column Width?

Excel column auto width option helps users adjust the width of the column depending on the size of the text string. The default column width in Excel is 8.43 characters, which is 64 pixels. When the text string is shorter or longer than the default width, we can use excel column auto width option.

For example, consider the below table showing text string, ‘Column Width’.

Excel Column Auto Width Intro.jpg

As we can see, the text string is longer than the cell width. So, now to adjust the text string, we can simply double click on the right-end of the column.

We can see the column width is adjusted in Excel.

Excel Column Auto Width Intro - Output

Likewise, we can use excel column auto width.

  • Excel column auto width is a method used to automatically adjust the width of the column based on the length of the text string.
  • The shortcut keys to adjust width are ALT + H + O + I.
  • We should do a double click at the end of the right corner of the column.
  • To AutoFit the column width to the entire column, we need to select the whole column and perform the AutoFit activity. Otherwise, only the selected cells will be AutoFitted.

Default Column Width In Excel

When we open a new Excel workbook, it comes with default settings for column width and many other settings. So, to view the default width of the column, we must place a cursor on the end of the column and see a four-way arrow keys symbol.

Excel Column Auto width Example 1

When we move the arrow, we can see the default column width.

Excel Column Auto width Example 1-1

We have the default column width as 8.43 characters, equal to 64 pixels.

We can change this column width by dragging the column edge to the right by holding the left click of the mouse.

Excel Column Auto width Example 1-2

We can see in the above image when we are dragging the right corner of the column to the right side, column width changes. Like this, we can set the column width to our reference by dragging.

We can also select column width under the Excel “Home” tab. For example, our current active column is “A.”

Column Autofit Example 1-3

Under the “Home” tab, we must go to “Format” and click on the drop-down list in Excel to see many formatting options. From that, choose the “Column Width” option.

Column Autofit Example 1-4

Subsequently, this will open below the “Column Width” window showing the current column width.

Excel Column Auto width Example 1-5

Since the current column has the default width, it only shows the width as 8.43 characters. We can also open a column width setting by using the shortcut key ALT + H + O + W.

shortcut to open column width window

This shortcut key is used to open up the above “Column Width” window, and as per the character number, it will adjust the column width accordingly.

Column Autofit Example 1-6

We had given the width as 20. If we click on “OK,” it will adjust the column width to 20.

Column Autofit Example 1-7

The current column width is adjusted to 20 from the default 8.43.

Column Width Is Not Auto Adjusted To The Largest Value In The Column

When we type some data into the cell, that value is not necessarily within the default width of the column. When the cell value is more than the default character width, that cell’s respective column would not automatically change its width.

  1. For example, look at the below image.


    Column Autofit Example 1-8

    In cell A1 we have typed “Google Inc,” which is surely over the default column width.

  2. Since there is no value in cell B1, we can still see the full value of cell A1. But when we insert some other value into cell B1, we no longer see the full value of cell A1.


    Column Autofit Example 1-9

    We cannot see the full value of cell A1 and the same case with B1 as well this cell value too over the column width.

  3. Now, we need to adjust the column width to the cell value, so to auto-adjust the column width to the Excel cell value, place the cursor first on the right corner of column A.


    Column Autofit Example 1-10

  4. On seeing the four-way arrow key, double-click on the mouse to auto-adjust the Excel column width, equal to the highest lengthy value in the column.


    Column-Autofit-Example-1-11

    When we double-click on the column in the right corner, it has adjusted the column width, equal to the value in cell A1 which is 9.57 characters.

  5. Similarly, we can do the same thing for column B.


    Column-Autofit-Example-1-12

    The column B auto width is adjusted to 12.43.

AutoFit Column Width Using Excel Shortcut Key

We can also autofit column width using excel shortcut key ALT + O + C + A.

Shortcut to Autofit Column Width

For example, look at the below data.

Column Autofit Example 2

As shown above, we have three values in three cells. First, place a cursor on the A2 cell.

Column Autofit Example 2-1

Now press the shortcut key ALT + O + C + A.

Column Autofit Example 2-2

As seen above, upon pressing the Excel shortcut key, it has auto-adjusted the column width to fit the A2 cell value only. Unfortunately, the A3 cell value is still not adjusted to the column width, so we need to select the whole column and press the shortcut key to impact the entire column.

Column Autofit Example 2-3

Now, press the shortcut key ALT + O + C + A.

Column Autofit Example 2-4

So, the entire column will be adjusted, equal to the highest value in the column.

Important Things To Note

  • Excel column auto width option is used to adjust the width of the column in Excel.
  • We can simply click on the right end of the column.
  • The shortcut keys are Alt + H + O + I.

Frequently Asked Questions

1. What is the use of Excel column auto width option?

Excel column auto width option, as the name suggests, helps users adjust the width of the column based on the given text string.

2. Explain how to use excel column auto width option with an example.

Consider the below table showing text string, ‘Attendance’.

FAQ 2.jpg

As we can see, the text string is longer than the cell width. So, now to adjust the text string, we can simply double click on the right-end of the column.

We can see the column width is adjusted in Excel.

FAQ -1

Likewise, we can use excel column auto width.

3. What is the shortcut to adjust column width in Excel?

The shortcut to adjust column width in Excel is Alt + H + O + I.