How to change row height in Excel

You can adjust how tall a row is in Excel by dragging the border between row numbers on the left side of your spreadsheet, or by right-clicking and entering a specific height. The most common reason to do this is to fit text that wraps across multiple lines, or to add space between sections of data so the sheet is easier to read.

Excel has a default row height of about 15 points (roughly one-fifth of an inch on screen). When you type text that is too long for the column width, the text either spills into the next cell or gets cut off — changing the row height does not fix that problem, but it does let you see wrapped text that you have already formatted to break into multiple lines.

Key Takeaways

  • The fastest way to adjust row height is to position your cursor on the border between two row numbers until it becomes a resize arrow, then drag up or down.
  • You can make a row fit its content automatically by double-clicking the border between row numbers, which saves you from guessing the right height.
  • Right-clicking a row number and selecting "Row Height" lets you enter an exact measurement in points if you need precise control.
  • Selecting multiple rows at once and adjusting one of them changes all selected rows to the same height.
  • The "Format" menu offers an "Optimal Height" option that automatically sizes rows to fit their content.

Dragging the row border to resize

This is the quickest method for most people. Look at the row numbers on the left side of your spreadsheet — they are the gray boxes that say 1, 2, 3, and so on. Position your cursor directly on the line between two row numbers until the cursor changes to a double-headed arrow pointing up and down.

Once the cursor changes shape, click and drag upward to make the row shorter, or downward to make it taller. Release the mouse button when the row reaches the height you want. If you are adjusting multiple rows, you can select them first by clicking one row number, holding Shift, and clicking another row number, then drag any border between the selected rows to resize them all at once.

Auto-fitting row height to content

If you have text that wraps across multiple lines and you want the row to be just tall enough to show all of it, double-click the border between the row numbers instead of dragging. Excel will automatically measure the content and set the row height to fit.

This works best when you have already formatted your cells to wrap text. To wrap text in Excel, select the cells you want to wrap, then go to the Home tab, click the "Wrap Text" button in the Alignment group, and click it again. Now when you double-click the row border, Excel knows to measure the wrapped text and size the row accordingly.

Setting an exact row height with the right-click menu

If you need a specific measurement — for example, exactly 30 points or 0.5 inches — right-click on the row number you want to adjust. A menu will appear with several options. Click "Row Height" and a small dialog box will open.

Type the number you want in the box. Excel measures row height in points by default (72 points equals one inch), but you can also type a measurement in inches by adding the inch symbol after the number, like 0.5". Click OK and the row will resize to that exact height. If you have multiple rows selected, this will set all of them to the same height.

Using the Format menu for automatic sizing

The Format menu at the top of Excel offers another way to resize rows. Select the row or rows you want to adjust, then click the Format menu, hover over "Row," and you will see several options including "Optimal Height."

Click "Optimal Height" and Excel will automatically measure the content in those rows and set each one to the minimum height needed to display everything. This is the same result as double-clicking the row border, but it works if you have multiple non-adjacent rows selected (rows that are not next to each other). A dialog box may appear asking if you want to add extra space — you can usually just click OK to accept the default.

Resetting rows to default height

If you have adjusted a row and want to put it back to Excel's standard height, right-click the row number and select "Row Height" again. Type 15 (the default) and click OK. Alternatively, you can right-click and look for a "Standard Height" option, which will reset the row to its default size immediately without opening a dialog.

If you have adjusted many rows and want to reset them all at once, select all cells by clicking the box in the top-left corner where the row numbers and column letters meet, then use the Format menu and choose "Standard Height." This will reset every row in the sheet to the default.

Common mistakes when adjusting row height

The most common mistake is confusing row height with column width. Dragging the border between row numbers changes how tall the row is. Dragging the border between column letters (A, B, C, and so on) changes how wide the column is. If your text is cut off on the right side, you need to widen the column, not make the row taller.

Another mistake is adjusting row height when the real problem is that text is not set to wrap. If you have long text in a cell and you make the row very tall, the text will still sit on one line and leave empty space below it. Before you adjust row height, make sure the cells have "Wrap Text" turned on so the text actually breaks into multiple lines.

Frequently Asked Questions

Can I make different rows different heights at the same time?

Yes, but only if the rows are next to each other. Select the rows by clicking the first row number, holding Shift, and clicking the last row number in the group. Then drag the border between any two of the selected rows, and all of them will resize together. If the rows are not adjacent, you will need to adjust them one at a time or in separate groups.

What if I drag the row border and nothing happens?

Make sure your cursor has changed to the resize arrow (double-headed arrow pointing up and down) before you drag. If the cursor looks like a regular pointer, you are not on the border between rows. Move your cursor slightly up or down until you see the resize arrow appear, then try dragging again.

Does adjusting row height affect the printed size of my spreadsheet?

Yes. When you print your spreadsheet, the rows will print at the same height you set them to on screen. If you make rows very tall, your printed sheet will have fewer rows per page. You can adjust this in the Print Preview before you print, or by changing the zoom level under Page Layout settings.

How do I make all rows in my spreadsheet the same height?

Select all cells by clicking the box in the top-left corner where the row numbers and column letters meet. Then right-click any row number and select "Row Height," type the height you want, and click OK. Every row in the sheet will be set to that height.

Can I undo a row height change?

Yes. Press Ctrl+Z (or Cmd+Z on Mac) immediately after you adjust the row height, and Excel will undo the change. If you have made other changes since then, you can still undo, but it will undo those changes too.