How to Auto Adjust Row Height in Excel: A Step-by-Step Guide

how to auto adjust row height in excel

If you’ve ever struggled with messy, misaligned data in your Excel spreadsheet, auto-adjusting row heights might be your new best friend. This easy-to-follow guide will show you how to quickly make your rows fit the content perfectly, ensuring your documents look neat and professional.

Step-by-Step Tutorial on How to Auto Adjust Row Height in Excel

In this section, we’ll walk you through each step to auto adjust row height in Excel, making your data look clean and organized.

Step 1: Select the Rows

First, you need to highlight the rows you want to adjust.

Click and drag over the row numbers on the left side of your spreadsheet to select multiple rows. You can also click the number of a single row to select just that one.

Step 2: Go to the Home Tab

Next, navigate to the "Home" tab in the Excel ribbon at the top of your screen.

The "Home" tab is where you’ll find most of the basic formatting options, including the tool you need for adjusting row heights.

Step 3: Find the Format Button

Within the "Home" tab, locate the "Format" button.

The "Format" button is usually found in the "Cells" group, which is on the right side of the ribbon. Clicking this button will show a dropdown menu with various cell formatting options.

Step 4: Click AutoFit Row Height

From the dropdown menu, select "AutoFit Row Height."

This command tells Excel to automatically adjust the height of the selected rows so that all the content fits perfectly within each cell.

Step 5: Check Your Rows

Last, check your rows to make sure they’re adjusted to your liking.

If the rows still aren’t quite right, you might need to adjust them manually or check for any hidden content that may be affecting the row height.

Once you’ve completed these steps, your rows will automatically adjust to fit the content, making your spreadsheet look much cleaner and more professional.

Tips for How to Auto Adjust Row Height in Excel

  • Select All Rows: If you need to adjust all rows in your spreadsheet, click the select-all button at the top-left corner of your worksheet.
  • Shortcut Key: Use Alt + H + O + A as a keyboard shortcut for even quicker access to the AutoFit Row Height function.
  • Merge Cells: Be cautious with merged cells, as they can sometimes cause issues with auto-adjusting row heights.
  • Content Overflow: Ensure there are no hidden characters or extra spaces that might distort the row height.
  • Consistent Font Size: Using a uniform font size throughout your spreadsheet can make auto-adjusting row heights more predictable and effective.

Frequently Asked Questions about How to Auto Adjust Row Height in Excel

What if the row height still isn’t correct after autofitting?

Sometimes, hidden content or merged cells can prevent proper autofitting. Check for these issues and clear or adjust them as needed.

Can I manually adjust row heights if autofit doesn’t work?

Absolutely! You can click and drag the bottom border of a row number to manually adjust its height.

What happens if I add more content after autofitting?

If you add more content later, you’ll need to repeat the autofit process to adjust the row height again.

Is there a way to auto adjust row height for multiple sheets?

Yes, you can select multiple sheet tabs at the bottom of Excel by holding Ctrl and clicking each tab. Then, follow the same steps to autofit row heights across all selected sheets.

Does autofit work with all versions of Excel?

Yes, the autofit feature is available in all recent versions of Excel, including Excel 2010, 2013, 2016, 2019, and Office 365.


  1. Select the rows.
  2. Go to the Home tab.
  3. Find the Format button.
  4. Click AutoFit Row Height.
  5. Check your rows.


Auto-adjusting row height in Excel is a simple but powerful way to make your spreadsheets more readable and professional. By following the steps outlined above, you can ensure that all your data fits neatly within each row, saving you time and hassle. Remember to check for hidden content or merged cells if the autofit feature doesn’t work as expected.

For those who work with large datasets or collaborate with others, learning these Excel skills can be a game changer. It’s a small tweak that can make a big difference in how your information is presented and understood.

So, go ahead and give it a try! Your future self, and anyone else who views your spreadsheets, will thank you.

Get Our Free Newsletter

How-to guides and tech deals

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