How to Autofit in Excel: A Step-by-Step Guide to Perfect Cell Sizing

How to Autofit in Excel

Autofitting in Excel is a handy feature that adjusts the width of your columns and the height of your rows to fit the contents perfectly. This means no more cut-off text or wasted space! You can quickly make your data look neat and organized. Here’s how to do it: select the columns or rows you want to adjust, then use the Autofit feature to make everything fit perfectly.

How to Autofit in Excel

Autofitting in Excel ensures your data is displayed clearly and without any cut-off text. Follow these steps to make your spreadsheet look professional and tidy.

Step 1: Select the Columns or Rows

Click and drag your mouse over the columns or rows you want to autofit. You can also click the letter or number of a single column or row.

Selecting the columns or rows is your first step. Make sure you highlight only the parts you want to adjust. This ensures the rest of your spreadsheet remains unchanged.

Step 2: Use the Home Tab

Go to the Home tab on the Excel ribbon at the top of your screen.

The Home tab contains many useful tools. You’ll find options for formatting, style, and, most importantly, the Autofit feature here.

Step 3: Click on Format

Look for the Format button in the Cells group and click it.

The Format button opens a dropdown menu with various options. Here, you’ll find the Autofit commands.

Step 4: Choose Autofit Column Width

Select "Autofit Column Width" from the dropdown menu.

Choosing this option will automatically adjust the width of your selected columns to fit the longest piece of text in each column.

Step 5: Choose Autofit Row Height

Select "Autofit Row Height" from the same dropdown menu.

This option will adjust the height of the selected rows to fit the tallest piece of content in each row.

After completing these steps, your columns and rows will adjust to fit your data perfectly. No more cut-off text or excessive blank space!

Tips for Autofitting in Excel

  • Use shortcuts: Double-click the border of a column or row header to autofit quickly.
  • Bulk autofit: Select multiple columns or rows before using the Autofit feature to save time.
  • Check data first: Ensure all your data is entered correctly before autofitting to avoid constant adjustments.
  • Combine with wrap text: Use the Wrap Text feature for cells with a lot of content to make sure everything is visible.
  • Keep it neat: Regularly autofit columns and rows as you add more data to maintain a clean and readable spreadsheet.

Frequently Asked Questions

What is autofit in Excel?

Autofit is a feature in Excel that automatically adjusts the width of columns and height of rows to fit the contents.

Can I autofit multiple columns at once?

Yes, you can select multiple columns and then use the Autofit feature to adjust them all at once.

Is there a shortcut for autofit?

Yes, you can double-click the border of a column or row header to autofit it instantly.

Will autofit affect my entire sheet?

No, autofit will only adjust the columns or rows you have selected.

Can I undo autofit?

Yes, you can use the Undo button or press Ctrl + Z to revert the changes.


  1. Select the columns or rows.
  2. Go to the Home tab.
  3. Click on Format.
  4. Choose Autofit Column Width.
  5. Choose Autofit Row Height.


Mastering the autofit feature in Excel can significantly improve your productivity and the appearance of your spreadsheets. By following these simple steps, you can ensure that all your data is visible and neatly organized. Remember to use the tips provided to make your experience smoother and more efficient. If you have further questions, refer back to our FAQs or consider exploring more advanced Excel tutorials. So, give it a try and see the difference it makes in your next spreadsheet project!

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy