Start Free Course

AutoFit in Excel

Written by ExcelMojo Editorial Team ExcelMojo Editorial Team ExcelMojo editorial profile and article credentials. Full Bio
Reviewed by Dheeraj Vaidya, CFA, FRM Dheeraj Vaidya, CFA, FRM Reviewed for accuracy, clarity, and editorial standards. Full Bio
Updated Apr 22, 2026
Read Time 8 min

What Is AutoFit In Excel?

The AutoFit in Excel is a feature that resizes the cell’s size according to the size of the values in the cells. The AutoFit feature adjusts the row’s height and the column’s width. This function helps the alignment of the data automatically with just a click. For instance, the below table lists quotations quoted by personalities in column A. We should use the following steps to understand how AutoFit in excel works.

Frequently Asked Questions (FAQs)

What does AutoFit mean in Excel?

AutoFit in Excel is a feature that formats the cell’s width and height based on numerical or alphabetic data present in the cells.

The long strings in rows and columns can be altered using the options,

1. AutoFit Column Width
2. AutoFit Row Height

For example, consider the following table listing the Seven Wonders of the World in column A. We need to use the following steps to understand how AutoFit in excel works.

FAQ 1

The steps used to enable AutoFit in excel are as follows:
 
Step 1: Add the data to the excel sheet.

Step 2: Drag the mouse pointer at the end of column A’s header.

Step 3: A double-headed arrow appears between two adjacent column headers.
Double click on the double-headed arrow.

 FAQ 1.1

The cells in column A are resized based on the text string lengths in the cells.

FAQ 1.2

Therefore, we can automatically adjust the cell’s height and width using AutoFit in excel.

How to AutoFit in Excel?

We can rescale the cell size with AutoFit in excel using five methods. They are:

1. AutoFit Using Double Click On The Mouse
2. AutoFit Using The Select And Drop Option
3. AutoFit Using A Menu With Few Tabs
4. AutoFit Using AutoFit Row Height Button
5. AutoFit Using The Wrap Text Button

Where is AutoFit in Excel?

We can enable AutoFit in Excel from the excel ribbon:

1. Select the cells with values.
2. Go to the Home tab.
3. Click on the Format option from the Cells group.
4. Choose AutoFit Row Height or AutoFit Column Width options as required.

FAQ 2

Alternatively, we can use the shortcut key for AutoFit in excel (Ctrl + H + O + I and Ctrl + H + O + A for columns and rows respectively)

Download Template

📥Download the ready-to-use Excel template to practice this tutorial yourself.

Download Excel Template

This has been a guide to AutoFit in Excel. Here we learn how to autofit rows and columns in excel using top 5 methods with examples & template. You can learn more from the following articles –